I was trying to create dm-crypt
target from a partition using the following command:
dmsetup create target_name --table "1 $DEV_SZ crypt aes-xts-plain64 abababab...ab 0 /dev/sdb1 0"
where $DEV_SZ
is the total sector count of /dev/sdb1
minus 1. In other words, I want the DM to just skip the first sector on /dev/sdb1
(as I want to use that sector of sdb1 for a different purpose).
However, I got error:
device-mapper: table: 253:0: crypt: Gap in table
device-mapper: ioctl: error adding target to table
Is it possible for the device mapper to skip the first sector, or it simply always has to start at 0?
Thanks
Lukas
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt