Unsolved

This post is more than 5 years old

18585

November 1st, 2007 12:00

Using Diskpart or Extpart to extend Virtual Disk (+)

Hi there.

I recently added a couple of drives to a 4 drive RAID 5 volume and now the space shows up at the end of the Virtual Disk as "unallocated".

How safe is it to use a utility like Diskpart or Extpart to extend the volume to this unallocated space? It's not a system partition it has some large databases that are backed up of course.

Should it be done "offline"? How long does it take?

Thanks for any answers.

-J.-

4 Operator

 • 

9.3K Posts

November 1st, 2007 16:00

I would assume you made a backup before you added the disk space to the raid container, besides your regular backups. So with this fully tested backup as a disaster recovery option, diskpart is generally pretty safe.

There are a few things to keep in mind though (based on this Microsoft KB article):
- you cannot extend a system disk or boot disk
- you cannot extend a partition that has a swapfile on it
- you can only extend the last partition on the disk
- you can only extend beyond the 2 TB marker if the disk was converted to GPT prior to putting the first partition on it
- if you're running a cluster, be 100% sure to follow these steps 100%

The process is near instant after the last command (except for a cluster setup where there are some other steps after the diskpart-part).

156 Posts

November 1st, 2007 16:00



CI_Netguru wrote:
Thanks for your response. Especially the link for the clusters. I'm unclear on one point however:

- you can only extend the last partition on the disk

Right now the unallocated space shows at the end of Virtual Disk2 (I have a RAID 1 volume as Virt Disk 1 and another RAID 1 volume as Virt Disk 3).

Does this mean I can't run diskpart?

-J.-

CI_Netguru - You can run diskpart on each disk to extend the last partition on each disk.
DevMgr - great explaination of the use of diskpart.

November 1st, 2007 16:00

Thanks for your response. Especially the link for the clusters. I'm unclear on one point however:

- you can only extend the last partition on the disk

Right now the unallocated space shows at the end of Virtual Disk2 (I have a RAID 1 volume as Virt Disk 1 and another RAID 1 volume as Virt Disk 3).

Does this mean I can't run diskpart?

-J.-
No Events found!

Top