Stage 1 – Physically install the HDDs
Stage 2 – Expand the Array
- Start HP Array Configuration Utility:
- Select Array that you want to expand and click the Expand Array Button:
Once you press Save the array will start the transformation process.
The speed will depend on amount of data on the existing array and size of the array.
In this example the existing drive has 135GB size with 15GB free:
The expansion rate was approx 9GB per hour
While the process is running you will see these alerts:
You can further increase the speed of the transformation by changing the controller settings (set transformation priority to High):
Changing the priority to High might have an impact on server performance (read/write operations)
Stage 3 – Extend Logical Drive
Select the drive that you want to extend and click the Extend Logical Drive:
accept the default and click save
Read the warning and Click OK
(it basically says that if you are running windows 2000 you might have problems, otherwise you are fine)
That process usually takes just a few seconds/minutes (press refresh button to confirm it’s finished)
To verify open Windows Computer Management/Disk Management:
Stage 4 – Extend OS volume
From command prompt issue commands as listed below:
Verify that all went OK:
taken from VM KB article: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1007266
This article provides steps to expand a virtual disk (VMDK) and then extend a partition using DiskPart in Microsoft Windows.
To expand VMDK and extend a partition:
Verify that the virtual machine does not have any snapshots by going into the virtual machine’s directory and looking for Delta files. Run the command:
#ls -lah /vmfs/volumes/datastore_name/vm_name/*delta*-rw——- 1 root root 1.8G Oct 10 10:58 vm_name-000001-delta.vmdk
If the virtual machine does have snapshots, commit them using these commands:
#vmware-cmd -l /vmfs/volumes/datastore_name/vm_name/vm_name.vmx
#vmware-cmd /vmfs/volumes/datastore_name/vm_name/vm_name.vmx removesnapshots removesnapshots() = 1
Power off the virtual machine.
To expand the VMDK using the VI Client (if the option exists), edit the settings of the virtual machine and click the hard disk you want to expand.
Enter a new value in the New Size field
To expand the VMDK using the vmkfstools -X command, run the command:
#vmkfstools -X <New Disk Size> <VMDK to extend>#vmkfstools -X 30G /vmfs/volumes/datastore_name/vm_name/vm_name.vmdk
Note: Ensure that you point to the <vm_name>.vmdk, and not to the <vm_name>-flat.vmdk. Using vmkfstools -X is the only option to expand an IDE virtual disk .
To extend the C: partition, find a helper virtual machine and attach the disk from the first virtual machine to the helper.
To add an existing virtual disk to the helper virtual machine:
Go to the Edit Settings menu of the virtual machine.
- Click Add > Hard Disk > Use Existing Virtual Disk.
- Navigate to the location of the disk and select to add it into the virtual machine.
Note: A helper virtual machine is a virtual machine that has the same operating system to which you attach the disk.
Start the virtual machine.
Verify the volume in question has been mounted and has been assigned a drive letter. This can be set in Windows Disk Management or by selecting the volume and typing assign from within the DiskPart command.
In versions of Windows prior to 2008, open a command prompt and run the DiskPart command:
C:Documents and Settingsusername>diskpart
Microsoft DiskPart version 5.1.3565Copyright (C) 1999-2003 Microsoft Corporation.On computer: USERNAME-HELPER-VMDISKPART> list volume
Volume ### Ltr Label Fs Type Size Status Info———- — ———– —– ———- ——- ——— ——–Volume 0 D CD-ROM 0 BVolume 1 C NTFS Partition 30 GB Healthy SystemVolume 2 E NTFS Partition 10 GB Healthy
DISKPART> select Volume 2Volume 2 is the selected volume.
DISKPART> extendDiskPart successfully extended the volume.DISKPART> exitLeaving DiskPart…
Note: Ensure to choose the correct volume. The Size is the old value.
Note: If you are in Windows 2003, and you see the error The volume you have selected may not be extended. Please select another volume and try again, see the Microsoft Knowledge Base article 841650.
In Windows 2008, click Start > Computer Management > Disk Manager, right-click on the partition and select Extend Volume. For more information, see the Microsoft Knowledge Base article 325590.
Power off and detach the disk from the helper virtual machine. Keep all default settings and do not delete the VMDK from the disk.
Power on the first virtual machine and verify the disk size change.