Topic: Strange usage values from gparted!
Hi people.
This is not really gparted's fault, but because gparted is reporting
incorrect values, I still think this is of value. Also, I hope some of
the knowledgeable people here can help me out:
A 5GB disk started failing and before (I hoped) disaster, I did a 'dd'
of each partition to a new (larger) disk. It went fairly well, but after
doing it I find strange results:
1) df reports the original sizes:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 2270080 1857408 295496 87% /
/dev/hda3 2365300 352328 1890880 16% /usr/local
2.27 + 2.36 + a swap partition is the original 5 GB drive. On this
one, there is 10 GB available, and the first partition is 4 GB (not 2.27).
2) fdisk reports correctly:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 479 3846260 83 Linux
/dev/hda2 488 498 88357+ 82 Linux swap
/dev/hda3 499 1245 6000277+ 83 Linux
3) parted also reports correctly:
Minor Start End Type Filesystem Flags
1 0.031 3756.144 primary ext3 boot
2 3820.144 3906.430 primary linux-swap
3 3906.431 9766.076 primary ext3
4) gparted reports the above (parted's) partitions, but seems to
_scale_ the usage of 'df' and reports:
3.27 GB used of 3.67 GB on hda1
3.80 GB used of 5.72 GB on hda3
This simple can't be - 3.27 + 3.80 is larger than the original disk
where I copied from!
What did I do wrong, and can I fix this? and why is gparted reporting
these values?
Thanks in advance!
Johncc