View unanswered posts | View active topics It is currently Thu Jul 18, 2019 10:41 pm



Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
 Expand C:\ drive 
Author Message

Joined: Tue Dec 28, 2010 1:21 pm
Posts: 43
Reply with quote
Post Expand C:\ drive
I made a XP pro with 16 GB, but now the space is very limited. How can i increase the disk space without additional disks? i.e. i need to extend c:\ from 16 GB to 30GB.

_________________

Manny

AMD Athlon II X4 620 Processor / M4A78T-E Motherboard, AM3 processor.
- 8 GB RAM
- WD Caviar Green WD10EARS 1TB 5400 RPM 64MB Cache SATA 3.0Gb/s
- Intel PWLA8391GT 10/ 100/ 1000Mbps PCI PRO/1000 GT


Wed Jan 19, 2011 5:05 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Expand C:\ drive
I use a process like this
1) stop the VM
2) create a backup of the virtual disk - access the console and run vmkfstools -i /sourcepath/sourcefile /destinationpath/destinationfile
3) expand the virtual disk - vmkfstools -X 30G /path/file
- the 30G is the final size
4) boot the VM and use Dell's extpart to expand the partition - http://support.dell.com/support/downloa ... leid=83929

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Wed Jan 19, 2011 9:48 pm
Profile

Joined: Tue Dec 28, 2010 1:21 pm
Posts: 43
Reply with quote
Post Re: Expand C:\ drive
The link doesnt work anymore when clicking on download. it says 404.
Can you check or any other suggestions?

_________________

Manny

AMD Athlon II X4 620 Processor / M4A78T-E Motherboard, AM3 processor.
- 8 GB RAM
- WD Caviar Green WD10EARS 1TB 5400 RPM 64MB Cache SATA 3.0Gb/s
- Intel PWLA8391GT 10/ 100/ 1000Mbps PCI PRO/1000 GT


Fri Jan 21, 2011 6:25 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Expand C:\ drive
Try this - http://support.dell.com/support/downloa ... leid=83929

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Fri Jan 21, 2011 6:35 pm
Profile

Joined: Tue Dec 28, 2010 1:21 pm
Posts: 43
Reply with quote
Post Re: Expand C:\ drive
sure I can get to the page, but when i click download, I get no download, but a redirect to 404 error

_________________

Manny

AMD Athlon II X4 620 Processor / M4A78T-E Motherboard, AM3 processor.
- 8 GB RAM
- WD Caviar Green WD10EARS 1TB 5400 RPM 64MB Cache SATA 3.0Gb/s
- Intel PWLA8391GT 10/ 100/ 1000Mbps PCI PRO/1000 GT


Fri Jan 21, 2011 6:38 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Expand C:\ drive
Change the extension from zip to exe.


Attachments:
ExtPart.zip [36.73 KiB]
Downloaded 361 times

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide
Fri Jan 21, 2011 6:52 pm
Profile

Joined: Tue Dec 28, 2010 1:21 pm
Posts: 43
Reply with quote
Post Re: Expand C:\ drive
Thanks Dave. I was able to achieve the extension using the steps you mentioned, but had some questions.

the steps I followed
1) use vmkfstools -X 30G /path/file
2) launched VM, used extpart to extend c:\ drive.

Question 1: Why do we have to clone the disk for back-up? could i use just
Quote:
#cp file1 file1_bk
unix command? Does it make a difference?

Question2: After I used extpart, I went to edit settings from vsphere client and I saw teh disk space still showing 20GB. How can i update this to 30GB ?

Thanks.

_________________

Manny

AMD Athlon II X4 620 Processor / M4A78T-E Motherboard, AM3 processor.
- 8 GB RAM
- WD Caviar Green WD10EARS 1TB 5400 RPM 64MB Cache SATA 3.0Gb/s
- Intel PWLA8391GT 10/ 100/ 1000Mbps PCI PRO/1000 GT


Sun Jan 23, 2011 9:11 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Expand C:\ drive
> Question 1: Why do we have to clone the disk for back-up? could i use just
Quote:
#cp file1 file1_bk
unix command? Does it make a difference?

I suggest the backup just to be on the safe side. But vmkfstools is much better to use than cp as it allocates the entire disk space as the copy is started, rather than incrementally as cp would. That's not a huge problem with local storage, but with shared storage it can be. On shared storage when a file is expanded or created (think creating a VM, starting one, cloning, etc) all I/O is momentarily frozen while the file creation / expansion is performed. If you're doing that a lot you can see a performance impact in the other VMs in that datastore.

Question2: After I used extpart, I went to edit settings from vsphere client and I saw teh disk space still showing 20GB. How can i update this to 30GB ?

Unregister the VM and register it again. Sometimes console updates don't show up in the client right away.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Sun Jan 23, 2011 6:58 pm
Profile

Joined: Tue Dec 28, 2010 1:21 pm
Posts: 43
Reply with quote
Post Re: Expand C:\ drive
Quote:
# vim-cmd vmsvc/getallvms

# vim-cmd vmsvc/unregister


What is the command to register?

_________________

Manny

AMD Athlon II X4 620 Processor / M4A78T-E Motherboard, AM3 processor.
- 8 GB RAM
- WD Caviar Green WD10EARS 1TB 5400 RPM 64MB Cache SATA 3.0Gb/s
- Intel PWLA8391GT 10/ 100/ 1000Mbps PCI PRO/1000 GT


Thu Jan 27, 2011 5:48 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post Re: Expand C:\ drive
~ # vim-cmd solo/registervm
Insufficient arguments.
Usage: registervm vm path [name] [resourcepool]

registervm [cfg path] [name(optional)] [resourcepool(optional)]

Register the vm

~ #

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Thu Jan 27, 2011 8:16 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.