Re: Help request: setting up /dev/zero using dm-crypt ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/07/2018 09:50 AM, Ravi Prakash Putchala wrote:
Thank you, Milan. Will try these.

If you need experiment over a memory device, use either ramdisk, scsi_debug module to it.
Another alternative is to create dm-zero device and use plain dm-crypt (not LUKS).

create dm-zero device:  How do I do this? Sorry, I do not have much expertise in Linux.


E.g. 10TiB "zero" mapped device (pick your name instead of 'z'):

dmsetup create z --table "0 $((10*1024*1024*1024*2)) zero"

Block device node for this is:

 /dev/mapper/z


See dmsetup(8) and device-mapper target documentation in kernel source,
for instance Documentaion/device-mapper/zero.txt.

Heinz


Ravi


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux