Manuals

Manuals
disk Commands : Dell Command Line Interface Reference Back to Contents Page

disk Commands

This chapter discusses the disk commands listed listed in Table 1.

Table 1. disk Commands

Command Summary Description
disk blink Causes the disk drive light to blink
disk initialize Initializes a SCSI disk
disk list Displays a list of disks
disk remove dead_partitions Removes all dead partitions from a disk.
disk set default Sets various disk defaults
disk set smart Changes a disk's S.M.A.R.T. configuration
disk show default Displays the current default for the SCSI device ID
disk show defects Shows the number of defects and/or the defect list for a specific disk drive
disk show partition Displays a list of AFA partitions
disk show smart Displays information about S.M.A.R.T. configurations
disk show space Displays space usage information
disk verify Verifies all blocks on a SCSI device
disk zero Clears an entire SCSI disk

Use the following syntax for disk commands:

disk command [object] [/switch{=value}] [parameter]

disk blink

To cause a SCSI disk to blink (or stop blinking), use the disk blink command. Specifically, the disk blink command causes the disk's SCSI access light to blink.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk blink {scsi_device} {integer}

Parameters

{scsi_device}

Specifies the ID for the SCSI disk you want to blink. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

{integer}

Specifies the number of seconds you want the SCSI disk to blink. A value of zero (0) stops the SCSI disk from blinking.

Examples

The following example causes a SCSI disk device (SCSI channel number 1, SCSI device ID 2, and SCSI device logical unit number 0) to blink for fifty-five seconds:

 AFA0> disk blink (1,2,0) 55
 Executing: disk blink  (BUS=1,ID=2,LUN=0) 55

disk initialize

To initialize a SCSI disk for use with the currently opened controller, use the disk initialize command. This command writes data structures to the disk so that the controller can use the disk.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk initialize [/always{=boolean}] [/unconditional{=boolean}]{scsi_device}

Parameters

{scsi_device}

Specifies the ID for the SCSI disk you want to prepare and initialize for controller use. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

Switches

/always{=boolean}

Specifies whether to initialize the disk even if the disk has data on it. If you specify TRUE for this switch, the command initializes the disk even if it has data on it. If containers on the disk have open files, this command cannot be used. In other words, you need to close all open files before you use this command to initialize a SCSI disk.

The default is FALSE (that is, the disk initialize command does not initialize a disk that has data on it).

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /unconditional{=boolean}

Specifies whether to initialize the disk even if containers on the disk have open files. If you specify TRUE for this switch, the command initializes the disk even if the disk has open files.

The default is FALSE (that is, the disk initialize command does not initialize a disk that has open files on it).

WARNING: Unconditionally deleting a container that is in use can cause a system crash under some circumstances.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example initializes a SCSI disk device (SCSI channel number 0, SCSI device ID 2, and SCSI device logical unit number 0) that has data on it:

 AFA0> disk initialize /always (0,2,0)
 Executing: disk initialize /always=TRUE (BUS=0,ID=2,LUN=0)

disk list

To display a list of the disks available on the currently opened controller, use the disk list command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk list [/all{=boolean}] [/full{=boolean)] [{scsi_device}]

Parameters

{scsi_device}

Specifies the ID for a specific SCSI device for which you want to display information. A SCSI device consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

Switches

/all{=boolean}

Specifies whether to display a list of all SCSI devices. If you set this switch to TRUE, the command displays a list of all SCSI devices on the controller.

This switch defaults to FALSE if you specify scsi_device. Otherwise, the switch defaults to TRUE.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /full{=boolean}

Specifies whether to display detailed information. If you specify TRUE, the command displays detailed information. If you specify FALSE, the command does not display detailed information.

This switch defaults to FALSE.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example shows how to display nondetailed information for all of the SCSI disks on the currently opened controller:

 AFA0> disk list
 Executing: disk list
 
 B:ID:L  Device Type     Blocks    Bytes/Block Usage            Shared
 ------  --------------  --------- ----------- ---------------- ------
 2:00:0   Disk            4197405   512         Initialized     NO
 2:01:0   Disk            4197405   512         Initialized     NO
 2:02:0   Disk            4197405   512         Initialized     NO
 2:03:0   Disk            4197405   512         Initialized     NO

