| Author |
Topic  |
|
|
DennisMCSE
Moderator
    
Canada
2400 Posts
Status: offline |
Posted - 08/12/2011 : 1:59:24 PM
|
I have a VM with Windows XP SP3 and the C:\ drive is full. Can't remember how to expand the drive. Remember I used LiveCD last time and I had to attach the VM as a drive in another VM, or something like that, but can't remember how I did it.
|
DennisMCSE
Blog: http://itprofirewalker.wordpress.com/

Follow me on Twitter http://twitter.com/Firewalker96
|
|
|
cj_berlin
Honorable But Hopeless Addict
    
Germany
3964 Posts
Status: offline |
Posted - 08/12/2011 : 3:29:36 PM
|
| gparted |
Evgenij Smirnov
|
 |
|
|
JSCLMEDAVE
Administrator
    
USA
6113 Posts
Status: online |
Posted - 08/12/2011 : 3:36:39 PM
|
Dennis sent you a word doc EMC-Expanding a LUN.docx Just scroll past the LUN notes I have screen shots included.
|
Tim-
“This too shall pass" |
 |
|
|
DennisMCSE
Moderator
    
Canada
2400 Posts
Status: offline |
|
|
chamezzzz
Honorable But Hopeless Addict
    
United Kingdom
2297 Posts
Status: offline |
Posted - 08/13/2011 : 11:49:22 AM
|
You could also run VMWARE converter and resize the disk.
|
James |
 |
|
|
cj_berlin
Honorable But Hopeless Addict
    
Germany
3964 Posts
Status: offline |
Posted - 08/14/2011 : 08:27:01 AM
|
| That seems to be the VMWare way of doing it, but sadly enough, it didn't work every time I tried (or even anywhere close to that) so I've basically given up and resorted to live CD type of tools. |
Evgenij Smirnov
|
 |
|
|
chamezzzz
Honorable But Hopeless Addict
    
United Kingdom
2297 Posts
Status: offline |
Posted - 08/15/2011 : 06:18:01 AM
|
Yes, I have had problems with both Gparted and VMConverter. Good to have options 
What I am seeing at the moment, with VMConverter is that 2008 fails at 99%. However, you can still boot the machine, the error is just frustrating.
In my case, I have Syspreped a 2008 image and then I convert them depending on the disk size that is required for the new VM.
Each and every time VMConverter fails but the converted VM Still boots. |
James |
 |
|
|
Travan
Old Timer
  
443 Posts
Status: offline |
|
|
chamezzzz
Honorable But Hopeless Addict
    
United Kingdom
2297 Posts
Status: offline |
Posted - 08/17/2011 : 6:50:16 PM
|
Nice find, thanks for that share.
Off piste here but this Dell Compellent range looks really interesting. http://www.compellent.com/ Anyone used it? |
James |
 |
|
|
DennisMCSE
Moderator
    
Canada
2400 Posts
Status: offline |
Posted - 06/07/2012 : 3:31:09 PM
|
I have to document the steps for this as I seem to need to do it a lot, but keep forgetting how to do it. Is this correct (I'm expanding a W2K3 x64 VM)?
1) So to expand the hard drive, I Edit the setting of the VM to increase the size of the VM 2) Boot up the server and verify that the additional space shows as Unallocated in Disk Management 3) Reboot the server but boot to the GParted ISO 4) Expand the C: drive to fill the Unallocated space I added 5) Reboot into the OS again
Is that correct? Am I missing something?
|
DennisMCSE
Blog: http://itprofirewalker.wordpress.com/

Follow me on Twitter http://twitter.com/Firewalker96
|
 |
|
|
jaxdave
Honorable But Hopeless Addict
    
USA
2426 Posts
Status: offline |
Posted - 06/08/2012 : 07:34:59 AM
|
That looks about right Dennis. The other suggestions of converter and Dell extpart tool that were pointed out in the thread work as expected as well. One other bullet I would add to your notes would be to check the datastore for free space prior to growing the virtual disk. you may need to migrate-svmotion-or whatever the hypervisor of choice is calling it to a LUN that has enough free capacity for the additional growth.
cheers, Dave |
 |
|
|
DennisMCSE
Moderator
    
Canada
2400 Posts
Status: offline |
Posted - 06/08/2012 : 3:14:37 PM
|
Even though GParted can see the unallocated space I added, it won't let me expand the C: drive to fill that empty space. It says that the minimum and maximum space available for the drive is what the current size is. So it doesn't let me shrink or expand the size. The VM is a Windows Server 2003 x64 machine. Is it because it's a x64 bit version? I've never had the issue where it won't let me expand or decrease the size of the C: partition.
|
DennisMCSE
Blog: http://itprofirewalker.wordpress.com/

Follow me on Twitter http://twitter.com/Firewalker96
|
 |
|
|
DennisMCSE
Moderator
    
Canada
2400 Posts
Status: offline |
Posted - 06/11/2012 : 09:29:16 AM
|
Stupid me. The reason I couldn't expand the C: partition was because the D: partition was in the way between the C: drive and the Unallocated space. Copied the the files off the D: drive (there weren't too many anyway) deleted the D: partition expanded the C: drive, recreated the D: drive and copied the files back. Works fine now.
|
DennisMCSE
Blog: http://itprofirewalker.wordpress.com/

Follow me on Twitter http://twitter.com/Firewalker96
|
 |
|
|
pretzeldude
Here To Stay
 
USA
236 Posts
Status: offline |
Posted - 06/11/2012 : 12:44:56 PM
|
quote: Originally posted by DennisMCSE
Stupid me. The reason I couldn't expand the C: partition was because the D: partition was in the way between the C: drive and the Unallocated space. Copied the the files off the D: drive (there weren't too many anyway) deleted the D: partition expanded the C: drive, recreated the D: drive and copied the files back. Works fine now.
I had the same issue. Two partitions on the same volume. Gparted allowed me to move the partition that was in the way over. Then I expanded the "C" drive partition. I did this by changing the space "before" the "D" drive.
This was the first time that I've done this and it did warn me that it could potentially corrupt the OS partition. Since this wasn't a production machine, I went for it and it worked. ;) |
 |
|
|
deandownsouth
Old Timer
  
USA
439 Posts
Status: offline |
Posted - 07/07/2012 : 01:37:40 AM
|
quote: Originally posted by chamezzzz
Yes, I have had problems with both Gparted... 
I use and recommend parted / gparted a lot (with whatever versions found in the sysrescuecd live CD) and have personally done many hundreds (and probably well over a thousand by now-it's a standard problem with clients) of C: drive expansions, partition moves, etc. on 2003, 2000 and even NT 4.
I'm always interested in any issues others may run into since I never have any and don't want to get bit if a version or other issue crops up.
The only thing that I've seen that often freaks people out (at least the first time) is it will force a chkdsk at boot up, but that is normal.
Can you elaborate on what problems you had with gparted? |
Mark Dean
|
 |
|
|
Playwell
Honorable But Hopeless Addict
    
Netherlands
4818 Posts
Status: online |
Posted - 07/07/2012 : 03:10:54 AM
|
| You'd have more flexability in a vm if you use seperate virtual disks in stead of partitioning the one. |
'People who think they know everything are a great annoyance to those of us who do. ' Quote by Isaac Asimov

|
 |
|
| |
Topic  |
|