Configuring The Storage For Fibre-Channel Tru64 Unix Hosts; Example Of A Korn Shell Script To Display A Summary Of Storage Unit Volumes; Example Of The Korn Shell Script Output - IBM TotalStorage DS6000 Attachment Manual

Host systems attachment guide
Hide thumbs Also See for TotalStorage DS6000:
Table of Contents

Advertisement

2. Use the example Korn shell script, called dsvol, shown in Figure 16, to display a
Figure 16. Example of a Korn shell script to display a summary of storage unit volumes
Figure 17. Example of the Korn shell script output

Configuring the storage for fibre-channel Tru64 UNIX hosts

This section lists the steps you must perform to configure the storage for
fibre-channel Tru64 UNIX host systems.
You can use the standard Tru64 storage configuration utilities to partition and
prepare storage unit LUNs and create and mount file systems.
Perform one of the following sets of steps to configure the storage for a Tru64 5.x
file system:
1. Perform the following steps to configure an AdvFS file system:
36
DS6000 Host Systems Attachment Guide
summary that includes information for all the storage unit volumes that are
attached.
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 17 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:
v /dev/rdisk/dsk3
v /dev/rdisk/dsk4
v /dev/rdisk/dsk5
# ./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
#
a. Type: # disklabel -wr /dev/rdisk/dsk6c
b. Type: # mkfdmn /dev/disk/dsk6c adomain

Advertisement

Table of Contents
loading

Table of Contents