Skip navigation

How can I use DiskPart to create a mirrored disk?

A. You can use the DiskPart utility from the Windows 2000 Server Resource Kit or the Win2K Professional Resource kit to either create a new mirrored disk or mirror an existing disk. (Be aware that Windows XP doesn't support mirrored disks.) To create a new mirrored disk, perform the following steps:

  1. Download and install the DiskPart utility from the Microsoft Web site.
  2. Go to Start, Run, then type
    cmd
    to start a command-line session.
  3. Type
    diskpart
    to start a DiskPart session.
  4. Type
    list disk
    to list the current disks. The list will look like
       Disk ### Status Size  Free    Dyn  Gpt
       -------- ------ ----  ------- ---- --- 
       Disk 1   Online 28 GB 6621 MB *
       Disk 2   Online 12 GB 12 GB   *
       Disk 3   Online 29 GB 29 GB   *
  5. Type
    select disk 2
    to select disk 2 as the disk on which you want to create the mirror.
  6. Type
    create volume simple size=100
    to create a new volume.
  7. Type
    add disk 3
    to add disk 3 as the new disk that will become the mirror.

To add a mirrored disk to an existing disk, perform the following steps:

  1. Download and install the DiskPart utility from the Microsoft Web site.
  2. Go to Start, Run, then type
    cmd
    to start a command-line session.
  3. Type
    diskpart
    to start a DiskPart session.
  4. Type
    list disk
    to list the current disks. The list will look like
       Disk ### Status Size  Free    Dyn  Gpt
       -------- ------ ----  ------- ---- --- 
       Disk 1   Online 28 GB 6621 MB *
       Disk 2   Online 12 GB 12 GB   *
       Disk 3   Online 29 GB 29 GB   *
  5. Type
    select disk 1
    to select disk 1 as the existing disk that you want to mirror.
  6. Type
    list partition
    to list the current partitions. The list will look like
       Partition ### Type         Size    Offset
       ------------- ------------ ------- ------ 
       Partition 1   Dynamic Data 10 GB   32 KB
       Partition 2   Dynamic Data 6001 MB 10 GB
       Partition 3   Dynamic Data 6001 MB 16 GB
       Partition 4   Dynamic Data 6621 MB 21 GB 
  7. Type
    select partition <partition number>
    to select the partition for which you want to add a mirrored disk.
  8. Type
    add disk <disk number>
    to add a new disk, which will mirror the disk you selected in Step 5.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish