Operating System - HP-UX
1834150 Members
2171 Online
110064 Solutions
New Discussion

Ultrium 2-SCSI device file

 
SOLVED
Go to solution
ANDRE David
Occasional Advisor

Ultrium 2-SCSI device file

Hi,

i have a tape Ultrium 2-SCSI on san environment. On the san, i have 4 machines.
3 machines have the follow configuration :
tape 1 0/7/0/0.99.76.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/0m /dev/rmt/0mn
/dev/rmt/c16t0d1BEST /dev/rmt/c16t0d1BESTn
/dev/rmt/0mb /dev/rmt/0mnb
/dev/rmt/c16t0d1BESTb /dev/rmt/c16t0d1BESTnb

on the 4th machine, i have
tape 1 0/7/0/0.99.76.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/1m /dev/rmt/1mn
/dev/rmt/c16t0d1BEST /dev/rmt/c16t0d1BESTn
/dev/rmt/1mb /dev/rmt/1mnb
/dev/rmt/c16t0d1BESTb /dev/rmt/c16t0d1BESTnb

the reason is probably because i have another tape (DAT) connected directly via SCSI on this machine.
I remove this tape and rebooted the machine.
But the device file is still 1m.
How can i change the file 1m.. to 0m ..

Thanks.

David
1 REPLY 1
Rgomes
Valued Contributor
Solution

Re: Ultrium 2-SCSI device file

Hi David,

Although I didn't do it before, but I hope this will do:


#ioscan -fnCtape
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 0/0/1/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/c0t3d0BESTn
/dev/rmt/0mb /dev/rmt/c0t3d0BESTnb
/dev/rmt/0mn /dev/rmt/c0t3d0DDS
/dev/rmt/0mnb /dev/rmt/c0t3d0DDSb
/dev/rmt/c0t3d0BEST /dev/rmt/c0t3d0DDSn
/dev/rmt/c0t3d0BESTb /dev/rmt/c0t3d0DDSnb
tape 1 0/12/0/0.3.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/1m /dev/rmt/c3t3d0BESTn
/dev/rmt/1mb /dev/rmt/c3t3d0BESTnb
/dev/rmt/1mn /dev/rmt/dlt4000a
/dev/rmt/1mnb /dev/rmt/dlt4000b
/dev/rmt/c3t3d0BEST /dev/rmt/dlt4006
/dev/rmt/c3t3d0BESTb

Ok, to change the instance number of the C1537A, i.e. 0, for the instance number of the DLT8000, i.e. 1.

You have to make a file like this:

-------- BEGIN file ----------
0/0/1/0.3.0 tape 1
0/12/0/0.3.0 tape 0

-------- END file -------------

Say this file is io.tmp

Be care that if you have another tape device with the instance number you want to get
you must change it too.

Then execute
#ioinit -f io.tmp
then reboot the server

After the server reboot execute
#insf -e

#ioscan -fnCtape

Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 0 0/12/0/0.3.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/0m /dev/rmt/c3t3d0BESTn
/dev/rmt/0mb /dev/rmt/c3t3d0BESTnb
/dev/rmt/0mn /dev/rmt/dlt4000a
/dev/rmt/0mnb /dev/rmt/dlt4000b
/dev/rmt/c3t3d0BEST /dev/rmt/dlt4006
/dev/rmt/c3t3d0BESTb
tape 1 0/0/1/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/1m /dev/rmt/c0t3d0BESTn
/dev/rmt/1mb /dev/rmt/c0t3d0BESTnb
/dev/rmt/1mn /dev/rmt/c0t3d0DDS
/dev/rmt/1mnb /dev/rmt/c0t3d0DDSb
/dev/rmt/c0t3d0BEST /dev/rmt/c0t3d0DDSn
/dev/rmt/c0t3d0BESTb /dev/rmt/c0t3d0DDSnb

HTH,
Richard