Viewed 3k times. I like to create a LVM device where physical volumes are loopback devices. How could I accomplish this? Improve this question. Antonio Petricca Antonio Petricca 4 4 silver badges 14 14 bronze badges. Further I should know if there is a way to implement the losetup command by the fstab setup, as stated in my post. This is actually answered on another SE site: superuser. Add a comment.
Active Oldest Votes. Improve this answer. Any idea why? Please, post here the complete command you issued. You probably don't need the latter unit file if you use fstab fsck column, like in e.
If only the loopdev argument is given, the status of the corresponding loop device is shown. There are two mechanisms to specify the desired encryption: by number and by name.
If an encryption is specified by number, then one has to make sure the Linux kernel knows about the encryption with that number, probably by patching the kernel. Standard numbers that are always present are 0 no encryption and 1 XOR encryption.
When the cryptoloop module is loaded or compiled in , it uses number This cryptoloop module takes the name of an arbitrary encryption type and finds the module that knows how to perform that encryption. When losetup displays the status of a loop device, it returns 1 if the device is not configured, and 2 if an error occurred that prevented losetup from determining the status of the device.
DES encryption is painfully slow. After re-creating the loop device from loopfile , the parted print report still shows me the partitions albeit with lost information on type , but these partitions no longer appear on the lsblk or the blkid reports.
I was wondering if there was a way of making my set up persistant. I am on Debian 8, in case this matters. What this does is tell the kernel to perform a partition table scan of the newly added file. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Having losetup read the partition table [closed] Ask Question. Asked 5 years, 8 months ago.
Active 5 years, 8 months ago.
0コメント