1834296 Members
2415 Online
110066 Solutions
New Discussion

Re: tape device files

 
jasper_2
Occasional Advisor

tape device files

hi,

i need some refresher here.

how do i cleanup my device files at /dev/rmt and recreate it after i physically rearranged the drives including their instance number?

would appreciate detailed steps.
thanks in advance.

the chose is yours, we are the product of the choices we make...
6 REPLIES 6
Animesh Chakraborty
Honored Contributor

Re: tape device files

Hi,
After you have connected the tape drive into new path,do
#ioscan -fnC tape
#insf -e
then remove the old path using rmsf command
#rmsf .....
Did you take a backup?
Kenny Chau
Trusted Contributor

Re: tape device files

You can first use "rmsf" to remove the device file. Then use "insf" to re-install them. You can man these commands for information.

Hope this helps.
Kenny.
Kenny
Choi Eun Kyoung
Occasional Advisor

Re: tape device files

If new device file create, you can as below
(ex)
# cd/dev
# insf -H 52.0.0

After message display : no such device in the system

# rmsf -H 52.0.0
# insf -e
: insf will create device files for new devices. It will also update /etc/ioconfig and the kernel tree
Bill Hassell
Honored Contributor

Re: tape device files

And just to add the third *sf command:

lssf /dev/rmt/*

to decode the special files.


Bill Hassell, sysadmin
jasper_2
Occasional Advisor

Re: tape device files

Ok...its done..


thanks for everyone's help..
the chose is yours, we are the product of the choices we make...
Animesh Chakraborty
Honored Contributor

Re: tape device files

Hi,
We are happy that your problem is solved.
But you have not assigned any one 8 to 10 points.
Did you require additional help?


N/A: The answer was simply a point of clarification to my original question
1- 3: The answer didn't really help answer my question but thanks for your assistance!
4- 7: The answer helped with a portion of my question, but I still need some additional help.
8-10: The answer has solved my problem completely! Now I'm a happy camper!
Did you take a backup?