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

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

 



On 10/27/13 19:05, metageek wrote:
Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes
...
cryptsetup -v status pjhomecrypt
/dev/mapper/pjhomecrypt is active.
   size:    3752880 sectors
...
mkfs.ext4 /dev/mapper/pjhomecrypt
Block size=4096 (log=2)
117360 inodes, 469110 blocks
...

df -Th /mnt
Filesystem              Type  Size  Used Avail Use% Mounted on
/dev/mapper/pjhomecrypt ext4  1.8G  2.7M  1.7G   1% /mnt

So I only have 1.8Gb out of the 1Tb drive.

What's the block count if you run:

	dd if=/dev/zero of=/dev/sdb bs=1GB


It should be ~1000.


David
_______________________________________________
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