Topic: [SOLVED] Got bitten by NTFS resize bug
Installed ubuntu 9.10, with settings that should have automatically installed it with Vista. Both systems works fine, but other NTFS partition, that is sda3, is messed up.
kyppo@kyppokone:~$ sudo fdisk -lu
Levy /dev/sda: 250.1 Gt, 250059350016 tavua
255 päätä, 63 sektoria/ura, 30401 sylinteriä, yhteensä 488397168 sektoria
Yksiköt = 1 * 512 = 512 -tavuiset sektorit
Levyn tunniste: 0xafe00929
Laite Käynn Alku Loppu Lohkot Id Järjestelmä
/dev/sda1 2048 18434047 9216000 27 Tuntematon
/dev/sda2 * 18434048 215900159 98733056 7 HPFS/NTFS
/dev/sda3 215900160 352675259 68387550 7 HPFS/NTFS
/dev/sda4 352691010 488392064 67850527+ 5 Laajennettu
/dev/sda5 352691073 482769314 65039121 83 Linux
/dev/sda6 482769378 488392064 2811343+ 82 Linux-sivutus / Solaris
kyppo@kyppokone:~$ sudo parted /dev/sda unit s print
Model: ATA WDC WD2500BEVS-2 (scsi)
Disk /dev/sda: 488397168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 2048s 18434047s 18432000s primary ntfs
2 18434048s 215900159s 197466112s primary ntfs boot
3 215900160s 352675259s 136775100s primary ntfs
4 352691010s 488392064s 135701055s extended
5 352691073s 482769314s 130078242s logical ext3
6 482769378s 488392064s 5622687s logical linux-swap(v1)
And here is the ntfsresize output, which tells me volume size is too big.
kyppo@kyppokone:~$ sudo ntfsresize -if /dev/sda3
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/sda3
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 139517415936 bytes (139518 MB)
Current device size: 70028851200 bytes (70029 MB)
ERROR: Current NTFS volume size is bigger than the device size!
Corrupt partition table or incorrect device partitioning?