FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-19-2011, 04:31 PM
François Patte
 
Default confusion with gparted

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

Bonjour,

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

If I use gparted (I want to change my partionning), I get:

/dev/sdb1: ntfs /media/ntfs 1Kio
non-allocated: 319,66Mio
/dev/sdb2: ext4 /media/linux 2.84Mio
non-allocated: 465,45 Gio

I don't understand and I don't know what to do......

I want to split the linux partition in two parts but I cannot do
anything with these information....

Thanks for some lights.

- --
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/

iEYEARECAAYFAk5Oj8oACgkQdE6C2dhV2JXu7ACgw2ikhF77rY lmqtud8eESUSUj
NekAn020Z01fGTjd2gMyPkIcViKadAtV
=pv98
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-19-2011, 09:22 PM
charles zeitler
 
Default confusion with gparted

Do what thou wilt
shall be the whole of the Law.


On Fri, Aug 19, 2011 at 11:31 AM, François Patte
<francois.patte@mi.parisdescartes.fr> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bonjour,
>
> 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
>


to add to your confusion ;>) ;

harddrive manufactureres use 1KB = 1000 bytes,
fdisk & df use 1KB = 1024 bytes.

charles zeitler


Love is the law, love under will.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-22-2011, 01:25 AM
suvayu ali
 
Default confusion with gparted

On Fri, Aug 19, 2011 at 11:22 PM, charles zeitler <cfzeitler@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).

Hope this helps.

--
Suvayu

Open source is the future. It sets us free.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-22-2011, 08:38 PM
François Patte
 
Default confusion with gparted

-----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@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/

iEYEARECAAYFAk5SvmIACgkQdE6C2dhV2JVRmgCePjUoUGmGrJ 9VMGRuggPZFs7M
/a4AnjeN9nFa89Z6Ayj9c09Y0p9+I3e+
=d5Vi
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-22-2011, 10:15 PM
suvayu ali
 
Default confusion with gparted

Hi François,

On Mon, Aug 22, 2011 at 10:38 PM, François Patte
<francois.patte@mi.parisdescartes.fr> wrote:
>
> 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?
>

I am not sure what could be wrong, but one (trivial) thing comes to
mind. Did you make sure the partitions were not mounted before you
started gparted? Also what version of Fedora are you using? Is it
F14/F15 or something much older?

> Thanks for answering.
>

I hope this helps somehow.

--
Suvayu

Open source is the future. It sets us free.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-23-2011, 04:09 AM
charles zeitler
 
Default confusion with gparted

Do what thou wilt
shall be the whole of the Law.


On Mon, Aug 22, 2011 at 3:38 PM, François Patte
<francois.patte@mi.parisdescartes.fr>
>
> 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...?
>




If I use gparted (I want to change my partionning), I get:

/dev/sdb1: ntfs /media/ntfs 1Kio
non-allocated: 319,66Mio
/dev/sdb2: ext4 /media/linux 2.84Mio
non-allocated: 465,45 Gio

here, my understanding is that gparted is
reporting 1Kio unallocated on /dev/sdb1,
and 319,66Mio allocated.

(i don't see that format from gparted)

>
> 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/
>

charles zeitler







Love is the law, love under will.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 06:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org