Operating System - HP-UX
1832231 Members
2764 Online
110041 Solutions
New Discussion

How to get /dev/rmt/0mn back?

 
SOLVED
Go to solution
Alzhy
Honored Contributor

How to get /dev/rmt/0mn back?

An nPar has undergone several iterations of Cell and HBA moves.. everything got rebuilt, LVM fixed, etc.. etc.. etc.. However, I cannot seem to have my /dev/rmt/0mn (which is the DDS device on the CoreIO) -- and which is used by our make_tape_recovery scripts.. I have done insf and ioscan.. to no avail. I was thinking of wiping clean /*/ioconfig but...

I am thinking of just manually mknod'ing each rmt entry (ie. for mn nb...).. which should work.. but is there an easy fix so I always have my beloved /dev/rmt/0mn entry back?

No I would not take the suggestion of "change you make_net_recovery so you have -a on there"..

Gracias.
Hakuna Matata.
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: How to get /dev/rmt/0mn back?

Nelson,

I'm attaching a method to create device files with names of your own choosing. I've used it in the past for just such a situation.


Pete

Pete
Omololu Shobayo
Frequent Advisor

Re: How to get /dev/rmt/0mn back?

you can actually use mksf command to accomplish this. However, you must make sure the tape is recogniced by the server.

mksf -C tape -I ? /dev/rmt/0m

where the I is the instance assigned when you use ioscan -fnC tape.
Omololu Shobayo
Frequent Advisor
Solution

Re: How to get /dev/rmt/0mn back?

sorry, I take that back.

the ? is the instance number and I is an option. i.e

it sshould be
mksf -C tape -I ? /dev/rmt/0m
Donny Jekels
Respected Contributor

Re: How to get /dev/rmt/0mn back?

Nelson,

what is the hw you are using for the nPar?
"Vision, is the art of seeing the invisible"
Miguel Angel Aliaga_1
Occasional Advisor

Re: How to get /dev/rmt/0mn back?

Try "insf -e"
Alzhy
Honored Contributor

Re: How to get /dev/rmt/0mn back?

mknod - okay but tedious
mksf - easy
rm /etc/ioconfig /stand/ioconfig ;reboot - U kidding?

All works...!

The HW is a SD32000...
Hakuna Matata.
Geoff Wild
Honored Contributor

Re: How to get /dev/rmt/0mn back?

Have you tried

insf -H "hw-path to tape drive"

or

insf -C tape

Check the PDC firmware version - maybe you need to update it....contact HP Support

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.