cancel
Showing results for 
Search instead for 
Did you mean: 

Device numbering

SOLVED
Go to solution
Larry Basford
Regular Advisor

Device numbering

How can I set the tape drive back to 0 for my 4mm and 1 for my DLT?
I am moving a Lawson system from a D380 to a K370. ( yea I know ) I booted the D's recovery tape to setup the K.
Now my DLT is /dev/rmt/2m and 4mm is /dev/rmt/3m
Also predictive setup /dev/cul2p7
not /dev/cul0p7 like on my other K's
Desaster recovery? Right !
4 REPLIES
MANOJ SRIVASTAVA
Honored Contributor

Re: Device numbering

Hi Larry

Please go the /dev/rmt directory and note down the major and minor nos for both the devices . Delete the associated device files and then recreate is using mknod command by interchanging the major/minor for one with the major /minor of the other. This should do the trick.


Manoj Srivastava
Larry Basford
Regular Advisor

Re: Device numbering

What I need
# ioscan -f|grep tape
tape 0 10/4/8.6.0 tape2 CLAIMED DEVICE DEC DLT2000 15/30 GB
tape 1 10/12/5.0.0 stape CLAIMED DEVICE HP HP35480A


what I get
# ioscan -f|grep tape
tape 2 10/4/8.6.0 tape2 CLAIMED DEVICE DEC DLT2000 15/30 GB
tape 3 10/12/5.0.0 stape CLAIMED DEVICE HP HP35480A
Desaster recovery? Right !
Juan González
Trusted Contributor
Solution

Re: Device numbering

Hi Larry,
the X in /dev/rmt/Xm matches with the instance number of the tape device, so it's which you have to change.
It's no easy.I append an example of how to do it.

Best regards
JGM

Carlos Fernandez Riera
Honored Contributor

Re: Device numbering

Juan:

changing ioinit is very usefull in other ciscustances.
I think taht for this question is enough with ( see duplicated question):http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x55a7ee3e323bd5118fef0090279cd0f9,00.html
unsupported