Resizing ntfs partition

Byron Clark byron at theclarkfamily.name
Thu Mar 1 20:30:24 MST 2007


On Thu, Mar 01, 2007 at 07:41:15PM -0700, Lars Rasmussen wrote:
> With my handy dandy 160GB external drive attached via USB, I backed up
> the MBR using dd & then backed up /dev/cciss/c0d0p1 to the USB drive
> with partimage.
> 
> Afterward I ran:
> ntfsresize --no-action --size 40GB /dev/cciss/c0d0p1
> 
> Testing info looked good, next is for real:
> ntfsresize --size 40GB /dev/cciss/c0d0p1
> 
> ntfsresize appeared to make quick work of resizing the original
> partition, and I rebooted into W2K3, which promptly ran chkdsk as
> expected.  The problem came when viewing the drive in Windows.  The
> (C:) drive appeared to return contradictory info.  (C:) was now a 40GB
> drive, with a small portion used.  Sounds good so far.  When I viewed
> the drive with Disk Manager, there was no free space on the physical
> drive.  There should have been ~69GB unallocated, but it just wasn't
> there.
> 
> Any ideas on what I should have done differently?

You may want to try to use ntfsclone for the backup instead of
partimage.  partimage only has experimental support for ntfs.

The other problem is that even after using ntfsresize, you'll still have
to use fdisk to change the size of the partition in the partition table.

--
Byron Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20070301/23c18b7f/attachment.bin 


More information about the PLUG mailing list