Operating System - HP-UX
1832956 Members
2629 Online
110048 Solutions
New Discussion

Re: Problem with Ultrium device files

 
Michal Pytka
Occasional Contributor

Problem with Ultrium device files

I try to connect ULtriums (1 and 2) do my L2000 (HP-UX 11.00).
I do it with different cables and different drives.
When I put good tape to drive, I can only use devices with no-rewind option (/dev/rmt/1mn, /dev/rmt/2mn, /dev/rmt/3mn).

I can't perform such actions as rewinding or offlining the tape with devices /dev/rmt/1m, /dev/rmt/2m, /dev/rmt/3m.

I get an error: INVALID ARGUMENT.

Restart the system doesn't help.
I need any device /dev/xm to perform a restore with Omniback.
Please help.
6 REPLIES 6
Bernhard Mueller
Honored Contributor

Re: Problem with Ultrium device files

Hi,

do you have the latest stape driver?
did you rmsf the device files and insf -e
new ones?

Regards,
Bernhard
Michal Pytka
Occasional Contributor

Re: Problem with Ultrium device files

Yes, I have latest stape driver.
I also performed rmsf and insf.
Doesn't help.
Michal Pytka
Occasional Contributor

Re: Problem with Ultrium device files

Some info:

server:# mt -t /dev/rmt/3mn rew
server:# mt -t /dev/rmt/3mn fsf 1
server:# mt -t /dev/rmt/3mn fsf 1
server:# mt -t /dev/rmt/3mn rew
server: #mt -t /dev/rmt/3m rew
/dev/rmt/3m: Invalid argument
server:# mt -t /dev/rmt/3m fsf 1
/dev/rmt/3m: Invalid argument
server:# mt -t /dev/rmt/3m status
on tape open: Invalid argument
server:# mt -t /dev/rmt/3m fsf 1
/dev/rmt/3m: Invalid argument
Bernhard Mueller
Honored Contributor

Re: Problem with Ultrium device files

did you have different tape drives DDS/DLT attached at the same HW path before?
Michal Pytka
Occasional Contributor

Re: Problem with Ultrium device files

Yes, but server was rebooted.
After reboot it sees only one drive attached (currently there is a one attached).

ioscan also sees one drive.
Joachim Weber_1
Advisor

Re: Problem with Ultrium device files

Some days ago I had the same problem and was told the fact that only the no rewind drivers work is related to a kernel parameter st_san_safe=1. Luckily I could rewind and set tapes offline with
mt -t /dev/rmt/?mn [rew|offl]. Maybe this helps.