1 (edited by bigcitymike 2006-10-27 20:08:25)

Topic: server 2003 resize partition (Solved)

Ok total noob here just cutting my teeth on VMWare.  I expanded a 10GB VM to 60GB VM. The next step is to expand the partition. I used gparted-livecd-0.3.1-1.iso and expanded the partition.

A pic is worth a 1000 words.

http://i130.photobucket.com/albums/p273 … arted2.jpg

After using gparted, I expected the 10gb drive to grow to 60GBish. Which gparted shows.

But that's not what windows is reporting, well it is...Kinda

http://i130.photobucket.com/albums/p273 … parted.jpg

I ran a chkdsk and the results after ward are:

results:
The type of the file system is NTFS.

WARNING! F parameter not specified.
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
Index verification completed.
CHKDSK is verifying security descriptors (stage 3 of 3)...
Security descriptor verification completed.

10474348 KB total disk space.
4190496 KB in 14326 files.
4628 KB in 1581 indexes.
0 KB in bad sectors.
72604 KB in use by the system.
54432 KB occupied by the log file.
6206620 KB available on disk.

4096 bytes in each allocation unit.
2618587 total allocation units on disk.
1551655 allocation units available on disk.


Anyone see this mis mach of info that Disk Mgr is showing before?

2

Re: server 2003 resize partition (Solved)

After you resize a ntfs partition, you MUST reboot before accessing the ntfs partition !
You should have a look at the docs, i guess ...

NTFS partition specification

Resizing NTFS partition impose you to reboot the system !
DON'T DO any other operations on this partition before the reboot,
otherwise you will get errors. After the boot-up Windows logo,
the system will show a special screen, and a message
asking about drive consistency...

This comes from : http://gparted.sourceforge.net/larry/re … sizing.htm

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

3

Re: server 2003 resize partition (Solved)

Not sure I follow. Once gparted livecd had finished, one would shutdown or reboot anyway. So by default a reboot is done.

4

Re: server 2003 resize partition (Solved)

It also appears this has happend to users of other partitioning software. It may not be a gparted specific issue.

See:
http://groups.google.com/group/microsof … 27a79c01d5

And this M$ article:
http://support.microsoft.com/kb/832316

Looks like i may need to place a call..

5

Re: server 2003 resize partition (Solved)

Ok here is KB that touches the topic.

http://support.microsoft.com/kb/832316

I did not use the hotfix, but it got me thinking.

While reading the KB a note caught my eye, "Note The extend file system command is not currently documented in the Diskpart.exe Help file. "

By this time I had mounted the Server 2003 volume on a copy of vista I was running.  So in Vista I ran the following:

DISKPART> select volume 1

DISKPART> extend filesystem

DiskPart successfully extended the file system on the volume.

DISKPART> exit

Leaving DiskPart...

And BINGO it worked. I shut down vista, uncounted the volume and booted the VM of Server 2003 that I just tweaked in vista.

It now reports the correct file system size.