Specifications
Figure 12 shows an example of the Korn shell script called essvol. Figure 12 shows
a summary that includes information for all the ESS volumes that are attached.
See Figure 13 for an example of what displays when you execute the essvol korn
shell script.
Note: ESS volumes 282, 283, and 284 are displayed as LUNs 0, 1, and 2,
respectively. You can access the LUNs in Tru64 UNIX by using the following
special device files:
v /dev/rdisk/dsk3
v /dev/rdisk/dsk4
v /dev/rdisk/dsk5
Setting up the Tru64 UNIX device parameter database
Perform the following steps to set up the Tru64 UNIX device parameter database.
Note: For a clustered configuration, you must perform these steps for each
member in the cluster.
1. Quiesce the storage
2. Place the system in single-user mode.
3. Login as root.
4. Change the directory to /etc
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 12. Example of a Korn shell script to display a summary of ESS volumes
# ./essvol |more
Extracting ESS volume information...ESS vol, H/W ID 38:
phys_location = bus-2-targ-0-lun-0
dev_base_name = dsk3
capacity = 5859392
serial_number = SCSI-WWID:01000010:6000-1fe1-4942-4d20-0000-0000-2821-5660
ESS vol, H/W ID 39:
phys_location = bus-2-targ-0-lun-1
dev_base_name = dsk4
capacity = 5859392
serial_number = SCSI-WWID:01000010:6000-1fe1-4942-4d20-0000-0000-2831-5660
ESS vol, H/W ID 40:
phys_location = bus-2-targ-0-lun-2
dev_base_name = dsk5
capacity = 5859392
serial_number = SCSI-WWID:01000010:6000-1fe1-4942-4d20-0000-0000-2841-5660
#
Figure 13. Example of what is displayed when you execute the Korn shell script
Chapter 2. Attaching to a Compaq host 25
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|