[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Using "diskpart" to expand a dynamic volume

Posted on 2004-11-01
5
Medium Priority
?
2,296 Views
Last Modified: 2008-01-09
I've seen several kb articles that say it's not possible to expand a SYSTEM volume that was once Basic and then upgraded to Dynamic.

Is the same true for Data Volumes?  If so is there anyway to expand the data volume on a "upgraded disk"?

When using extend in DiskPar - is it instantaneous?
0
Comment
Question by:HDGuru
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:Cyber-Dude
ID: 12470597
Using 'DiskPart'    
For basic volumes, the unallocated space must be on the same disk as, and must follow (be of higher sector offset than) the partition with focus. A dynamic simple or spanned volume can be extended to any empty space on any dynamic disk Using this command, you can extend an existing volume into newly created space.
If the partition was previously formatted with the NTFS file system, the file system is automatically extended to occupy the larger partition. No data loss occurs. If the partition was previously formatted with any file system format other than NTFS, the command fails with no change to the partition. You cannot extend the current system or boot partitions.

1. Enter the 'diskpart' utility (Start => Run... => type 'cmd' and press 'Enter' => type 'diskpart' amd press 'Enter').
2. Type 'list disk' and press 'Enter'.
3. Type 'select disk <Disk Number>' and press 'Enter'.
4. Type 'extend <number of MB>' and press 'Enter'.

Hope that answers your question.

Cyber
0
 

Author Comment

by:HDGuru
ID: 12474307
It didn't, but thanks anyway.  My question is if it's possible to expand a "upgraded" disk.  I know it's possible to expand a basic disk and a dynamic disk that was formatted dynamic to begin with.  But I want to know if anyone has expanded a "upgraded" disk (one that was basic to begin with and then upgraded to dynamic after the fact).

I've ran the diskpart utility anyway to see if it'll work - and after my last command to extend the disk, nothing happens.  I let it sit for as long as 2 hours - and nothing happened.
0
 
LVL 15

Accepted Solution

by:
Cyber-Dude earned 2000 total points
ID: 12476046
Oh, the answer for this is You can extend only volumes created on a dynamic disk, not volumes created on a basic disk that you've upgraded. If you try to extend volumes created on a basic disk, you'll receive the error "DiskPart failed to extend the volume. Please make sure the volume is valid for extending."

Hope that answers your query

Cyber
0
 

Author Comment

by:HDGuru
ID: 12476083
That answers my question - can you give me the source of your answer?  KB Article..etc...?
0
 
LVL 15

Expert Comment

by:Cyber-Dude
ID: 12476104
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question