1 (edited by mdrissel 2009-12-28 23:34:54)

Topic: [SOLVED]NTFS Partition size problem

I tried to extend my 40GB NTFS partition to 80GB using GParted Live 0.4.6-3. In Windows, Disk Manager says in the top window the partition is 37.26GB while the bottom window shows the disk has one 74.53GB partition. I'm running Windows Server 2003. The system boots seems to run fine except for the missing 40GB of disk.

>fdisk -l -u

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xccaeccae

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   156296384    78148161    7  HPFS/NTFS

>parted /dev/sda unit s print

Model: ATA Hitachi HTS72108 (scsi)
Disk /dev/sda: 156301488s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number  Start  End         Size        Type     File system  Flags
 1      63s    156296384s  156296322s  primary  ntfs         boot 

Any help would be greatly appreciated.

--Mark

2

Re: [SOLVED]NTFS Partition size problem

MBR:

dd if=/dev/sda of=sda-mdrissel.mbr bs=512 count=1

http://www.mediafire.com/?jwzzhjh5mxy

PBR:

dd if=/dev/sda of=sda1-mdrissel.pbr bs=512 count=1 skip=63

http://www.mediafire.com/?ngntk2g1jzx

3

Re: [SOLVED]NTFS Partition size problem

I guess that is a rather old issue, that happens sometimes with all resizing programs: the partition size changed in the partition table but the filesystem remained the same. So, the first table shows the file system size and the graph shows the partition size.

A usual manner to solve this problem is to resize the partition back to the original size and repeat the resizing operation. You could use the version 0.4.6-1 of the livecd, that is the actual stable version (0.4.6-3 was a testing version).

I don't think your problem is related to the lately discovered problem, because that gives the following error message

ERROR: Current NTFS volume size is bigger than the device size!

(moved to the Live Media section)

*** It is highly recommended to backup any important files before doing resize/move operations. ***

4

Re: [SOLVED]NTFS Partition size problem

class413 wrote:

I guess that is a rather old issue, that happens sometimes with all resizing programs: the partition size changed in the partition table but the filesystem remained the same. So, the first table shows the file system size and the graph shows the partition size.

A usual manner to solve this problem is to resize the partition back to the original size and repeat the resizing operation. You could use the version 0.4.6-1 of the livecd, that is the actual stable version (0.4.6-3 was a testing version).

I don't think your problem is related to the lately discovered problem, because that gives the following error message

ERROR: Current NTFS volume size is bigger than the device size!

(moved to the Live Media section)

I resized the partition back to the original size and then to the new size with 0.4.6-1. Everything is sized correctly with no errors. Thank you very much.

5

Re: [SOLVED]NTFS Partition size problem

Very well!  smile

If the problem is solved, you can edit your first post to add [SOLVED] in the title of the thread.

*** It is highly recommended to backup any important files before doing resize/move operations. ***