1827124 Members
4068 Online
109714 Solutions
New Discussion

tape device change

 
SOLVED
Go to solution
Thomas Kopp
Occasional Advisor

tape device change

Moin,
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 1 0/0/1/0.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/1m /dev/rmt/c0t1d0BESTn
/dev/rmt/1mb /dev/rmt/c0t1d0BESTnb
/dev/rmt/1mn /dev/rmt/c0t1d0DDS
/dev/rmt/1mnb /dev/rmt/c0t1d0DDSb
/dev/rmt/c0t1d0BEST /dev/rmt/c0t1d0DDSn
/dev/rmt/c0t1d0BESTb /dev/rmt/c0t1d0DDSnb

how do I change the tape device to /dev/rmt/0xx??
- do I have do change the SCSI ID or
- do remove device driver with rmsf ..

Thanks for help
Thomas
3 REPLIES 3
Tim Sanko
Trusted Contributor

Re: tape device change

There are several ways.

There are always symbolic links, but I would prefer rmsf -H X/X/X/X
ioscan -fnC tape
insf

Pete Randall
Outstanding Contributor
Solution

Re: tape device change

Thomas,

You can make the device files yourself and name them whatever you like. See the explanation in this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5cb97680e012d71190050090279cd0f9,00.html


Pete

Pete
Michael Steele_2
Honored Contributor

Re: tape device change

Easier to change the application values I think.

If I understand your question, you want to change the SCSI target ID's. There are procedures, but, like I said, I would change the application first.

Procedure I

a) ioscan -fnkC tape | grep -e INTERFACE -e DEVICE | grep -v target | awk '{ print $3, $1 $2 }' > /file

NOTE: store file in / (root).

b) vi /file and make changes.

c) init 1 (* don't reboot and come up to init 1 through single user *)

d) /sbin/ioinit -f /file -r

e) automatic reboot

f) Will fail if instance now bound to other HW.

Procedure II

a) Repeat Ia
b) Repeat Ib
c) mv /stand/ioconfig /stand/ioconfig.sav

mv /etc/ioconfig /etc/ioconfig.sav

d) Due to missing ioconfig file system will stop at
ioinitrc:: # /sbin/ioinit -c
ioinitrc:: # /sbin/init -f /infile -r

e) reboots automatically.
Support Fatherhood - Stop Family Law