I just had to expand the size of one of our CSV’s without much notice. I wasn’t prepared for this, but I knew two things:

  1. The iSCSI LUN had to grow
  2. The Virtual Disk inside Windows also had to grow.

Our Hyper-V cluster contains three virtual disks:
Volume1, Quorum Witness, and Volume2.

  • Volume1 = 1TB
  • Volume2 = 1TB

Volume 2 filled up. Only 11GB free.

Not okay.

1. Expand the iSCSI LUN size

There’s a Synology backing this cluster. I didn’t do any documentation of expanding the iSCSI LUN because this will vary depending on your iSCSI server.

I grew LUN2 from 1TB to 2TB.

After the LUN expansion, when you view Failover Cluster Manager, you can see that the size has updated but you are not able to utilize the extra space yet. You need to extend the Virtual Disk too.

2. Extend the Virtual Disk

Log in to the OWNER NODE of the Cluster Shared Volume

  • Find out in failover cluster manager who owns the virtual disk
  • You will not be able to do this from a non-owner node.

3. Put disk into maintenance mode

Right click > More Actions
Ensure you’ve migrated or shut off any VMs on the virtual disk before entering maintenance mode!

 

Now that your Virtual Disk is in maintenance mode and the VMs that were running on it are safely moved or powered off,  we can make modifications to the size.

On the owner node:

4. Open diskmgmt.exe ( Disk Management Console)

  • look for your CSV to expand (it should have a large unallocated region)
  • right click / extend / next, next, next…

5. Bring the virtual disk out of maintenance mode

Profit

 

That’s it! Your Cluster Shared Volume has grown in capacity.


Leave a Reply

Related Posts

Virtualization

Enable SSH login to vCenter 6.5 in WebUI

Enabling vCenter SSH access from Web User Interface 1. Log in to WebUI 2. On the vSphere Web Client Home page, click System Configuration. 3. Under System Configuration, click Nodes. 4. Under Nodes, select a Read more…

File Services

How to Enable Shadow Copies for a volume in Windows Server 2012 R2

Enable Shadow Copies (Enable Previous Versions) Click Start , point to Administrative Tools , and then click Computer Management .   In the console tree, right-click Shared Folders , click All Tasks , and then click Configure Shadow Copies .   The window that opens will look Read more…

File Services

How to use Robocopy to Preseed Files for DFS Replication

Use Robocopy to Preseed Files for DFS Replication I’ll write this here first, since it’s important: The folder in which you are robo-copying (ex c:\test) must not exist on the destination server (ex. f:\test). If you create Read more…

%d bloggers like this: