Obtaining Volume Information and Status

 < Day Day Up > 



When you are working with DiskPart and want to check the status of partitions and volumes, you can use the LIST VOLUME command. As shown in the following example, LIST VOLUME lists the current statistics of all volumes, partitions, and logical drives on the computer:

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- --------- ----- -------- ------- --------- -------
Volume 0 T Data NTFS Simple 502 MB Healthy
Volume 1 U Data2 NTFS Simple 500 MB Healthy
Volume 2 F DVD-ROM 0 B
Volume 3 G CD-ROM 0 B
Volume 4 C Primary NTFS Partition 56 GB Healthy System
Volume 5 D Secondary NTFS Partition 29 GB Healthy

As you can see, LIST VOLUME shows the following:

  • Volume ### The number of the volume. You can type select volume N to work with the volume.

  • Ltr The drive letter of the volume.

  • Label The volume label.

  • Fs The file system type: FAT, FAT32, or NTFS.

  • Type The layout type. With dynamic disks, volume layout type tells you the configuration of the volume as simple, spanned, mirrored, striped, or RAID-5.

  • Size The total storage size of the volume.

  • Status The state of the volume, shown as Healthy, Failed Redundancy, and so on.

  • Info Provides additional information related to the volume.

One of the more important statistics provided is the volume status. Understanding the volume status is useful when you install new volumes or try to troubleshoot problems. Table 10-1 summarizes status values, which are primarily associated with dynamic volumes.

Table 10-1: Understanding and Resolving Volume Status Issues

Status

Description

Resolution

Data Incomplete

Spanned volumes on a foreign disk are incomplete. You must have forgotten to add the other disks from the spanned volume.

Move over the disks that contain the rest of the spanned volume and then import all the disks at one time.

Data Not Redundant

Fault-tolerant volumes on a foreign disk are incomplete (not redundant). You must have forgotten to add the other disks from a mirror or RAID-5 set.

Add the remaining disk(s) and then import all the disks at one time.

Failed

A disk-error status. The disk is inaccessible or damaged.

Ensure that the related dynamic disk is online. If necessary, rescan for volumes or use the ONLINE command to bring the volume online.

Failed Redundancy

A disk-error status. One of the disks in a mirror or RAID-5 set is offline.

Ensure that the related dynamic disk is online. If necessary, try to bring the volume online. If the volume cannot be brought online, you might need to replace a failed mirror or repair a failed RAID-5 volume.

Formatting

A temporary status that indicates that the volume is being formatted.

The progress of the formatting is indicated as the percentage completed. On successful completion, the volume will be set to Healthy status.

Healthy

The normal volume status.

The volume doesn’t have any known problems.

Regenerating

A temporary status that indicates that a mirrored volume is being added or imported, or data and parity for a RAID-5 volume are being regenerated.

Progress is indicated as the percentage completed. The volume should return to Healthy status.

Resynching

A temporary status that indicates that a mirror set is being resynchronized.

Progress is indicated as the percentage completed. The volume should return to Healthy status.

Stale Data

Data on foreign disks that are fault tolerant are out of sync.

Rescan or restart the computer, and then check the status. A new status should be displayed, such as Failed Redundancy.

Unknown

The volume’s boot sector appears to be corrupted and you can no longer access data on the volume.

The disk may not have been initialized. Start Disk Management, then if the Initialize Disk Wizard doesn’t start automatically, right-click the disk and select Initialize Disk.



 < Day Day Up > 



Microsoft Windows Command-Line Administrator's Pocket Consultant
MicrosoftВ® WindowsВ® Command-Line Administrators Pocket Consultant
ISBN: 0735620385
EAN: 2147483647
Year: 2004
Pages: 114

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net