[linux-lvm] Beginner Questions

Brian McCullough bdmc at bdmcc-us.com
Mon Nov 12 22:53:55 UTC 2007


On Mon, Nov 12, 2007 at 03:48:27PM -0700, Joseph L. Casale wrote:
> Pvs -v
>   /dev/sdb1  iSCSI_dvr  lvm2 a-   744.99G 744.99G 745.00G yQyVCe-tiS4-Ma1E-hilJ-niuG-KXL9-jkKVIk
>   /dev/sdc1  iSCSI_dvr  lvm2 a-     1.36T   1.36T   1.36T PURHhY-Lo1T-5bif-HjGP-dP3o-NVTs-71ZKUm
> 
> Still baffling me is that fdisk -l shows:
> Disk /dev/sdc: 1499.9 GB, 1499998453760 bytes
> 255 heads, 63 sectors/track, 182364 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdc1               1      182364  1464838798+  8e  Linux LVM
> 
> And 1499.9 GB = ~1.46 terabytes


This is an old, and easy, one to answer.  You will notice in your first
line of fdisk output, the 14xxx bytes value, which matches the "1499.9
GB" value just before it.

What you are seeing is the difference between GigaBytes that are made up
of 1000 * 1000 * 1000 and gigabytes that are made up of 1024 * 1024 *
1024 bytes.



Hope that helps,
Brian





More information about the linux-lvm mailing list