Re: cryptsetup creates 1.8 Gb when it should be 1Tb

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

 



On 28.10.2013 3:05, metageek wrote:
...

Then I went on to create the LUKS encryption:

cryptsetup luksFormat /dev/sdb1

then open it:

cryptsetup luksOpen /dev/sdb1 pjhomecrypt

now using status to see its properties:

cryptsetup -v status pjhomecrypt
/dev/mapper/pjhomecrypt is active.
   type:    LUKS1
   cipher:  aes-cbc-essiv:sha256
   keysize: 256 bits

   device:  /dev/loop0
   loop:    /dev/sdb1

^^^^ Why it is mapped through loop device?

Ensure that /dev/sdb1 is BLOCK device.

It seems to me that it is in fact just file created by mistake in /dev ...
(Then limited by tmpfs size to half of memory or so and explains strange size.)

Also use lsblk to verify real kernel sizes
(sometimes kernel see old partition size)

Milan
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux