Operating System - HP-UX
1845038 Members
2480 Online
110233 Solutions
New Discussion

un able to use tape drive in hpux

 
Problem
Advisor

un able to use tape drive in hpux

i am using hpux my old tape drive (external ) had someproble so i replaced the taoe drive
but noe i have done i am unable to use my tape drive.
I have tried the fallowing commnds.
ioscan
ioscan -Fn
ioscan -Ctape -fn
insf -e

and when enter the command mt rew

#mt rew
/dev/rmt/0mnb: No such device or address

i get the fallowing error.

Some one plzz tell me how can i make it work agian.

thanks and regard
Rohit nagare

21 REPLIES 21
Robert-Jan Goossens
Honored Contributor

Re: un able to use tape drive in hpux

Hi,

Could you post or attach the ioscan -fn output?

Is the stape driver configured in your kernel?

SAM->Kernel Configuration->Drivers

Regards,
Robert-Jan
Problem
Advisor

Re: un able to use tape drive in hpux

Hi robert
Good afternoon
Thanks for the replay.

tape 1 10/0/15/0.5.0 stape CLAIMED DEVICE SONY SDT-9000
/dev/rmt/1m /dev/rmt/c2t5d0BEST /dev/rmt/c2t5d0DDS
/dev/rmt/1mb /dev/rmt/c2t5d0BESTb /dev/rmt/c2t5d0DDSb
/dev/rmt/1mn /dev/rmt/c2t5d0BESTn /dev/rmt/c2t5d0DDSn
/dev/rmt/1mnb /dev/rmt/c2t5d0BESTnb /dev/rmt/c2t5d0DDSnb

Sandeep_Chaudhary
Trusted Contributor

Re: un able to use tape drive in hpux

try to chage the scsi id switch setting on tape drive a nd reconnect the tape drive.
run:
#ioscan
#insf
see wether drivers got installed or not

u can also try insf -e

ioscan -funCtape|grep -i tape

see the path

mt -f /dev/rmt/xmn rew
MarkSyder
Honored Contributor

Re: un able to use tape drive in hpux

You have run your mt rew command with a tape device of 0, but ioscan shows 1. Replace the 0 with a 1 and try again.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Problem
Advisor

Re: un able to use tape drive in hpux

Hi sandeep

i tried
# ioscan -funCtape|grep -i tape
tape 0 10/0/15/0.3.0 stape NO_HW DEVICE HP C1533A
tape 1 10/0/15/0.5.0 stape CLAIMED DEVICE SONY SDT-9000

i get the fallowing message.
Robert-Jan Goossens
Honored Contributor

Re: un able to use tape drive in hpux

Hi,

Mark gave you the answer.

#mt rew
/dev/rmt/0mnb: No such device or address

If you use mt without defining a device it will use the default 0mnb device.

Try to use

# mt -t /dev/rmt/1mnb rew

Regards,
Robert-Jan
Problem
Advisor

Re: un able to use tape drive in hpux

Hi
i just tried
#mt rew

the also it dont work.


Problem
Advisor

Re: un able to use tape drive in hpux

Hi

I tried as

#mt rew /dev/rmt/0mn

#mt rew /dev/rmt/1mn

#mt rew /dev/rmt/0mnb

# mt rew /dev/1mnb


then aslo it dont work
Robert-Jan Goossens
Honored Contributor

Re: un able to use tape drive in hpux

Could you post

# ls -la /dev/rmt/1*

and

# mt -f /dev/rmt/1mnb status
Sandeep_Chaudhary
Trusted Contributor

Re: un able to use tape drive in hpux

mt -f /dev/rmt/1mn rew



this is enough
Problem
Advisor

Re: un able to use tape drive in hpux

Hi

Sandee

i tried the

# mt -f /dev/rmt/1mn rew
#

but it comes agian to hash promt.


Pete Randall
Outstanding Contributor

Re: un able to use tape drive in hpux

The drive has a new device file. You can simply rename this, like so

tape 1 10/0/15/0.5.0 stape CLAIMED DEVICE SONY SDT-9000
mv /dev/rmt/1m /dev/rmt/0m
mv /dev/rmt/1mb /dev/rmt/0mb
mv /dev/rmt/1mn /dev/rmt/0mn
mv /dev/rmt/1mnb /dev/rmt/0mnb

Then you will have you default drive back and "mt rew" will work.


Pete

Pete
MarkSyder
Honored Contributor

Re: un able to use tape drive in hpux

"i tried the

# mt -f /dev/rmt/1mn rew
#

but it comes agian to hash promt"

Without an error message? That would suggest success.

Mark
The triumph of evil requires only that good men do nothing
Problem
Advisor

Re: un able to use tape drive in hpux

hi

Pete

ur command worked but
when i enter this command as u said

# mv /dev/rmt/1m /dev/rmt/0m
# mv /dev/rmt/1mb /dev/rmt/0mb
# mv /dev/rmt/1mn /dev/rmt/0mn
# mv /dev/rmt/1mnb /dev/rmt/0mnb

and when i do

#mt rew
#

it comes agin to hash promt but unable to rewind the tape.

Thanks & regards
Rohit
Problem
Advisor

Re: un able to use tape drive in hpux

i am still not able to use my tape drive as said by pete
i tried to rename the rmt files

but when i enter

#mt rew
#

it comes agin to hash promt and unable to rewind the tape


Rohit
Pete Randall
Outstanding Contributor

Re: un able to use tape drive in hpux

> it comes agin to hash promt and unable to rewind the tape

exactly as it should. There is no response from a successful rewind command.


Pete

Pete
Vihang.
Trusted Contributor

Re: un able to use tape drive in hpux

Hi Rohit,

If it comes back to hash prompt after you run mt rew, this means that the tape rewinding is successful. You should now run "mt status". It will show you something like the below.

Status: [41114200] BOT online compression immediate-report-mode.

The BOT in the above output means "Beginning Of Tape", which means the rewinding is successful.


Regards,
Vihang.
Problem
Advisor

Re: un able to use tape drive in hpux

Hi Friends

As pet pete his command worked and now i am able to rewind the tape, And my system backup is working fine.


Thank You all for ur good support
Rohit Nagare
Vihang.
Trusted Contributor

Re: un able to use tape drive in hpux

Hi Rohit,

Please consider assigning points to the answers that have helped you.


Regards,
Vihang.
Problem
Advisor

Re: un able to use tape drive in hpux

Hi Pete

Your comand helped me.

Rohit
Pete Randall
Outstanding Contributor

Re: un able to use tape drive in hpux

Rohit,

You're welcome.


Pete

Pete