Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 228891

Re: expand guest disk

$
0
0

Hello again-

 

Yes, you are welcome.

 

As for expanding the system disk, the docs say that it is possible, with the assistance of a "helper" VM.  So, to do this, one would need:

0)  a helper VM with a supported Guest OS for partition operations

1)  to shut down both the target VM (with the partition to resize) and the helper VM

 

Then, the command with the additional parameters would be like:

 

## both the target VM with the disk for the partition resize and the "helper" VM must be powered off beforehand
Set-HardDisk-HardDisk$Disk-CapacityGB$extendedCapacityTo-ResizeGuestPartition-GuestCredential$guestCred-Confirm:$false-HelperVM$myHelperVM

 

If the partition to resize is not the last one on the disk, you would add the -Partition parameter as well, with the corresponding value for the parameter to resize.  This goes through a series of operations to put the virtual disk on the helper VM, power up said VM, etc.  Roughly:

0)  resize the virtual hard disk on the target VM

1)  reconfigure the target VM, detaching the target disk from it

2)  reconfigure the helper VM, adding the target disk to it

3)  power on the helper VM

4)  try to resize the partition on the target disk via the helper VM

5)  shutdown the helper VM

6)  reconfigure the helper VM, detaching the target disk from it

7)  reconfigure the target VM, adding the target disk back to it

 

I have not heard many reports of success with this, though -- would like to hear how it does for you.


Viewing all articles
Browse latest Browse all 228891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>