The detailed disk list display contains the previous columns of information plus the following columns:

  • Removable media
  • Vendor-ID
  • Product-ID
  • Rev

The following sections provide more information on the columns of information that the disk list command displays.

The B:ID:L Column

The B:ID:L column displays the SCSI device bus number, the SCSI device ID, and the SCSI device logical unit number for each disk on the currently opened controller. (The display shows only one disk if you specified a particular disk.)

In the example, the command displays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for the four disks on the open controller.

The Device Type Column

The Device Type column displays the SCSI device type. The disk list command can display one of the values listed in Table 2.

Table 2. Device Type Values

Value Meaning
Disk The device type is a SCSI direct access device. Typically, these are disk drives. This is the value that appears in the example.
Sequential The device type is a SCSI sequential access device. Typically, these are tape drives.
Printer The device type is a SCSI printer device.
Processor The device type is a processor device.
Write once The device type is a SCSI write once and read many times device. Typically, these devices are referred to as WORM disk drives.
CDROM The device type is a SCSI CD-ROM (read-only direct access device).
Scanner The device type is a SCSI scanner device.
Optical The device type is a SCSI optical disk device.
Medium changer The device type is a SCSI medium changer device. Typically, this is a changer for a Jukebox.
Network The device type is a SCSI network communication device.

The Removable media Column

The Removable media column displays the value Y if the media in the device is removable and the value N if the media in the device is not removable.

The Vendor-ID and Product-ID Columns

The Vendor-ID column displays a string of characters that identifies the vendor of the SCSI device.

The Product-ID column displays a string of characters that identifies the product line associated with the SCSI device.

The Rev Column

The Rev column displays the revision number of the SCSI device.

The Block Column

The Block column displays the number of blocks available on the SCSI device. In the example, the number of blocks available for the four devices in the list is 4197405.

The Bytes/Block Column

The Bytes/Block column displays the number of bytes for each block on the SCSI device. In the example, the number of bytes for each block is 512.

The Usage Column

The Usage column displays the usage of the SCSI device. The disk list command can display one of the values listed in Table 3.

Table 3. SCSI Disk Device Usage Values

Value Meaning
DOS The SCSI device was prepared for use with DOS partitions.
Initialized The SCSI device was prepared (initialized) for use with containers. This is the value that appears in the example.
Not Initialized The SCSI device was not prepared (initialized) for use with containers.
Offline The SCSI device was present at boot time; however, the device is either removed from the controller or it failed.
Unowned The SCSI device is not owned by the controller.

The Shared Column

The Shared column displays the value YES if the device resides on a shared bus and the value NO if the device does not reside on a shared bus. In the example, the devices do not reside on a shared bus.

Related Information

disk Commands:

disk remove dead_partitions

To remove all dead partitions from a SCSI disk, use the disk remove dead_partitions command. A dead partition is a partition that is no longer used by any container.

Typically, you use this command only under specific circumstances. For example, if you remove a disk from a redundant container and then later add the disk to the controller, the partition on the reinserted disk (which was previously part of the redundant container) is no longer useful. In this case, you use this command and specify the disk that was readded to the controller.

If a partition is dead, the ":" (colon) in the Partition Offset:Size column (displayed with the container list command) changes to a "!" (exclamation point).

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk remove dead_partitions {scsi_device}

Parameters

{scsi_device}

Specifies the ID for the SCSI disk from which you want to remove all dead partitions. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

Examples

The following example removes all dead partitions that reside on a SCSI disk device (SCSI channel number 0, SCSI device ID 2, and SCSI device logical unit number 0):

 AFA0> disk remove dead_partitions (0,02,0)
 Executing: disk remove dead_partitions (BUS=0,ID=2,LUN=0)

Related Information

container Commands:

disk set default

To set the default SCSI ID for use in subsequent CLI commands, use the disk set default command. This command allows you to set defaults for a specific SCSI device's SCSI device bus number and SCSI device logical unit number. Then, in subsequent commands, you need only specify the SCSI device ID on the command line.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk set default {scsi_device}

Parameters

{scsi_device}

Specifies the ID for the SCSI device. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), a SCSI device ID (0 through 15 inclusive), and a SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

If you do not specify a SCSI device ID, the command displays an appropriate error message.

