Specifications
Verifying the attachment of the ESS volumes
To verify the attachment of the ESS volumes, use the hwmgr command. See
Figure 25 for an example of the commands you can use to verify the attachment of
the ESS volumes.
Figure 26 shows an example of the Korn shell script called essvol. Figure 26 shows
a summary that includes information for all the ESS volumes that are attached.
See Figure 27 on page 35 for an example of what displays when you execute the
essvol korn shell script.
# hwmgr -view dev -cat disk
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
54: /dev/disk/floppy0c 3.55in floppy fdi0-unit-0
60: /dev/disk/dsk1c DEC RZ2DD-LS (C) DEC bus-2-targ-0-lun-0
63: /dev/disk/cdrom0c COMPAQ CDR-8435 bus-5-targ-0-lun-0
66: /dev/disk/dsk5c IBM 2105F20 bus-0-targ-253-lun-0
67: /dev/disk/dsk6c IBM 2105F20 bus-0-targ-253-lun-1
68: /dev/disk/dsk7c IBM 2105F20 bus-0-targ-253-lun-2
:
:
# hwmgr –get attributes –id 66
66:
name = SCSI-WWID:01000010:6000-1fe1-0000-2b10-0009-9010-0323-0046
category = disk
sub_category = generic
architecture = SCSI
:
:
Figure 25. Example of what is displayed when you use the hwmgr command to verify
attachment
echo Extracting ESS volume information...
for ID in ′hwmgr -view dev -cat disk | grep 2105F20 | awk '{ print $1}'′
do echo; echo ESS vol, H/W ID $ID
hwmgr -get attrib -id $ID | awk '/phys_loc//dev_base//capacity//serial/'
done
Figure 26. Example of a Korn shell script to display a summary of ESS volumes
34 ESS Host Systems Attachment Guide
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|