Difference between revisions of "Expand disks using Diskpart"

From Tech-Wiki
Jump to: navigation, search
Line 16: Line 16:
 
  LUN ID : 0
 
  LUN ID : 0
  
Volume ### Ltr Label Fs Type Size Status Info
+
Volume ### Ltr Label     Fs   Type       Size   Status   Info
  ---------- --- ----------- ----- ---------- ------- --------- --------
+
  ---------- --- -------- ----- ---------- ------- --------- --------
  Volume 1 C NTFS Partition 68 GB Healthy System
+
  Volume 1   D  Data      NTFS Partition 68 GB   Healthy System
  
 
DISKPART > Select Volume 1
 
DISKPART > Select Volume 1

Revision as of 19:24, 26 June 2018

Back to Misc

In example below it will expand the disk by 10GB, if no size is specified all available space will be allocated to the partition. Keep in mind that Windows 2003 doesn't allow to expand system volume.

DISKPART > Select Disk 0 ("This assumes that DISK 0 is your boot disk")
 Disk 0 is now the selected disk.

DISKPART > Detail Disk
 Controller Type SCSI Disk Device
 Disk ID: 2FE43460
 Type : SCSI
 Bus : 3
 Target : 0
 LUN ID : 0

Volume ### Ltr Label      Fs   Type        Size    Status   Info
 ---------- --- -------- ----- ---------- ------- --------- --------
 Volume 1    D  Data      NTFS  Partition  68 GB    Healthy  System

DISKPART > Select Volume 1
 Volume 1 is the selected volume.

DISKPART > Extend Size=10000 
Disk Part successfully extended the volume.

DISKPART > Exit