Extending a Volume using Diskpart


D

David Mah

I have an HP NetServer which contains a Raid 5 with one logical drive
divided into 3 volumes, all basic. The operating system is Win2K built as a
Win2K (Not Upgraded).

I have added another hard drive to the Raid 5 and it shows as unallocated
space within disk management snapin. I am now trying to extend two of the
volumes which neither is a system volume. However I get the error:

Diskpart failed to extend the volume.
Please make sure the volume is valid for extending


Which according to article No. 325590 occurs only when a volume that is
currently on a Dynamic disk but was originally created on a Basic disk.

However my disk are just basic disks. I happened to have another server with
exact same hardware as the one above and used it to install Win2K with same
number of logical drive and volumes. I then used Diskpart to extend the
volumes however on one volume the command is successful and on the other I
get the same error as above.

Does anyone have any idea why this is happening?
 
Ad

Advertisements

B

Bjorn Landemoo

David

Do you have free space adjacent to the volume(s) you are trying to extend,
in the same container?

Best regards

Bjorn
 
D

David Mah

Bjorn

The unallocated space is at the very end of the basic disk (at the end of
the last volume). There is no free space except above adjacent to any other
volume.

David
 
B

Bjorn Landemoo

David

In that case, you should be able to extend the last partition, but not the
first or second.

Are all partitions primary, or are any of them a logical disk in an
extended partition?

Best regards

Bjorn
 
Ad

Advertisements

D

Doug Allen [MSFT]

David,

As been mentioned before, it sounds like this is expected behavior based on
your hardware configuration. Exert from Q325590:

- For Basic volumes, the unallocated space for the extension must be
the next contiguous space on the same disk.

- For Dynamic Volumes, the unallocated space can be any empty space on
any Dynamic disk on the system.

Also, did the new space appear on the end of the existing logical volume, or
as a new logical volume? It sounded like it appeared at the end of the
existing volume, which means that your hardware RAID controller supports
dynamic size extension for the array.

Also be sure to run diskpart from safe mode.

--
Doug Allen, Windows 2000 MCSE

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top