Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Displaying disk information

Types of disk information  Top

You can display a lot of information about disks by using the Data ONTAP CLI or FilerView.

Using the Data ONTAP CLI  Top

The following table describes the Data ONTAP commands you can use to display status about disks.

Data ONTAP command

To display information about...

df

Disk space usage for file systems.

disk maint status

The status of disk maintenance tests that are in progress, after the disk maint start command has been executed.

disk sanitize status

The status of the disk sanitization process, after the disk sanitize start command has been executed.

disk shm_stats

SMART data from ATA disks.

disk show

Ownership. A list of disks owned by a storage system, or unowned disks. (for software-basked disk ownership systems only)

fcstat device_map

A physical representation of where the disks reside in a loop and a mapping of the disks to the disk shelves.

fcstat fcal_stats

Error and exceptions conditions, and handler code paths executed.

fcstat link_stats

Link event counts.

storage show disk

The disk ID, shelf, bay, serial number, vendor, model, and revision level of all disks, or by the host disks associated with the specified host adapter (where name can be an electrical name, such as 4a.16, or a World Wide Name.

storage show disk -a

All information in a report form that is easily interpreted by scripts. This form also appears in the STORAGE section of an AutoSupport report.

storage show disk -p

Primary and secondary paths to a disk.

sysconfig -d

Disk address in the Device column, followed by the host adapter (HA) slot, shelf, bay, channel, and serial number.

sysstat

The number of kilobytes per second (kB/s) of disk traffic being read and written.

Examples of usage  Top

The following examples show how to use some of the Data ONTAP commands.

Displaying disk attributes

To display disk attribute information about all the disks connected to your storage system, complete the following step.

Step

Action

1

Enter one of the following commands:

storage show disk

Result

The following information is displayed.

system_0> storage show disk
DISK SHELF BAY SERIAL    VENDOR MODEL     REV
---- ----- --- --------   ------ ---------     ----
7a.16    1     0    414A3902     NETAP    X272_HJURE     NA14
7a.17    1     1    414B5632     NETAP    X272_HJURE     NA14
7a.18    1     2    414D3420     NETAP    X272_HJURE     NA14
7a.19    1     3    414G4031     NETAP    X272_HJURE     NA14
7a.20    1     4    414A4164     NETAP    X272_HJURE     NA14
....
7a.26    1    10    414D4510     NETAP    X272_HJURE     NA14
7a.27    1    11    414C2993     NETAP    X272_HJURE     NA14
7a.28    1    12    414F5867     NETAP    X272_HJURE     NA14
7a.29    1    13    414C8334     NETAP    X272_HJURE     NA14
7a.32    2     0    3HZY38RT0000732 NETAP    X272_SCHI6      NA05
7a.33    2     2    3HZY38RT0000732 NETAP    X272_SCHI6      NA05

Displaying the primary and secondary paths to the disks

To display the primary and secondary paths to all the disks connected to your storage system, complete the following step.

Step

Action

1

Enter the following command:

storage show disk -p

Note
The disk addresses shown for the primary and secondary paths to a disk are aliases of each other.

In the following examples, dual host adapters, with the ports labeled as A and B, are installed in the PCI expansion slot 5 and slot 8 of a storage system. However, when Data ONTAP displays information about the adapter port label, it uses the lowercase a and b. Each disk shelf also has two ports, labeled A and B. When Data ONTAP displays information about the disk shelf port label, it uses the uppercase A and B.

The adapter in slot 8 is connected from its A port to port A of disk shelf 1, and the adapter in slot 5 is connected from its B port to port B of disk shelf 2. While it is not necessary to connect the adapter to the disk shelf using the same port label, doing so can help you keep track of adapter-to-shelf connections.

Each example displays the output of the storage show disk -p command, which shows the primary and secondary paths to all disks connected to the storage system. Each example represents a different configuration of Multipath I/O.

Example 1

In the following example, system_1 is configured for Multipath I/O without SyncMirror, as described at Multipath I/O without SyncMirror.

The first and third columns, labeled PRIMARY and SECONDARY, designate the primary and secondary paths from the adapter's slot number, host adapter port, and disk number.

system_1> storage show disk -p
PRIMARY PORT  SECONDARY  PORT  SHELF BAY
------- ----  ---------- ----  ----- ---
5a.16    A     8b.16    B      1     0
5a.17    A     8b.17    B      1     1
5a.18    B     8b.18    A      1     2
5a.19    A     8b.19    B      1     3
5a.20    A     8b.20    B      1     4
5a.21    B     8b.21    A      1     5
5a.22    A     8b.22    B      1     6
5a.23    A     8b.23    B      1     7
5a.24    B     8b.24    A      1     8
5a.25    B     8b.25    A      1     9
5a.26    A     8b.26    B      1    10
5a.27    A     8b.27    B      1    11
5a.28    B     8b.28    A      1    12
5a.29    A     8b.29    B      1    13

5a.32    B     8b.32    A      2     0
5a.33    A     8b.33    B      2     1
5a.34    A     8b.34    B      2     2
...
5a.43    A     8b.43    B      2    11
5a.44    B     8b.44    A      2    12
5a.45    A     8b.45    B      2    13

8a.48    B     5b.48    A      3     0
8a.49    A     5b.49    B      3     1
8a.50    B     5b.50    A      3     2
...
8a.59    A     5b.59    B      3    11
8a.60    B     5b.60    A      3    12
8a.61    B     5b.61    A      3    13

8a.64    B     5b.64    A      4     0
8a.65    A     5b.65    B      4     1
8a.66    A     5b.66    B      4     2
...
8a.75    A     5b.75    B      4    11
8a.76    A     5b.76    B      4    12
8a.77    B     5b.77    A      4    13

Example 2

In the following example, system_2 is configured for Multipath I/O with SyncMirror using hardware-based disk ownership, as described at Multipath I/O with SyncMirror using hardware-based disk ownership.

system_2> storage show disk -p
PRIMARY PORT  SECONDARY  PORT  SHELF BAY
------- ----  ---------- ----  ----- ---
5a.16    A     5b.16    B      1     0
5a.17    A     5b.17    B      1     1
5a.18    B     5b.18    A      1     2
5a.19    A     5b.19    B      1     3
5a.20    A     5b.20    B      1     4
5a.21    B     5b.21    A      1     5
5a.22    A     5b.22    B      1     6
5a.23    A     5b.23    B      1     7
5a.24    B     5b.24    A      1     8
5a.25    B     5b.25    A      1     9
5a.26    A     5b.26    B      1    10
5a.27    A     5b.27    B      1    11
5a.28    B     5b.28    A      1    12
5a.29    A     5b.29    B      1    13

5a.32    B     5b.32    A      2     0
5a.33    A     5b.33    B      2     1
5a.34    A     5b.34    B      2     2
...
5a.43    A     5b.43    B      2    11
5a.44    B     5b.44    A      2    12
5a.45    A     5b.45    B      2    13

8a.48    B     8b.48    A      3     0
8a.49    A     8b.49    B      3     1
8a.50    B     8b.50    A      3     2
...
8a.59    A     8b.59    B      3    11
8a.60    B     8b.60    A      3    12
8a.61    B     8b.61    A      3    13

8a.64    B     8b.64    A      4     0
8a.65    A     8b.65    B      4     1
8a.66    A     8b.66    B      4     2
...
8a.75    A     8b.75    B      4    11
8a.76    A     8b.76    B      4    12
8a.77    B     8b.77    A      4    13

Example 3

In the following example, system_3 is configured for Multipath I/O with SyncMirror using software-based disk ownership, as described at Multipath I/O with SyncMirror using software-based disk ownership.

system_3> storage show disk -p
PRIMARY PORT  SECONDARY  PORT  SHELF BAY
------- ----  ---------- ----  ----- ---
5a.16    A     8b.16    B      1     0
5a.17    A     8b.17    B      1     1
5a.18    B     8b.18    A      1     2
5a.19    A     8b.19    B      1     3
5a.20    A     8b.20    B      1     4
5a.21    B     8b.21    A      1     5
5a.22    A     8b.22    B      1     6
5a.23    A     8b.23    B      1     7
5a.24    B     8b.24    A      1     8
5a.25    B     8b.25    A      1     9
5a.26    A     8b.26    B      1    10
5a.27    A     8b.27    B      1    11
5a.28    B     8b.28    A      1    12
5a.29    A     8b.29    B      1    13

5a.32    B     8b.32    A      2     0
5a.33    A     8b.33    B      2     1
5a.34    A     8b.34    B      2     2
...
5a.43    A     8b.43    B      2    11
5a.44    B     8b.44    A      2    12
5a.45    A     8b.45    B      2    13

8a.48    B     5b.48    A      3     0
8a.49    A     5b.49    B      3     1
8a.50    B     5b.50    A      3     2
...
8a.59    A     5b.59    B      3    11
8a.60    B     5b.60    A      3    12
8a.61    B     5b.61    A      3    13

8a.64    B     5b.64    A      4     0
8a.65    A     5b.65    B      4     1
8a.66    A     5b.66    B      4     2
...
8a.75    A     5b.75    B      4    11
8a.76    A     5b.76    B      4    12
8a.77    B     5b.77    A      4    13

Using FilerView  Top

You can also use FilerView to display information about disks, as described in the following table.

To display information about...

Open FilerView and go to...

How many disks are on a storage system

Filer > Show Status

Result

The following information is displayed: total number of disks, the number of spares, and the number of disks that have failed.

All disks, spare disks, broken disks, zeroing disks, and reconstructing disks

Storage > Disks > Manage, and select the type of disk from the pull-down list

Result

The following information about disks is displayed: Disk ID, type (parity, data, dparity, spare, and partner), checksum type, shelf and bay location, channel, size, physical size, pool, and aggregate.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments