Displaying the number of disks in a diskset, Displaying the attached state of a diskset – HP NetRAID-4M Controller User Manual

Page 84

Advertising
background image

5-6

Command Line Interface User’s Guide

Displaying the Number of Disks in a Diskset

The

disks

attribute indicates the number of disks in a diskset. You

specify the number of disks in a diskset when you create a diskset
using the

disk_set create

command. See Creating a Diskset on

page 5-11 for information on creating a diskset. You can add disks to
a diskset using the

disk_set add

command. See Adding a Disk to a

Diskset on page 5-12 for information on adding disks to a diskset.
You can also remove disks from a diskset using the

disk_set

remove

command. See Removing a Disk from a Diskset on page 5-13

for information on removing disks from a diskset.

To display the number of disks in a diskset, use the

disk_set

list

command, as in the following example. In the example, the

Disks

column indicates that there is 1 disk in the diskset.

HPN0> disk_set list

Executing: disk_set list

Diskset ID Creator ID Owner

------------------- ------------------ ------------------

0x01be868c1d74a640 0xfafaf001007a1c00 \\.\HPN0

Disks Attached OS Managed Label Shared Spare

------ -------- ---------- ---------- ------ -----

1 NO NO Saturn YES YES

Displaying the Attached State of a Diskset

The

attached

attribute indicates if a diskset is attached. A diskset

in the attached state is available for use. A diskset in the detached
state is unavailable for use. You use the

disk_set attach

command to put a diskset in the attached state. See Attaching a
Diskset
on page 5-18 for information on attaching a diskset. You use
the

disk_set detach

command to put a diskset in the detached

state. See Detaching a Diskset on page 5-19 for information on
detaching a diskset.

To display whether a diskset is in the attached or detached state, use
the

disk_set list

command, as in the following example. In the

example, the Attached column indicates NO, which means that the
diskset is not attached.

HPN0> disk_set list

Advertising