Examples

The following example sets the SCSI channel number and SCSI default logical unit number for SCSI device (0,3,0) as the default for use in subsequent CLI commands:

 AFA0> disk set default (1,3,0)
 Executing: disk set default (BUS=1,ID=3,LUN=0)

You need only specify the SCSI device ID in subsequent CLI commands, and the CLI assumes the default SCSI channel number and SCSI logical unit number as follows:

 AFA0> disk list 3
 Executing: disk list (ID=3)
 
 disk list
 B:ID:L  Device Type     Blocks    Bytes/Block Usage            Shared
 ------  --------------  --------- ----------- ---------------- ------
 2:03:0   Disk            4197405   512         Initialized     NO
 

See the disk list command for information on the items in the display.

Related Information

disk Commands:

disk set smart

To change a device's S.M.A.R.T. configuration, use the disk set smart command. The acronym S.M.A.R.T. stands for Self-Monitoring, Analysis and Reporting Technology. This technology is an industry standard for hard drives that monitors a variety of disk parameters, such as the rate of read-write errors. In addition, S.M.A.R.T. can send an alert to system administrators about potential problems caused by disk errors.

This command allows you to make the following changes related to S.M.A.R.T.:

  • Enable or disable S.M.A.R.T. configuration for all disks on the system
  • Clear the S.M.A.R.T. error count for the specified disk
  • Enable or disable S.M.A.R.T. exception reporting

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk set smart [/all{=boolean}][/clear{=boolean}] [/enable_exceptions{=boolean}] [/logerr{=boolean}][/mrie{=integer}] [/perf{=boolean}][/report_count{=integer}] [/interval_timer{=integer}]

[/update{=boolean}] [{scsi_device}]

Parameters

{scsi_device}

Specifies the ID for the SCSI disk on which you want to change S.M.A.R.T. configurations. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

You do not need to specify a SCSI ID if you use the /all switch.

Switches

/all{=boolean}

Specifies whether to enable S.M.A.R.T. configurations (i.e., enable exception reporting) for all disks on the system. If you specify TRUE for this switch, the command enables S.M.A.R.T. configurations for all disks on the system.

The default is FALSE (that is, the disk set smart command does not enable S.M.A.R.T. configurations for all disks on the system). In this case, you would want to specify a SCIS ID to enable S.M.A.R.T. configurations for a specific disk on the system.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /clear{=boolean}

Specifies whether to clear S.M.A.R.T. error counts for the specified disk or disks. If you specify TRUE for this switch, the command clears error counts for the specified disk or disks.

The default is FALSE (that is, the disk set smart command does not clear S.M.A.R.T. error counts for disks on the system).

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /enable_exceptions{=boolean}

Specifies whether to enable S.M.A.R.T. exceptions reporting for the specified disk or disks. If you specify TRUE for this switch, the command enables exception reporting for the specified disk or disks.

The default is FALSE (that is, the disk set smart command does not enable S.M.A.R.T. exception reporting for disks on the system).

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /logerr{=boolean}

Specifies whether to enable logging of S.M.A.R.T. exception reporting for the specified disk or disks. If you specify TRUE for this switch, the command enables logging of S.M.A.R.T. exception reporting for the specified disk or disks.

If you specify FALSE for this switch, the command disables logging of S.M.A.R.T. exception reporting for the specified disk or disks.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /mrie{=integer}

Specifies the Method of Reporting Informational Exceptions (MRIE) field. You can specify one of the following values:

Value Meaning

0

Do not report exception conditions

3

Report exceptions after a SCSI command if reporting recovered errors

4

Generate unconditionally recovered errors

5

Generate no sense

6

Report exceptions only when polled

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /perf{=boolean}

Specifies whether to report exceptions according to the MRIE mode taking into account performance. If you specify TRUE for this switch, the command performs exception reporting as long as performance is not an issue. If performance is an issue, the command does not report exceptions.

If you specify FALSE for this switch, exceptions are reported according to the MRIE mode regardless of performance issues.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /report_count{=integer}

Specifies the number of times an exception can be reported. The value 0 (zero) indicates that there is no limit to the number of times an exception can be reported.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /interval_timer{=integer}

Specifies the exception reporting interval for the specified disk or disks. You can specify the time interval in 100 second increments. For example, if you specify 100, then exceptions are reported every 100 seconds.

If you specify the value 0 (zero), then the time interval is vendor-specific (i.e., you set the execption reporting interval to a value appropriate to your environment).

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /update{=boolean}

Specifies whether to update the number of device errors found on the specifed SCSI device. If you specify TRUE for this switch, the command updates the number of device errors found on the specified SCSI device.

If you specify FALSE for this switch, the command does not update the number of device errors found on the specified SCSI device.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example enables S.M.A.R.T. configurations on one SCSI disk device (SCSI channel number 1, SCSI device ID 2, and SCSI device logical unit number 0):

 AFA0> disk set smart (1,2,0)
 Executing: disk set smart (BUS=1,ID=2,LUN=0)

Related Information

disk Commands:

disk show default

To display the current default for the SCSI device ID, use the disk show default command. You previously set this default using the disk set default command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk show default

Examples

The following example shows the default for a SCSI device ID that was set in a previous use of the disk set default command:

 AFA0> disk show default
 Executing: disk show default
 
 Default Scsi: (BUS=0,ID=3,LUN=0)

If no default for a SCSI device was previously specified, the command displays an appropriate message.

Related Information

disk Commands:

disk show defects

To show the number of defects and/or the defect list for a specific SCSI disk drive, use the disk show defects command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk show defects [/full{=boolean}]{scsi_device}

Parameters

{scsi_device}

Specifies the ID for the SCSI device for which you want to display defect information. A SCSI device consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

Switches

/full{=boolean}

Specifies whether to display the defect count and the list of disk defects. If you set this switch to TRUE, the command displays the list of defects and the number of defects.

This switch defaults to FALSE, which means the command displays only the number of defects.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example lists the number of defects and the list of defects for a SCSI disk device (SCSI channel number 1, SCSI device ID 0, and SCSI logical unit number 0):

 FASTCMD> disk show defects /full=TRUE (1,0,0)
 Number of PRIMARY defects on drive: 2
 Defect 1 at cylinder 12, head 5, sector 59
 Defect 2 at cylinder 550, head 1, sector 44
 Number of GROWN defects on drive: 0

The following list explains the items in the display:

  • Number of PRIMARY defects on drive:
    This item shows the details regarding any primary disk defects. In the example, there are two defects.
  • Defect 1 at cylinder 12, head 5, sector 59
    This item shows where defect 1 occurred. In the example, the defect occurred on head 5 of cylinder 12 located in sector 59.
  • Defect 2 at cylinder 550, head 1, sector 44
    This item shows where defect 2 occurred. In the example, the defect occurred on head 1 of cylinder 550 located in sector 44.
    The command shows any additional defects.
  • Number of GROWN defects on drive: 0
    This item shows the list of grown defects (if any). In the example, there are no grown defects, so the command displays the value 0 (zero).

disk show partition

To display a list of partitions on the disks attached to the currently opened controller, use the disk show partition command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk show partition

Examples

The following example shows a sample output from the disk show partition command:

 AFA0> disk show partition
 Executing: disk show partition
 
 Scsi   Partition     Container MultiLevel
 B:ID:L Offset:Size   Num Type   Num Type   R/W
 ------ ------------- --- ------ --- ------ ---
 0:02:0  64.0KB:20.0MB 0  Volume 0   None   RW

The following sections provide more information on the columns that the disk show partition details command displays.

The SCSI B:ID:L Columns

The B:ID:L column diplays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for each disk on the currently opened controller.

In the example, the command displays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for one disk (0:02:0) on the currently opened controller.

The Partition Offset:Size Column

The Partition Offset:Size column displays the offset (in bytes) into the SCSI device and the size of the partition (in bytes). In the example, the offset is 64.0 KB and the size is 20.0 MB.

If a partition is dead, the ":" (colon) in the Partition Offset:Size column changes to a "!" (exclamation point). See the disk remove dead_partitions (disk remove dead_partitions) command for more information on dead partitions.

The Container Num and Container Type Columns

The Container Num column displays the ID of the primary container in the partition. In the example, the container ID is 0.

The Container Type column displays the type of container in which the partition resides. Table 4 lists the possible values that the command can display in the Type column.

Table 4. Primary Container Values

Value Meaning
None This partition is not in a container.
Mirror This partition is part of a mirror set.
Stripe This partition is part of a stripe set.
Volume This partition is part of a volume set. This is the value that appears in the example.
RAID-5 This partition is part of a RAID-5 set.
Legacy This partition is part of a legacy disk container.
Reconf This partition is part of a container reconfiguration operation. A container reconfiguration operation occurs when you use the container reconfigure command to change a container from one type to another.

The MultiLevel Num and MultiLevel Type Columns

The MultiLevel Num column displays the ID of the multilevel container the partition is associated with (if any). In the example, the container ID is 0.

The MultiLevel Type column displays the type of multilevel container in which the partition resides. Table 5 lists the possible values that the command can display in the Type column.

Table 5. Multilevel Container Values

Value Meaning
None This partition is not in a secondary container. This is the value that appears in the example.
Stripe This partition is part of a stripe set.
Volume This partition is part of a volume set.

The R/W Column

The R/W column displays whether the partition is read-only or read-write. Specifically, the column can display the values listed in Table 6.

Table 6. R/W Container Values

Value Meaning
RO The partition is read-only.
RW The partition is read-write. This is the value that appears in the example.

disk show smart

To display S.M.A.R.T. configuration information for one or all disks, use the disk show smart command. The acronym S.M.A.R.T. stands for Self-Monitoring, Analysis and Reporting Technology. This technology is an industry standard for hard drives that monitors a variety of disk parameters, such as the rate of read-write errors. In addition, S.M.A.R.T. can send an alert to system administrators about potential problems caused by disk errors.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk show smart [/all{=boolean}] [/full{=boolean)] [/view_changeable{=boolean}][{scsi_device}]

Parameters

{scsi_device}

Specifies the ID for the SCSI disk for which you want to display S.M.A.R.T. configuration information. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

You do not need to specify a SCSI ID if you use the /all switch.

Switches

/all{=boolean}

Specifies whether to display S.M.A.R.T. configuration information for all disks on the system. If you specify TRUE for this switch, the command displays S.M.A.R.T. configuration information for all disks on the system.

The default is TRUE.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /full{=boolean}

Specifies whether to display detailed S.M.A.R.T. configuration information for one or all SCSI disks. If you specify TRUE, the command displays detailed S.M.A.R.T. configuration information. If you specify FALSE, the command does not display detailed S.M.A.R.T. configuration information.

This switch defaults to FALSE.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /view_changeable{=boolean}

Specifies whether to display the configuration information that can be set on a S.M.A.R.T. disk. If you specify TRUE for this switch, the command displays the letter "X" in the column for the configuration information that can be set. For example, an "X" appears in the Enable Exception Control column for those S.M.A.R.T. disks on which this value can be set.

The default is FALSE.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example shows how to display nondetailed S.M.A.R.T. configuration information for all disks on the system:

 AFA0> disk show smart
 Executing: disk show smart
 
         Smart    Method of         Enable
         Capable  Informational     Exception  Performance  Error
 B:ID:L  Device   Exceptions(MRIE)  Control    Enabled      Count
 ------  -------  ----------------  ---------  -----------  ----
 2:00:0     N
 2:01:0     N
 2:02:0     N
 2:03:0     N

The detailed disk show smart display contains the previous columns of information plus the following columns:

  • Log Errors
  • Interval Timer (secs.)
  • Report Count

The following sections provide more information on the columns that the disk show smart command displays.

The B:ID:L Column

The B:ID:L column displays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for each disk on the currently opened controller. (The display shows only one disk if you specified a particular disk.)

In the example, the command displays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for the four disks on the open controller.

The Smart Capable Device Column

The Smart Capable Device column displays the value Y if the device is S.M.A.R.T. capable or the value N if the device is not S.M.A.R.T. capable.

The Method of Informational Exceptions (MRIE) Column

The Method of Informational Exceptions (MRIE) column displays the MRIE value you specified in the disk set smart command. One of the following values can appear in this column:

Value Meaning

0

Do not report exception conditions

3

Report exceptions after a SCSI command if reporting recovered errors

4

Unconditionally generate recovered errors

5

Generate no sense

6

Report exceptions only when polled

