Solved

Using "diskpart" to expand a dynamic volume

Posted on 2004-11-01
2,251 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
Question by:HDGuru
    5 Comments
     
    LVL 15

    Expert Comment

    by:Cyber-Dude
    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
    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:
    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
    That answers my question - can you give me the source of your answer?  KB Article..etc...?
    0
     
    LVL 15

    Expert Comment

    by:Cyber-Dude
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    In this article, I provide some information on storage disks which go into calculations that will help you figure out how much Input/output Operations Per Second (IOPS) your disk subsystem can deliver. To effectively size & tune up applications l…
    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
    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…

    856 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now