How to extend the partition of a cluster shared disk on WSFC
Check that the disk capacity has been expanded.
PS C:\Users\hypervadmin.SJ> Get-Disk
Number Friendly Name Serial Number HealthStatus OperationalStatus Total Size Partition Style ------ ------------- ------------- ------------ ----------------- ---------- ---------- 0 VMware Vir... 6000c29d9547c048baca75c596d05f14 Healthy Online 90 GB GPT 2 MSFT Virtu... 40271301-BEE2-4852-8AA9-6D473... Healthy Online 51 GB GPT 3 MSFT Virtu... 92844058-3574-485D-8D0D-672E4... Healthy Online 99.85 GB GPT 1 MSFT Virtu... A1702DA2-7C96-411A-8634-5C829... Healthy Online 2 GB GPT
|
Using powershell to extend volume.
PS C:\Users\hypervadmin.SJ> Get-Partition -DiskNumber 2
DiskPath: \\?\Disk{19d84f35-d0f7-4f58-481c-8326781cdb4c}
PartitionNumber DriveLetter Offset Size Type --------------- ----------- ------ ---- ---- 1 1048576 50 GB Basic
PS C:\Users\hypervadmin.SJ> $size = (Get-PartitionSupportedSize -DiskNumber 2 -PartitionNumber 1) PS C:\Users\hypervadmin.SJ> Resize-Partition -DiskNumber 2 -PartitionNumber 1 -Size $size.SizeMax PS C:\Users\hypervadmin.SJ> Get-Partition -DiskNumber 2
DiskPath: \\?\Disk{19d84f35-d0f7-4f58-481c-8326781cdb4c}
PartitionNumber DriveLetter Offset Size Type --------------- ----------- ------ ---- ---- 1 1048576 51 GB Basic
|
Using diskpart to extend volume.
DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 D DVD-ROM 0 B No Media Volume 1 C NTFS Partition 89 GB Healthy Boot Volume 2 FAT32 Partition 100 MB Healthy System Volume 3 NTFS Partition 725 MB Healthy Hidden Volume 4 Q quorum NTFS Partition 2047 MB Healthy Volume 5 data01 CSVFS Partition 49 GB Healthy C:\ClusterStorage\Volume2\ Volume 6 data02 CSVFS Partition 99 GB Healthy C:\ClusterStorage\Volume1\
DISKPART> sel vol 5
Volume 5 is the selected volume.
DISKPART> extend
DiskPart successfully extended the volume.
DISKPART> list vol
Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 D DVD-ROM 0 B No Media Volume 1 C NTFS Partition 89 GB Healthy Boot Volume 2 FAT32 Partition 100 MB Healthy System Volume 3 NTFS Partition 725 MB Healthy Hidden Volume 4 Q quorum NTFS Partition 2047 MB Healthy * Volume 5 data01 CSVFS Partition 50 GB Healthy C:\ClusterStorage\Volume2\ Volume 6 data02 CSVFS Partition 99 GB Healthy C:\ClusterStorage\Volume1\
|
Reference
・ Resize-Partition
・ extend
・ How to extend the partition of a cluster shared disk