Enhanced Support Facility 2.6 User's Guide
Contents Index PreviousNext

Part 1 SCF Driver Features> Chapter 3 Command Reference

3.3 diskadm(1M)

NAME

diskadm - Supports hot-swapping of disks

SYNOPSIS

/opt/FJSVhwr/sbin/diskadm subcommand pathname ...

AVAILABILITY

FJSVscu, FJSVlscu, FJSVpscu, FJSVscu1, FJSVscu2, FJSVscu3

DESCRIPTION

diskadm supports hot-swapping of disks.
This command displays disk status.
The command line must contain one subcommand and at least one pathname.
For pathname, you can specify a physical name, logical name or logical controller number cN (N is the logical number of the controller).

Example:

Physical name
/devices/pci@1f,4000/..../sd@0,0:a
Logical name
/dev/rdsk/c0t0d0s0
Controller number
c0

EXAMPLE

subcommand

display pathname
Displays the status information on specified disks. You can specify several path names for pathname in a single command line.
The following example shows how information is displayed.
For disks to which power is being supplied, diskadm checks them and displays status information.
For disks to which power is not supplied, diskadm displays OFFLINE for status information.
ONLINE
Power is being supplied
OFFLINE
Power is not being supplied
BROKEN?
Disk controller is not responding or disk is not installed
NOTE: You must specify a path name containing a disk slice identifier that is assigned to the existing disk slice.
1) Controller specified. (Example: Installed target: 0, 2, 3, 4)
# diskadm display c0
Controller is : /device/....    (c0)
Device Status:
     Target0      Target2      Target3      Target4
     ONLINE       OFFLINE      ONLINE       ONLINE
Targets corresponding to existing device path are displayed.
2) Disk specified. (Example: Installed target: 0, 3)
# diskadm display /dev/rdsk/c0t0d0s2 /dev/rdsk/c0t3d0s2
Controller is: /device/......
Device Status:
     Target0      Target3
     ONLINE       OFFLINE

NOTES

Only the super user can execute this command.

EXIT STATUS

This command returns the following values:

0
Ended normally
1
Error

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005