Machine Administration Guide 2.6
Contents Index PreviousNext

Chapter 4 Command Reference

4.7 diskswap (1M)

Name
diskswap - Hot swappable disk display/setting command
Format
/usr/sbin/FJSVmadm/diskswap subcommand
Function
Displays the list of the hot-swappable disks, and adds or deletes disks on the list.
Subcommands
The subcommands are:

dsp

Function
Displays the list of hot-swappable disks.
Displays the full path names of the hot-swappable disks on the list.
Nothing is displayed when there is no hot swappable disk.

detail

Function
Displays the detailed list of the hot-swappable disks.
The detailed list contains the following information.
Nothing is displayed when there is no hot swappable disk.
- Full path name of the disk
- Vendor
- Product
- Revision
- Serial No.

add drive_pathname

Function
Adds the disk specified by drive_pathname to the list of hot-swappable disks. Specify the full path name of the disk in drive_pathname.

del drive_pathname

Function
Deletes the disk specified by drive_pathname from the list of hot-swappable disks. Specify the full path name of the disk in drive_pathname.
Example of use
The following shows an example of a list of hot-swappable disks.
# /usr/sbin/FJSVmadm/diskswap dsp
/dev/rdsk/c0t1d0s0
/dev/rdsk/c0t2d0s0

The following shows an example of a detailed list of hot-swappable disks.

# /usr/sbin/FJSVmadm/diskswap detail
/dev/rdsk/c0t1d0s0:sd1:Vendor: FUJITSU  Product: M2954E-512         Revision: 0147 Serial No:
/dev/rdsk/c0t2d0s0:sd2:Vendor: FUJITSU  Product: M2952E-512         Revision: 0142 Serial No:

The following shows a case when /dev/rdsk/c0t1d0s0 is added to the list of hot-swappable disks.

# /usr/sbin/FJSVmadm/diskswap add /dev/rdsk/c0t1d0s0
End status
The end status can be:
0: Normal end
1: Error
Related item
chgdisk (1M)

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2001-2005
All Rights Reserved, Copyright (C) PFU LIMITED 2001-2005