strange problem with gparted.

Joep L. Blom jlblom at neuroweave.nl
Tue Feb 8 14:21:59 UTC 2011


On 08/02/11 14:23, Rashkae wrote:
> On 11-02-08 06:58 AM, Joep L. Blom wrote:
>> I have a strange problem with gparted. fdisk tells me: Disk
>> /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63
>> sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 =
>> 8225280 bytes Sector size (logical/physical): 512 bytes / 512
>> bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk
>> identifier: 0xb419b419
>>
>> Device Boot Start End Blocks Id System /dev/sda1 * 1 6374 51199123+
>> 83 Linux /dev/sda2 6375 121601 925560877+ 5 Extended /dev/sda5 6375
>> 32224 207640093+ 83 Linux /dev/sda6 32225 33244 8193150 82 Linux
>> swap / Solaris /dev/sda7 33245 46299 104864256 83 Linux
>>
>> Well this looks normal. However gparted tells me: /dev/sda (931,52
>> GiB) Partition File system Size Unallocated unallocated 931,5
>>
>> I don't understand that. Is that a bug in gparted? OS Ubuntu Lucid
>> Linux Laguna-new 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24
>> 10:14:11 UTC 2010 x86_64 GNU/Linux. Somebody has a clue? Joep
>>
>>
> If there is such a disastrous bug in gparted, it's certainly one I've
>  never heard of before. I would suggest, just to start, that you try
>  running sudo gparted from the command line to see if there are any
> strange error messages to the console output. I would then follow
> that up with dmesg to see if there were any errors reported by the
> kernel while gparted was running (such as a an IO failure on
> /dev/sda, which might be caused by a bad sector somewhere that
> gparted scans)
>

Rashkae,
Thanks for your speedy reply.
I did what you asked but the only "error" I got was:
joep at Laguna-new:~/Utube/utubeqt$ sudo gparted
======================
libparted : 2.2
======================
Unable to satisfy all constraints on the partition

and dmesg gave no error. It doen't look like an error but more that 
something in the disk layout is not known by gparted.
An external disk (dev/sdb), also of 1 Tb. is seen without a problem.
Both disks as Samsung and I have no problem whatsoever with them.
Joep





More information about the ubuntu-users mailing list