Extend Cluster Shared Volume on Windows Server 2012R2

After the initial setup it didn’t take long until the assigned volume sizes weren’t sufficient anymore. After looking around it seem that the diskpart tool will extend a Cluster Shared Volume with a few command.

  • First, increase the size of the LUN on your storage to the required size
  • Open up a command prompt on the current owner node
  • Run diskpart
  • >> rescan
  • >> list volume
  • >> select volume x
  • >> extend volume
  • >> list volume

That’s it. The volume will be extended to the maximum size as the LUN has been increased to.

Microsoft DiskPart version 6.3.9600
Copyright (C) 1999-2013 Microsoft Corporation.
On computer: GLL-HYP-01
DISKPART> rescan
Please wait while DiskPart scans your configuration...
DiskPart has finished scanning your configuration.
DISKPART> list volume
Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
----------  ---  -----------  -----  ----------  -------  ---------  --------
Volume 0         System Rese  NTFS   Partition    350 MB  Healthy    System
Volume 1     C                NTFS   Partition    232 GB  Healthy    Boot
Volume 2     E   Data_Drive_  NTFS   Partition   1397 GB  Healthy
Volume 3     D   Data_Drive_  NTFS   Partition   1862 GB  Healthy
Volume 4         Quorum       NTFS   Partition    479 MB  Healthy
Volume 5         VMS          CSVFS  Partition   4095 GB  Healthy
C:\ClusterStorage\Volume1\
Volume 6         FS_VM        CSVFS  Partition   1023 GB  Healthy
C:\ClusterStorage\Volume2\
Volume 7         Prod_Images  CSVFS  Partition   2047 GB  Healthy
C:\ClusterStorage\Volume3\
Volume 8         AWS-Gateway  CSVFS  Partition   2047 GB  Healthy
C:\ClusterStorage\Volume4\
DISKPART> select Volume 6
Volume 6 is the selected volume.
DISKPART> extend
DiskPart successfully extended the volume.
DISKPART> list volume
Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
----------  ---  -----------  -----  ----------  -------  ---------  --------
Volume 0         System Rese  NTFS   Partition    350 MB  Healthy    System
Volume 1     C                NTFS   Partition    232 GB  Healthy    Boot
Volume 2     E   Data_Drive_  NTFS   Partition   1397 GB  Healthy
Volume 3     D   Data_Drive_  NTFS   Partition   1862 GB  Healthy
Volume 4         Quorum       NTFS   Partition    479 MB  Healthy
Volume 5         VMS          CSVFS  Partition   4095 GB  Healthy
C:\ClusterStorage\Volume1\
* Volume 6         FS_VM        CSVFS  Partition   2047 GB  Healthy
C:\ClusterStorage\Volume2\
Volume 7         Prod_Images  CSVFS  Partition   2047 GB  Healthy
C:\ClusterStorage\Volume3\
Volume 8         AWS-Gateway  CSVFS  Partition   2047 GB  Healthy
C:\ClusterStorage\Volume4\
DISKPART>

Leave a Reply

Your email address will not be published. Required fields are marked *