1833056 Members
2491 Online
110049 Solutions
New Discussion

os backup

 
SOLVED
Go to solution
navin
Super Advisor

os backup

Is there any specific command that can help unload the tape from a hp server's tape drive.
Thanks
Learning ...
7 REPLIES 7
HGN
Honored Contributor

Re: os backup

Hi

You can do a
mt offl (which will rewind and go offline) and then can be ejected.

Not sure if this is what you where looking for.

Rgds

HGN
A. Clay Stephenson
Acclaimed Contributor

Re: os backup

Take a look at the mt command. 'offl' is your boy, probably. Man mt for details. When you don't bother to identify the tape drive type, it's difficult to be specific but for most standalone drives 'offl' will do it. If you have OmniBack or Data Protector, you also have access to the uma commmand which will do even more. Man uma for details.
If it ain't broke, I can fix that.
navin
Super Advisor

Re: os backup

Actually the problem is , the tape is stuck .And i want to unload it from tape drive.
Thanks for your responses.
Learning ...
Patrick Wallek
Honored Contributor
Solution

Re: os backup

Well now, that's a different story. If the tape is physically stuck, then no unix command will help much. What type of tape drive is it?

If the drive has a power switch, you can try turning the drive off and then back on and see if that forces it to eject.

Some of our DDS drives are in enclosures where the whole drive slides in and the drive does not have a power switch. In the past we have pulled the drive from the enclosure enough for it to power down and the pushed it back in.

If none of those work you might have to replace the drive.
navin
Super Advisor

Re: os backup

Thank you for your time and for the brief reply.I will try that. The mt offl command was giving "/dev/rmt/0mnb: I/O error" .So you may be correct.The problem is with drive.
Thanks
Learning ...
navin
Super Advisor

Re: os backup

Thanks for your help. The power off/on on a tape array have fixed the problem. I was wondering that there is no commnd used at the unix level to make recognize the tape array when i powered it on again.
Learning ...
Devender Khatana
Honored Contributor

Re: os backup

Hi,

In both above scenario, the problem may be with media also and the drive. Have you tried replacing that?

Which drive is this & is the media compatible?

HTH,
Devender
Impossible itself mentions "I m possible"