Disk Management
90
NAS 4000s and 9000s Administration Guide
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 8: Common DiskPart Commands
Command
Description
add disk
Mirrors the simple volume with focus to the specified disk.
assign
Assigns a drive letter or mount point to the volume with focus.
convert basic
Converts an empty dynamic disk to a basic disk.
convert dynamic
Converts a basic disk into a dynamic disk. Any existing partitions on
the disk become simple volumes.
create volume
simple
Creates a simple volume. After creating the volume, the focus
automatically shifts to the new volume.
exit
Exits the DiskPart command interpreter.
help
Displays a list of the available commands.
list disk
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.
list partition
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.
list volume
Displays a list of basic and dynamic volumes on all disks.
rem
Provides a way to add comments to a script.
retain
Prepares an existing dynamic simple volume to be used as a boot or
system volume.
select disk
Selects the specified disk and shifts the focus to it.
Summary of Contents for NAS 4000s
Page 18: ...About this Guide 18 NAS 4000s and 9000s Administration Guide ...
Page 92: ...Disk Management 92 NAS 4000s and 9000s Administration Guide ...
Page 196: ...NetWare File System Management 196 NAS 4000s and 9000s Administration Guide ...
Page 246: ...Index 246 NAS 4000s and 9000s Administration Guide ...