- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Strange problem with make_tape_recovery comman...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 09:20 PM
07-21-2005 09:20 PM
Strange problem with make_tape_recovery command abd tape device
I have rp440 Server with Hp_UX 11i Installed.
Recently I am Facing a Problem .
I am a taking a Ignite Backup by using make_tape_recovery ..as below
/opt/ignite/bin/make_tape_recovery -A -v -a /dev/rmt/c3t3d0BESTn
This command is succesful from Command Line.
But when I schedule the same command from the crontab as
0 21 * * 3 /opt/ignite/bin/make_tape_recovery -A -v -a /dev/rmt/c3t3d0BESTn
The command fails with following error..
hppi005:/var/opt/ignite/recovery/latest >tail -10 recovery.log
System Recovery Archive
* Checking Versions of Ignite-UX filesets
ERROR: Failed to open tape device /dev/rmt/c3t3d0BESTn:Device busy (errno =
16).
ERROR: Check tape device failed.
======= 07/20/05 21:00:06 IST make_tape_recovery completed unsuccessfully
I am confused how command works fine from the CLI and fails from the crontab ..
There is no problem in the hardware or in the tape because the make_tape_recovery works fine from CLI with the same tape drive and tape.
Please suggest
Regards
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 09:36 PM
07-21-2005 09:36 PM
Re: Strange problem with make_tape_recovery command abd tape device
The error indicated that the tape drive was busy. Was there any other backup going on at the same time.
Another thing I would suggest is to redirect output of the command to a file & even stderror to a file. Your crontab entry then should look something like this.
#make_tape_recovery -A -v -a /dev/rmt/c3t3d0BESTn 2>&1 filename
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2005 09:28 AM
07-22-2005 09:28 AM
Re: Strange problem with make_tape_recovery command abd tape device
I've seen make_recovery fail and then work.
e.g.
1. power on tape drive.
2. Load tape (wait for lights on drive to show it's ready)
3. run make_tape_recovery.
It Fails
4. run make_tape_recovery
It works
I assumed there was something not initialize until I tried to access the tape the first time.
Why not put the make_tape_recovery in a script with some mt commands that rewind the tape first. Have the script make sure the rewinds work and then issue the make_tape_recovery command.
You can schedule the script through cron.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2005 02:45 PM
07-23-2005 02:45 PM
Re: Strange problem with make_tape_recovery command abd tape device
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2005 07:37 PM
07-24-2005 07:37 PM
Re: Strange problem with make_tape_recovery command abd tape device
Thanks for your answers.
I will definately Write a script for backup..
Devender : I checked there was no backup running at that point.
Also the Fact that the same command works from CLI means the tape drive ,tape everything is ok ..
To Add more
When I schedule the ignite bacup in crontab
But If I use the tape /dev/rmt/0mn.
The crontab works ....
Is there any difference between /dev/rmt/0mn
and /dev/rmt/c3t3d0BESTn
Thanks Again
Regards
Sagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 08:59 PM
07-28-2005 08:59 PM
Re: Strange problem with make_tape_recovery command abd tape device
This solution gave me an idea to diagnose tape_drive problems