Difference between revisions of "Expand disks using Diskpart"
From Tech-Wiki
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Microsoft]] | [[Category:Microsoft]] | ||
'''[[Microsoft#Misc|Back to Misc]]''' | '''[[Microsoft#Misc|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. | ||
<nowiki> | <nowiki> | ||
Line 14: | 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 | + | Volume 1 D Data NTFS Partition 68 GB Healthy System |
DISKPART > Select Volume 1 | DISKPART > Select Volume 1 | ||
Volume 1 is the selected volume. | Volume 1 is the selected volume. | ||
− | DISKPART > Extend Size=10000 | + | DISKPART > Extend Size=10000 |
+ | Disk Part successfully extended the volume. | ||
DISKPART > Exit | DISKPART > Exit |
Latest revision as of 20:25, 26 June 2018
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