Table of Contents

Advertisement

Volume Management

DiskPart

DiskPart.exe is a text-mode command interpreter that enables the administrator to manage
disks, partitions, or volumes.
When using the list commands, an asterisk (*) appears next to the object with focus. Select an
object by its number or drive letter, such as disk 0, partition 1, volume 3, or volume C.
When selecting an object, the focus remains on that object until a different object is selected.
For example, if the focus is set on disk 0 and volume 8 on disk 2 is selected, the focus shifts
from disk 0 to disk 2, volume 8. Some commands automatically change the focus. For
example, when creating a new partition, the focus automatically switches to the new partition.
Focus can only be given to a partition on the selected disk. When a partition has focus, the
related volume (if any) also has focus. When a volume has focus, the related disk and partition
also have focus if the volume maps to a single specific partition. If this is not the case, focus on
the disk and partition is lost.
Table 4: Common DiskPart Commands
add disk
assign
convert basic
convert dynamic
create volume
simple
exit
help
list disk
list partition
list volume
rem
retain
select disk
Note:
formatted as NFTS with a 16K allocation unit size.
40
Command
Mirrors the simple volume with focus to the specified disk.
Assigns a drive letter or mount point to the volume with focus.
Converts an empty dynamic disk to a basic disk.
Converts a basic disk into a dynamic disk. Any existing partitions on
the disk become simple volumes.
Creates a simple volume. After creating the volume, the focus
automatically shifts to the new volume.
Exits the DiskPart command interpreter.
Displays a list of the available commands.
Displays a list of disks and information about them, such as their size,
amount of available free space, whether the disk is a basic or dynamic
disk, and whether the disk uses the master boot record (MBR) or GUID
partition table. The disk marked with an asterisk (*) has focus.
Displays the partitions listed in the partition table of the current disk.
On dynamic disks these partitions may not correspond to the dynamic
volumes on the disk. This discrepancy occurs because dynamic disks
contain entries in the partition table for the system volume or boot
volume (if present on the disk). They also contain a partition that
occupies the remainder of the disk in order to reserve the space for use
by dynamic volumes.
Displays a list of basic and dynamic volumes on all disks.
Provides a way to add comments to a script.
Prepares an existing dynamic simple volume to be used as a boot or
system volume.
Selects the specified disk and shifts the focus to it.
The Data Volume is configured by default as a RAID-5 volume across all four disks and is
Description
NAS 1500s and 500s Administration Guide

Advertisement

Table of Contents
loading

Table of Contents