Original question was : we have replaced a faulty tape drive in our HSZ by a
new one, what do I need to do to see it from Unix (V5.1A) without rebooting
the server ?
"hwmgr -show scsi" gave this output :
SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
0: 18 gnvasapps tape none 0 1 (null) [2/6/0]
51: 4 gnvasapps tape none 0 1 tape0 [2/3/0]
52: 5 gnvasapps tape none 4 1 tape1
70: 12 gnvasapps tape none 0 1 tape2 [1/3/1]
Tape 0 and tape2 were already present, the replaced tape was tape1 on
bus-2-targ-6-lun-0.
hwmgr -scan scsi did not show up any new device.
Solution :
First delete the null device : hwmgr delete -did 18
Then after hwmgr -scan scsi, I had :
SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
51: 4 gnvasapps tape none 0 1 tape0 [2/3/0]
52: 5 gnvasapps tape none 4 1 tape1
70: 12 gnvasapps tape none 0 1 tape2 [1/3/1]
83: 18 gnvasapps tape none 0 1 tape6 [2/6/0]
The attempt to swap tape6 and tape1 (dsfmgr -m tape6 tape1) failed with the
error : "dsfmgr: ERROR: second device status is active: tape1".
The attempt to delete the component 52 (-delete component -id 52) failed
also with the error "hwmgr: Error (95) Cannot start operation". In fact, it
cannot be deleted because the driver owner is 4 (should be 0).
Finally, I just did this :
dsfmgr -m tape1 tape7
dsfmgr -m tape6 tape1
and now, it looks like this :
SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
51: 4 gnvasapps tape none 0 1 tape0 [2/3/0]
52: 5 gnvasapps tape none 4 1 tape7
70: 12 gnvasapps tape none 0 1 tape2 [1/3/1]
83: 18 gnvasapps tape none 0 1 tape1 [2/6/0]
Everything is fine now. At the next reboot, I should be able to delete the
component 52.
Special thanks to Shaun Racine and Andrew Tolmie !
Michel Berger
Data Base Administrator
Tel (+41 22) 717 21 53
Internet : berger_at_ebu.ch
European Broadcasting Union
Ancienne Route, 17A
CH-1218 Geneva / Switzerland
-----------------------------------------
**************************************************
This email and any files transmitted with it
are confidential and intended solely for the
use of the individual or entity to whom they
are addressed.
If you have received this email in error,
please notify the system manager.
This footnote also confirms that this email
message has been swept by the mailgateway
**************************************************
Received on Wed May 21 2008 - 10:23:19 NZST