Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 OTHER HALP! Linux, Hardware, and Anything Else
 All things Virtual!
 Expanding C:\ drive in a VM
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DennisMCSE
Moderator

Canada
2400 Posts
Status: offline

Posted - 08/12/2011 :  1:59:24 PM  Show Profile  Visit DennisMCSE's Homepage  Look at the Skype phone address from DennisMCSE  Reply with Quote
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  Show Profile  Visit cj_berlin's Homepage  Look at the Skype address for cj_berlin  Reply with Quote
gparted

Evgenij Smirnov
Go to Top of Page

JSCLMEDAVE
Administrator

USA
6113 Posts
Status: online

Posted - 08/12/2011 :  3:36:39 PM  Show Profile  Visit JSCLMEDAVE's Homepage  Click to see JSCLMEDAVE's MSN Messenger address  Reply with Quote
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"
Go to Top of Page

DennisMCSE
Moderator

Canada
2400 Posts
Status: offline

Posted - 08/12/2011 :  5:57:56 PM  Show Profile  Visit DennisMCSE's Homepage  Look at the Skype address for DennisMCSE  Reply with Quote
Cool, I'll take a look. Thanks Tim.


DennisMCSE

Blog: http://itprofirewalker.wordpress.com/



Follow me on Twitter http://twitter.com/Firewalker96


Go to Top of Page

chamezzzz
Honorable But Hopeless Addict

United Kingdom
2297 Posts
Status: offline

Posted - 08/13/2011 :  11:49:22 AM  Show Profile  Reply with Quote
You could also run VMWARE converter and resize the disk.

James
Go to Top of Page

cj_berlin
Honorable But Hopeless Addict

Germany
3964 Posts
Status: offline

Posted - 08/14/2011 :  08:27:01 AM  Show Profile  Visit cj_berlin's Homepage  Look at the Skype address for cj_berlin  Reply with Quote
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
Go to Top of Page

chamezzzz
Honorable But Hopeless Addict

United Kingdom
2297 Posts
Status: offline

Posted - 08/15/2011 :  06:18:01 AM  Show Profile  Reply with Quote
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
Go to Top of Page

Travan
Old Timer

443 Posts
Status: offline

Posted - 08/15/2011 :  4:44:58 PM  Show Profile  Reply with Quote
You could look at this: http://taylor.freeshell.org/2009/06/dell-extpart.html
Go to Top of Page

chamezzzz
Honorable But Hopeless Addict

United Kingdom
2297 Posts
Status: offline

Posted - 08/17/2011 :  6:50:16 PM  Show Profile  Reply with Quote
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
Go to Top of Page

DennisMCSE
Moderator

Canada
2400 Posts
Status: offline

Posted - 06/07/2012 :  3:31:09 PM  Show Profile  Visit DennisMCSE's Homepage  Look at the Skype address for DennisMCSE  Reply with Quote
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


Go to Top of Page

jaxdave
Honorable But Hopeless Addict

USA
2426 Posts
Status: offline

Posted - 06/08/2012 :  07:34:59 AM  Show Profile  Reply with Quote
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
Go to Top of Page

DennisMCSE
Moderator

Canada
2400 Posts
Status: offline

Posted - 06/08/2012 :  3:14:37 PM  Show Profile  Visit DennisMCSE's Homepage  Look at the Skype address for DennisMCSE  Reply with Quote
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


Go to Top of Page

DennisMCSE
Moderator

Canada
2400 Posts
Status: offline

Posted - 06/11/2012 :  09:29:16 AM  Show Profile  Visit DennisMCSE's Homepage  Look at the Skype address for DennisMCSE  Reply with Quote
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


Go to Top of Page

pretzeldude
Here To Stay

USA
236 Posts
Status: offline

Posted - 06/11/2012 :  12:44:56 PM  Show Profile  Visit pretzeldude's Homepage  Reply with Quote
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. ;)
Go to Top of Page

deandownsouth
Old Timer

USA
439 Posts
Status: offline

Posted - 07/07/2012 :  01:37:40 AM  Show Profile  Reply with Quote
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


Go to Top of Page

Playwell
Honorable But Hopeless Addict

Netherlands
4818 Posts
Status: online

Posted - 07/07/2012 :  03:10:54 AM  Show Profile  Visit Playwell's Homepage  Click to see Playwell's MSN Messenger address  Reply with Quote
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


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.2 seconds. Snitz Forums 2000