Verifying fibre-channel attachment to Tru64 UNIX

This section contains steps you must perform to verify the fibre-channel attachment of the storage unit volumes to the Tru64 UNIX® host system.

For Tru64 UNIX 5.x:
  1. Use the hwmgr command to verify the attachment of the storage unit volumes for Tru64 5.x. Figure 1 shows an example of the commands you can use to verify the attachment of the storage unit volumes.
    Figure 1. Example of the hwmgr command to verify attachment
    # 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
    			:
    			:
  2. Use the example Korn shell script, called dsvol, shown in Figure 2, to display a summary that includes information for all the storage unit volumes that are attached.
    Figure 2. Example of a Korn shell script to display a summary of storage unit volumes
    echo Extracting DS volume information...
    for ID in `hwmgr -view dev -cat disk | grep ibm1750 | awk '{ print $1}'`
    do echo; echo DS vol, H/W ID $ID
    hwmgr -get attrib -id $ID | awk '/phys_loc//dev_base//capacity//serial/'
    done
    Figure 3 shows an example of what displays when you execute the dsvol korn shell script.
    Note: You can see storage unit volumes 282, 283, and 284 as LUNS 0, 1, and 2 respectively. You can access the LUNs in the Tru64 UNIX by using the following special device files:
    • /dev/rdisk/dsk3
    • /dev/rdisk/dsk4
    • /dev/rdisk/dsk5
Figure 3. Example of the Korn shell script output
# ./dsvol | more
Extracting DS 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

DS 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
DS 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
#
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.