How to extend a disk volume in Windows 2003, Windows XP, Windows 2000.

Diskpart can be used to extended the volume in Windows. I have listed the steps and results below on how I did it on my computer. This is with the understanding that you have already added the the new hardisk to the existing volume using the utilities that comes with your hardware. In my case I used the Dell OpenManage Server Administrator to do this first.

From the command line execute the diskpart.exe utility.

C:\>diskpart

Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation.
On computer: AndrewLin

The C:\> prompt will change to DISKPART>. Now enter list disk to display the physical drives installed in your server/computer.

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt
——– ———- ——- ——- — —
Disk 0 Online 75 GB 53 GB
Disk 1 Online 30 GB 0 B

Select the physical hardisk which contains the partition you wish to expand.

DISKPART> select disk 0

Disk 0 is now the selected disk.

To display the partitions on physical disk 0 enter the command list part.

DISKPART> list part

Partition ### Type Size Offset
————- —————- ——- ——-
Partition 1 Primary 12 GB 32 KB
Partition 2 Extended 10 GB 12 GB
Partition 3 Logical 10 GB 12 GB

To list the volume enter the command list colume.

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 E DATA2 NTFS Partition 30 GB Healthy
Volume 1 C NTFS Partition 12 GB Healthy System
Volume 2 D DATA NTFS Partition 10 GB Healthy
Volume 3 F CD-ROM 0 B Healthy

Slect the volume you wish to expand.

DISKPART> select volume 2

Volume 2 is the selected volume.

Extend the volume by 30 GB.

DISKPART> extend size=30000

DiskPart successfully extended the volume.

List the volume to see if the volume size increased.

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
———- — ———– —– ———- ——- ——— ——–
Volume 0 E DATA2 NTFS Partition 30 GB Healthy
Volume 1 C NTFS Partition 12 GB Healthy System
* Volume 2 D DATA NTFS Partition 39 GB Healthy
Volume 3 F CD-ROM 0 B Healthy

Exit the diskpart tool.
DISKPART>exit

About Andrew Lin

Hi, I have always wanted to creat a blog site but never had the time. I have been working in Information Technology for over 15 years. I specialize mainly in networks and server technologies and dabble a little with the programming aspects. Andrew Lin

View all posts by Andrew Lin →