The Enable Exception Control Column

The Enable Exception Control column displays the value Y if you enabled S.M.A.R.T. exception control reporting or the value N if you did not enable S.M.A.R.T. exception control reporting.

If you specified the /view_changeable switch, the command displays an X in this column for those disks on which you can enable S.M.A.R.T. exception control reporting.

The Performance Enabled Column

The Performance Enabled column displays the value Y if you enabled performance or N if you did not enable performance. You enable performance by using the disk set smart command's /perf switch.

If you specified the /view_changeable switch, the command displays an X in this column for those disks on which you can enable performance.

The Log Errors Column

The Log Errors column displays the value Y if you enabled log errors or N if you did not enable log errors. You enable log errors by using the disk set smart command's /logerr switch.

If you specified the /view_changeable switch, the command displays an X in this column for those disks on which you can enable log errors.

The Interval Timer (secs.) Column

The Interval Timer (secs.) column displays the number of seconds you specified for the exception reporting interval. You specify the number of seconds by using the disk set smart command's /interval_timer switch.

If you specified the /view_changeable switch, the command displays an X in this column for those disks on which you can set the number of seconds for the exception reporting interval.

The Report Count Column

The Report Count column displays the number of times you specified for exceptions to be reported. You specify this number by using the disk set smart command's /report_count switch.

The Error Count Column

The Error Count column displays the number of errors that S.M.A.R.T. encountered on the disk.

If you specified the /view_changeable switch, the command displays an X in this column for those disks on which you can enable the recording of errors that S.M.A.R.T. encounters on the disk.

Related Information

disk Commands:

disk show space

To display space usage information on a SCSI disk, use the disk show space command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk show space [/all{=boolean}] [{scsi_device}]

Parameters

{scsi_device}

Specifies the ID for the SCSI device for which you want to display space usage information . A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), a SCSI device ID (0 through 15 inclusive), and a SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

Switches

/all{=boolean}

Specifies whether to show space usage information for all SCSI disks on the currently opened controller. If you set this switch to TRUE, the command shows space usage information for all SCSI disks on the currently opened controller.

This switch defaults to FALSE if you specify the scsi_device parameter; otherwise, the switch defaults to TRUE.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example shows space usage information for all of the SCSI disks on the currently opened controller:

 AFA0> disk show space
 Executing: disk show space
 
 Scsi B:ID:L Usage     Size
 ----------- --------- -------------
   0:02:0   Container   64.0KB:  20.0MB
   0:02:0   Free        20.0MB:  29.0MB
   0:03:0   Free        64.0KB:  49.0MB
   0:04:0   Free        64.0KB:  49.0MB
   0:05:0   Free        64.0KB:  49.0MB
   0:06:0   Free        64.0KB:4032KB
   0:08:0   Free        64.0KB:4032KB

The following example shows space usage information for SCSI disk device (0,2,0):

 AFA0> disk show space (0,2,0)
 Executing: disk show space (ID=2)
 
 Scsi B:ID:L Usage     Size
 ----------- --------- -------------
   0:02:0   Container   64.0KB:  20.0MB
   0:02:0   Free        20.0MB:  29.0MB

The following sections provide more information on the columns that the disk list command displays.

The Scsi B:ID:L Column

The Scsi B:ID:L column displays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for each disk on the currently opened controller. (The display shows only one disk if you specified a particular disk.)

In the first example, the command displays the SCSI channel number, the SCSI device ID, and the SCSI device logical unit number for the six disks on the open controller. In the second example, the command displays information for the specified SCSI device (0:02:0).

The Usage Column

The Usage column displays the type of partition or some characteristic related to disk space usage. Specifically, the command can display the values listed in Table 7.

Table 7. Disk Usage Values

Value Meaning
Free This area is unused space on the disk. In the example, a specific area is unused space on the 0:02:0 disk. This unused space is typically referred to as freespace.
Container This partition is used as part of a container. In the example, a partition on the 0:02:0 disk is used as part of a container.
Orphan This area was part of a container that could not be configured.
Dead This area had an error and was declared dead.
Conflict This area is not configured because of a conflict.

The Size Column

