PV size is reported as 50GB but is physically 54GB

Tony Arnold tony.arnold at manchester.ac.uk
Fri Sep 1 13:06:00 UTC 2006


On Fri, 2006-09-01 at 19:46 +0100, Gabriel M Dragffy wrote:

> I have a partition /dev/hds3 that is set as a physical volume for my
> LVM, a disc partitioning program will report the partition as being 54G,
> however the LVM says it is 50G, why would this be so?

Is this a case of different utilities having different interpreting sof
much a gigabyte is?

Disk manufacturers always quote their disk sizes in 1000s. I.e., a disk
manufacturer will mean 50,000,000,000 when they say 50GB. Everyone else,
treats 1K as 1024, so 50 GB would be 50*1024*1024*1024 which is
approximately 53.6*10^9. This may be rounded to 54GB.

Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold

More information about the ubuntu-users mailing list