1

Topic: SOLVED - ERROR: Current NTFS volume is bigger than the device size

Ran into the issue when trying to shrink /dev/sda5 from ~127GB to ~110GB with the round to cylinders box checked.  This partition is not the boot partition.  I can boot into Windows Server 2003, but the D: partition of course does not show as formatted with NTFS.  Please advise.


Here is the initial information requested:

Problem occurs on /dev/sda5
GParted Live USB v. 0.5.0.3

------------------------
Output of fisk -l -u:
------------------------


Disk /dev/sda: 146.5 GB, 146548981760 bytes
255 heads, 63 sectors/track, 17816 cylinders, total 286228480 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000080

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      128519       64228+  de  Dell Utility
/dev/sda2   *      128520    25302374    12586927+   7  HPFS/NTFS
/dev/sda3        25302375   286214039   130455832+   f  W95 Ext'd (LBA)
/dev/sda5        25302438   250212374   112454968+   7  HPFS/NTFS

Disk /dev/sdb: 1027 MB, 1027416576 bytes
255 heads, 63 sectors/track, 124 cylinders, total 2006673 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x7213cd00

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63     1992059      995998+   6  FAT16

Disk /dev/sdc: 256 MB, 256900608 bytes
16 heads, 32 sectors/track, 979 cylinders, total 501759 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x92bbd852

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              99      501247      250574+   6  FAT16

-------------------------------------------------
Output of parted /dev/sda unit s print:
-------------------------------------------------

Model: MegaRAID LD0 RAID5 39760R (scsi)
Disk /dev/sda: 286228480s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start      End         Size        Type      File system  Flags
1      63s        128519s     128457s     primary   fat16
2      128520s    25302374s   25173855s   primary   ntfs         boot
3      25302375s  286214039s  260911665s  extended               lba
5      25302438s  250212374s  224909937s  logical   ntfs

-----------------
End of output
-----------------

2

Re: SOLVED - ERROR: Current NTFS volume is bigger than the device size

We will need copies of the Master Boot Record and the NTFS Partition Boot Record.

You can capture the Master Boot Record in a file with the following command:

NOTE:  Be extra careful to type this command in properly, otherwise loss of data could result.

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

where sda-dwrice0.mbr is the name of the file that will need to be uploaded.


You can capture the NTFS Partition Boot Record in a file with the following command:

NOTE:  Be extra careful to type this command in properly, otherwise loss of data could result.

dd if=/dev/sda of=sda5-dwrice0.pbr bs=512 count=1 skip=25302438

where sda5-dwrice0.pbr is the name of the file that will need to be uploaded.


Then upload these files to a media sharing site, such as mediafire, and post the link to these files in this forum post.

3

Re: SOLVED - ERROR: Current NTFS volume is bigger than the device size

gedakc wrote:

We will need copies of the Master Boot Record and the NTFS Partition Boot Record.

You can capture the Master Boot Record in a file with the following command:

NOTE:  Be extra careful to type this command in properly, otherwise loss of data could result.

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

where sda-dwrice0.mbr is the name of the file that will need to be uploaded.


You can capture the NTFS Partition Boot Record in a file with the following command:

NOTE:  Be extra careful to type this command in properly, otherwise loss of data could result.

dd if=/dev/sda of=sda5-dwrice0.pbr bs=512 count=1 skip=25302438

where sda5-dwrice0.pbr is the name of the file that will need to be uploaded.


Then upload these files to a media sharing site, such as mediafire, and post the link to these files in this forum post.

Thanks for replying.  I had to get the server up and running.  So, I restored from a backup of the partition I took immediately before I used GParted.

4

Re: SOLVED - ERROR: Current NTFS volume is bigger than the device size

Thanks for reporting back dwrice0.

There is nothing quite like the comfort of knowing that you can restore from a good backup.  :-)

I will edit the initial post to prefix the title with SOLVED.