The Size column displays the offset (in bytes) into the SCSI device and the size of the partition or space (in bytes). In the example, the offset and sizes for the first two disks are as follows:

  • For the 0:02:0 disk
    The offset is 64.0 KB for the partition and 20.0 MB for the unused space. The size is 20.0 MB for the partition and 29.0 MB for the unused space.
  • For the 0:03:0 disk
    The offset is 64.0 KB and the size is 49.0 MB for the unused space. (This disk has no partitions on it.)
    The offset is 64.0 KB and the size is 49.0 MB for the unused space. (This disk has no partitions on it.)

disk verify

To verify all blocks on a SCSI disk device and, optionally, repair any bad blocks, use the disk verify command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk verify [/repair{=boolean}] [/wait{=boolean}] {scsi_device}

Parameters

{scsi_device}

Specifies the ID for the SCSI disk device that you want to verify. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), a SCSI device ID (0 through 15 inclusive), and a SCSI logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

Switches

/repair{=boolean}

Specifies whether to automatically repair bad blocks. If you set this switch to TRUE, the command attempts to repair any bad blocks. If you do not specify the switch, the command only reports failures.

This switch defaults to FALSE.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /wait{=boolean}

Specifies whether to perform verification synchronously or asynchronously. If you set this switch to TRUE, the command performs the block verification synchronously and the command prompt does not return until the block verification operation completes.

The default is FALSE (i.e., the command performs the block verification asynchronously and the command prompt returns immediately).

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example synchronously verifies and repairs all blocks on disk (0,2,0):

 AFA0> disk verify /repair=TRUE /wait=TRUE (0,2,0)
 Executing: disk verify (BUS=0,ID=2,LUN=0)

As the command executes, note the title bar of the DOS window displays the status of the command. For example:

 Stat:OK!Task:100,Func:SCV,State:RUN 97.2%

See CLI Status Information for detailed information on the status information that the command displays in the title bar as it executes the task.

disk zero

To clear an entire SCSI disk, use the disk zero command. When you clear a disk, all data is erased and cannot be recovered.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

disk zero [/always{=boolean}] [/wait{=boolean}] {scsi_device}

Parameters

{scsi_device}

Specifies the ID for the SCSI disk you want to clear. A SCSI ID consists of a SCSI channel number (for example, 0, 1, 2, 3, etc.), SCSI device ID (0 through 15 inclusive), and SCSI device logical unit number (0 through 7 inclusive). See the scsi_device section on page 3-8 for more information on how to specify the SCSI device.

Switches

/always{=boolean}

Specifies whether to clear the disk, even if it has data on it. If you specify TRUE, the command clears the disk even if it has data on it.

The default is FALSE (i.e., the command clears the disk only if it has no data on it). In both cases, all user files must be closed; the /always switch cannot override this restriction.

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

    /wait{=boolean}

Specifies whether to clear the disk synchronously or asynchronously. If you set this switch to TRUE, the command clears the disk synchronously and the command prompt does not return until the clear disk task completes.

The default is FALSE (i.e., the command clears the disk asynchronously and the command prompt returns immediately).

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example clears SCSI disk (0,2,0). There is data on the disk; however, the data is not deemed important and thus the /always switch is used:

 AFA0>  disk zero /always /wait (0,2,0)
 Executing: disk zero /always=TRUE /wait=TRUE (BUS=0,ID=2,LUN=0)

As the command executes, note the title bar of the DOS window displays the status of the command. For example:

 Stat:OK!Task:100,Func:SCZ,State:RUN 97.2%

See CLI Status Information for detailed information on the status information that the command displays in the title bar as it executes the task.



Back to Contents Page

Laptops | Desktops | Servers | Storage | Monitors | Printers | Laser Printers | Laptop Deals | Alienware | Gaming Laptops | NAS | SAN | Cloud Computing | Desktop Deals | Accessories | Gaming PC | Vostro | Latitude | Ultrabook | VMware
Copyright 1999-2012 Dell Inc. | Terms and Conditions |  Unresolved Issues | Privacy Statement | About Our Ads | Dell Recycling | Contact | | Feedback
AT | AU | BE | BR | CA | CH | CL | CN | CO | DE | DK | ES | FR | HK | IE | IN | IT | JP | KR | MX | MY | NL | NO | PR | RU | SE | SG | US | ALL

snWEB4