How to detect new drives on Alpha Tru64

How to detect new drives on Alpha Tru64

1.First see current configuration:
# hwmgr -show scsi

2.Than rescan the bus:
# hwmgr -scan scsi

3.If everything was OK, you would see tape with:
# hwmgr -show scsi

Example:
# hwmgr -show scsi

SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
33: 0 cel060 disk none 2 1 dsk0 [0/1/0]
34: 1 cel060 disk none 2 1 dsk1 [0/2/0]
35: 2 cel060 disk none 2 1 dsk2 [0/3/0]
36: 3 cel060 disk none 2 1 dsk3 [0/4/0]
39: 6 cel060 disk none 2 2 dsk6 [1/1/0]
43: 10 cel060 disk none 2 2 dsk10 [4/0/1]
44: 11 cel060 disk none 2 2 dsk11 [4/1/0]
47: 14 cel060 disk none 2 2 dsk14 [4/2/1]
49: 16 cel060 disk none 2 2 dsk16 [4/3/1]
54: 21 cel060 disk none 2 2 dsk18 [1/0/2]
55: 22 cel060 disk none 2 2 dsk19 [1/0/4]
65: 24 cel060 disk none 2 2 dsk21 [6/2/0]
66: 25 cel060 disk none 2 2 dsk22 [6/3/0]
68: 27 cel060 cdrom none 0 1 cdrom1 [5/5/0]
69: 28 cel060 changer none 0 2 mc0 [7/0/0]
70: 29 cel060 tape none 0 2 tape2 [7/4/0]
73: 4 cel060 disk none 2 2 dsk20 [6/1/0]
76: 5 cel060 disk none 2 1 dsk27 [0/5/0]
77: 7 cel060 disk none 2 1 dsk28 [6/4/0]
78: 8 cel060 disk none 2 1 dsk29 [6/5/0]
87: 9 cel060 disk none 0 2 (null)
88: 12 cel060 disk none 0 2 (null)
89: 13 cel060 disk none 0 2 (null)
90: 15 cel060 disk none 0 2 (null)
91: 17 cel060 disk none 0 2 (null)
92: 18 cel060 disk none 0 2 (null)
93: 19 cel060 raid none 0 8 scp0 [9/0/0]
94: 20 cel060 disk none 2 8 dsk36 [8/0/4]
95: 23 cel060 disk none 2 8 dsk37 [8/0/104]
107: 26 cel060 tape none 0 1 tape3 [11/0/0]
108: 30 cel060 tape none 0 1 tape4 [11/1/0]
109: 31 cel060 tape none 0 1 (null)
110: 32 cel060 tape none 0 1 tape6 [10/1/0]
111: 33 cel060 tape none 0 1 tape7 [10/0/0]
112: 34 cel060 tape none 0 1 tape8 [10/4/0]
113: 35 cel060 tape none 0 1 tape9 [11/2/0]
114: 36 cel060 tape none 0 1 tape10 [10/5/0]
115: 37 cel060 tape none 0 1 tape11 [11/3/0]
# hwmgr -show scsi | grep -i tape
70: 29 cel060 tape none 0 2 tape2 [7/4/0]
107: 26 cel060 tape none 0 1 tape3 [11/0/0]
108: 30 cel060 tape none 0 1 tape4 [11/1/0]
109: 31 cel060 tape none 0 1 (null)
110: 32 cel060 tape none 0 1 tape6 [10/1/0]
111: 33 cel060 tape none 0 1 tape7 [10/0/0]
112: 34 cel060 tape none 0 1 tape8 [10/4/0]
113: 35 cel060 tape none 0 1 tape9 [11/2/0]
114: 36 cel060 tape none 0 1 tape10 [10/5/0]
115: 37 cel060 tape none 0 1 tape11 [11/3/0]
# cd /dev/tape
# ls
tape10 tape10_d7 tape11_d5 tape2_d3 tape3_d1 tape4 tape4_d7 tape5_d5 tape6_d3 tape7_d1 tape8 tape8_d7 tape9_d5
tape10_d0 tape10c tape11_d6 tape2_d4 tape3_d2 tape4_d0 tape4c tape5_d6 tape6_d4 tape7_d2 tape8_d0 tape8c tape9_d6
tape10_d1 tape11 tape11_d7 tape2_d5 tape3_d3 tape4_d1 tape5 tape5_d7 tape6_d5 tape7_d3 tape8_d1 tape9 tape9_d7
tape10_d2 tape11_d0 tape11c tape2_d6 tape3_d4 tape4_d2 tape5_d0 tape5c tape6_d6 tape7_d4 tape8_d2 tape9_d0 tape9c
tape10_d3 tape11_d1 tape2 tape2_d7 tape3_d5 tape4_d3 tape5_d1 tape6 tape6_d7 tape7_d5 tape8_d3 tape9_d1
tape10_d4 tape11_d2 tape2_d0 tape2c tape3_d6 tape4_d4 tape5_d2 tape6_d0 tape6c tape7_d6 tape8_d4 tape9_d2
tape10_d5 tape11_d3 tape2_d1 tape3 tape3_d7 tape4_d5 tape5_d3 tape6_d1 tape7 tape7_d7 tape8_d5 tape9_d3
tape10_d6 tape11_d4 tape2_d2 tape3_d0 tape3c tape4_d6 tape5_d4 tape6_d2 tape7_d0 tape7c tape8_d6 tape9_d4
#




0 comments: