2,187
edits
m (moved Virtual Machine Procedures to Procedures (Virtual Machine): Name doesn't work well on Virtual Machine category page) |
(→Convert Hardware v7 to v3: Added "Upgrade Hardware Version") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 83: | Line 83: | ||
The trick is to extend the logical partition within the OS. Depending on the original partition type and the OS, the options vary. | The trick is to extend the logical partition within the OS. Depending on the original partition type and the OS, the options vary. | ||
''In-case of problems, see - [[ | ''In-case of problems, see - [[Troubleshooting_(Virtual_Machine)#Can.27t_Increase_a_VM.27s_Disk|Can't Increase a VM's Disk]], or [[Windows_2008#Extend_Partition_Fails|Extend Partition Fails]] | ||
=== Increase Logical Partition === | === Increase Logical Partition === | ||
For Windows 2003 machines... | For Windows 2003 machines... | ||
{| | {|class="vwikitable" | ||
|- | |- | ||
! Partition !! Type !! Options | ! Partition !! Type !! Options | ||
|- | |- | ||
| System || Either || Cannot be extended | | System || Either || Cannot be extended online - 3rd party tools required (see [[#GParted|GParted]]) | ||
|- | |- | ||
| Data || Basic || Cannot be extended, can convert to Dynamic, but this will require at least a brief IO interruption, | | Data || Basic || Cannot be extended, can convert to Dynamic, but this will require at least a brief IO interruption, and up to two reboots! | ||
|- | |- | ||
| Data || Dynamic || Can be extended on the fly, but a new volume is tagged onto the end of the existing partition to create a larger one made up of two volumes | | Data || Dynamic || Can be extended on the fly, but a new volume is tagged onto the end of the existing partition to create a larger one made up of two volumes (or see [[#DiskPart|diskpart]]) | ||
|} | |} | ||
For Windows 2008 machines all disks can be extended whilst online | |||
==== GParted ==== | |||
Download a copy of the GParted Live CD - http://gparted.sourceforge.net/livecd.php, this will need to be booted to by the VM | Download a copy of the GParted Live CD - http://gparted.sourceforge.net/livecd.php, this will need to be booted to by the VM | ||
* '''Note''' There is a bug in some recent versions of GParted (v0.5.0-3 and v0.5.1-1 are known to have issues), whereby the boot fails with the following error, v0.4.6-1 is known to work | * '''Note''' There is a bug in some recent versions of GParted (v0.5.0-3 and v0.5.1-1 are known to have issues), whereby the boot fails with the following error, v0.4.6-1 is known to work | ||
Line 114: | Line 113: | ||
# Restart VM and verify all is good | # Restart VM and verify all is good | ||
# Turn off snapshoting | # Turn off snapshoting | ||
==== DiskPart ==== | |||
# Start diskpart from the command line | |||
#* <code> diskpart </code> | |||
# List the volumes on the system to find the appropriate volume number | |||
#* <code> list volume </code> | |||
# Select the volume to be extended | |||
#* <code> select volume 2 </code> | |||
# Extend the volume | |||
#* <code> extend </code> | |||
=== VM's With Lots Of Disks === | === VM's With Lots Of Disks === | ||
Line 226: | Line 235: | ||
http://www.virtualinsanity.com/index.php/2009/12/01/more-bang-for-your-buck-with-pvscsi-part-2/ | http://www.virtualinsanity.com/index.php/2009/12/01/more-bang-for-your-buck-with-pvscsi-part-2/ | ||
== Convert Hardware v7 to v3 == | == Virtual Hardware Version Changes == | ||
=== Upgrade Hardware Version === | |||
# Ensure VMTools is up to date 1st (may require VM reboot) | |||
# Shut-down the VM | |||
# Take a snapshot | |||
# Right-click over the VM and select '''Upgrade Virtual Hardware''' and confirm | |||
# Restart VM | |||
# Assuming all is OK, delete/merge/consolidate the snapshot | |||
=== Convert Hardware v7 to v3 === | |||
You'll need to download and install VMware Converter Standalone if haven't already got it installed (its free). The local installation will suffice (client-server not require). Its possible that you could get away with using the inbuilt vCentre version as long as you're not trying to import a v7 VM on ESX4 to a v4 VM on ESX3 (which you probably are!). | You'll need to download and install VMware Converter Standalone if haven't already got it installed (its free). The local installation will suffice (client-server not require). Its possible that you could get away with using the inbuilt vCentre version as long as you're not trying to import a v7 VM on ESX4 to a v4 VM on ESX3 (which you probably are!). | ||