confusion with gparted

François Patte francois.patte at mi.parisdescartes.fr
Mon Aug 22 20:38:58 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 22/08/2011 03:25, suvayu ali a écrit :
> On Fri, Aug 19, 2011 at 11:22 PM, charles zeitler <cfzeitler at gmail.com> wrote:
>>> I have an external usb HD (500Go) which I partionned (with fdisk) like this:
>>>
>>> /dev/sdx1 ~20Go: ntfs
>>> /dev/sdx2 rest of disk: ext3
>>>
>>> If I use df -h, I get:
>>>
>>> /dev/sdb2             439G   44G  374G  11% /media/linux
>>> /dev/sdb1              21G   66M   20G   1% /media/ntfs
>>>
>>> (today x=b!) the total 439+21= 460 so missing 40Go
>>> François Patte
>>>
>>
>> harddrive manufactureres use 1KB = 1000 bytes,
>> fdisk & df use  1KB = 1024 bytes.
>>
> 
> As Charles mentions, the hardware manufacturers (powers of 10) and
> software programmers (powers of 2^10) prefer different units. With the
> above recipe, you will find 500 GB (gigabyte 10^9 bytes) is
> approximately equivalent to 465 GiB (gibibyte 2^10^3 bytes).

OK for this point. But the remaining problem is: why gparted does not
see the partitions?

fdisk and df can see roughly 2 partitions 20Go+480Go and gparted sees
that mostly this disk has non-allocated space while the linux partition
had 44Go of data on it...?


Moreover, I tried to extend the small ext4  partition (2.84Mio according
to gparted) to the next "non-allocated" space (465,45 Gio).

gparted warned me that all my data will be lost... OK, I launch the
dog.... It ran for 2 hours.... I stopped it and... nothing was done.
even my data were not lost!

Is gparted working?

Thanks for answering.

- -- 
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 4286 2145
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk5SvmIACgkQdE6C2dhV2JVRmgCePjUoUGmGrJ9VMGRuggPZFs7M
/a4AnjeN9nFa89Z6Ayj9c09Y0p9+I3e+
=d5Vi
-----END PGP SIGNATURE-----


More information about the users mailing list