fdisk and lvs size differences

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

 



Let's say I have a 500GB logical volume:

# lvs | grep san2_data
  san2_data                  san1 -wi-a- 500.00G


fdisk will report a bigger number:

# fdisk -l /dev/san1/san2_data

Disk /dev/san1/san2_data: 536.8 GB, 536870912000 bytes



Now, if fdisk -l would report 100 GB for some partition/disk/volume, a volume of which size should I create with "lvcreate" when I want to copy data from that partition/disk/volume to a new logical volume?

I wouldn't like to waste several gigabytes of space (this would happen if I create a 100G volume with lvcreate), perhaps there is some magic formula?



--
Tomasz Chmielewski
http://wpkg.org


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux