Expanding a existing LUN on an HP EVA 4400 SAN
- Log into Command View (HP's delightfully named SAN configuration solution)
- Navigate to the the Virtual Disks folder, more specifically to the Vdisk you want to expand
- Click the Vdisk, and wait 10 seconds for the incredibly laggy Command View interface to catch up
- Type your new, preferred size in the box cunningly labelled "Capacity"
- Click "Save"
- Use Cluster Resource Manager to determine who owns the Disk Resource you wish to expand
- Once identified, go to "Disk Management" on the owner
- Right-click the Disk Management node, and select "Rescan Disks". The un-allocated space should show up now
- Right-click the volume you wish to expand and select "Extend Volume". Click Next 2 times and finally Finish
- Fire up SCVMM and shut down the VM whose VHD you want to expand
- Click the "Hardware Configuration" tab, and select the Disk you want to expand
- Check the "Expand this disk" checkbox and enter the desired size
- Click OK
Using Diskpart to Extend a Partition
- Click Start, type CMD and press Enter
- In the resulting Command Prompt, type "Diskpart"
- Select the correct drive and partition to perform the extend operation on. In my case it was Disk 1, Partition 1. The correct commands in my case were "Select disk 1" and "Select Partition 1". The "List disk" and "List partition" commands, surprisingly enough, will list your existing disks and partitions
- Now that we've got the correct disks and partitions selected, we simply give the "Extend" command. This will extend the disk using all the contiguous free space available