I am seeing a discrepancy I cannot explain between the partitioning of one and the same disk and the view of the partition table given by GNU Parted and by qtparted. I am not sure whether this should be reported to this list or not, but here seems to be a good place to start.
The discrepancy is that after resizing the one and only partition's file-system on /dev/sdc using ntfsresize, and trying to movew the partition size to match is (using qtparted), parted-1.6.25.1 reports a different starting point and a different size for the partition. Now I must admit that looking back, I see that I resized the file-system by 40M when I meant to resize by 40G, which certainly does not help the situtation. But nevertheless, this error of mine does not explain the discrepancies. The discrepancies are: 1 - Parted reports that there is only one partition, /dev/sdc1, while qtparted reports sdc1 and sdc-1 (weird name). 2 - Parted reports that that sole partition starts at 32k and goes to 250G, while qtparted reports that sdc1 starts at 32k and has size 232.85G. Apparently qtparted really does mean 'Gigabytes' by 'G', since 232.85 = 244155838/(1024*1024), so that this matches up with what fdisk reports, which is: fdisk -l /dev/sdc (under Ubuntu) shows: Disk /dev/sdc: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 30396 244155838+ 7 HPFS/NTFS Now here is the exact output of Parted-1.6.25.1: using /dev/sdc (parted) print Disk geometry for /dev/sdc: 0kB - 250GB Disk label type: msdos Number Start End Size Type File system Flags 1 32kB 250GB 250GB primary ntfs (parted) Rather than list the entire output from qtparted, I will list the output from fdisk's 'x' menu, which looks just as detailed. I hope you find this helpful for understanding what is really going on on this disk: Disk /dev/sdc: 255 heads, 63 sectors, 30401 cylinders Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID 1 00 1 1 0 254 63 1023 63 488311677 07 2 00 0 0 0 0 0 0 0 0 00 3 00 0 0 0 0 0 0 0 0 00 4 00 0 0 0 0 0 0 0 0 00 And here is the output from the more commonly used fdisk option, 'fdisk -l': fdisk -l /dev/sdc (under Ubuntu) shows: Disk /dev/sdc: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 30396 244155838+ 7 HPFS/NTFS So please explain what parted has done here. Why is it not showing the partition qtparted calls 'sdc1-1'? And why do the sizes differ? I also tried 'parted unit s' followed by print, which yields: Using /dev/sdb (parted) print Disk geometry for /dev/sdb: 0kB - 250GB Disk label type: msdos Number Start End Size Type File system Flags 1 32kB 250GB 250GB primary ntfs (parted) unit s (parted) print Disk geometry for /dev/sdb: 0s - 488397167s Disk label type: msdos Number Start End Size Type File system Flags 1 63s 488311739s 488311677s primary ntfs (parted) So that the size now come out to 250,015,578,624 bytes. But this does not agree with the size reported by fdisk or that reported by qtparted. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted