Difference between revisions of "Procedures (Virtual Machine)"

Jump to navigation Jump to search
m (→‎Increase Disk Size: Fixed internal link to VM troubleshooting)
Line 86: Line 86:


=== Increase Logical Partition ===
=== Increase Logical Partition ===
Generally boot or system disks cannot be extended whilst the OS is up, whereas normal data disk can be in later OS's, but this is still not ideal.  Its generally most reliable to plan for system down time, and use a utility to extend the partition whilst its offline. Especially in a virtual environment there is no excuse for not making a backup of the partition 1st.
For Windows 2008 machines this isn't a problem.
For Windows 2003 machines...
For Windows 2003 machines...
{|class="vwikitable"
{|class="vwikitable"
Line 95: Line 91:
! 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, but up to two reboots!
| 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 ===

Navigation menu