- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- frecover and fbackup
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
03-28-2003 11:50 AM
03-28-2003 11:50 AM
Is it possible to "break" frecover? A user wanted me to use a tape created on Server1 in January to recover a directory to Server2;
when I went to recover the tape index to find out if that directory even
existed on the tape, I got the following error messages:
/ (root on Server2):frecover -I /tmp/fbackup.011003.index -v -f /dev/rmt/0m
frecover(2105): did not find expected file marker
frecover(5419): checksum on volume header is incorrect.
frecover(5420): not an fbackup volume; magic value is incorrect
frecover(2105): did not find expected file marker
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN]) y
frecover(5413): attempting to read backup following bad volume header
Thinking perhaps the tape drive on Server1 was the problem, I mounted
the tape in Server3 and was able to recover the index without any errors.
Taking it one step further, I attempted to recover the index from last
night's full backup of Server2 on Server2, and got essentially the same
error messages:
/ (root on Server2):frecover -I /tmp/fbackup.032703.index -v -f /dev/rmt/0m
frecover(2105): did not find expected file marker
frecover(5419): checksum on volume header is incorrect.
frecover(5420): not an fbackup volume; magic value is incorrect
frecover(2105): did not find expected file marker
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN]) y
frecover(5413): attempting to read backup following bad volume header
/ (root on Griffin):
Attempting to recover the index from that tape onto Server3 works fine, so
the problem seems to be with frecover, not with fbackup.
Thank you for your help.
Dario
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 12:01 PM
03-28-2003 12:01 PM
SolutionAdditionally, the tape may not be rewound past any existing records on the tape. Did you simply eject the tape during the fbackup? Do you ordinarily indicate an automatic rewind or a no rewind backup?
/dev/rmt/0m - automatic rewind
/dev/rmt/0mn - no rewind
Try:
mt -t /dev/rmt/0m rew
mt -t /dev/rmt/0m rew
mt -t /dev/rmt/0m rew
...to get all the way back to the start of the tape for sure. And then:
frecover -I /tmp/fbackup.011003.index -v -f /dev/rmt/0m
Also try another known good tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 12:22 PM
03-28-2003 12:22 PM
Re: frecover and fbackup
Thank you for your answer. Here is the script we are executing to run the backup.
/usr/bin/sleep 60
/usr/sbin/sync /usr/sbin/sync /usr/sbin/sync
/usr/bin/sleep 10
/usr/sbin/fbackup -f /dev/rmt/0m -c /var/adm/fbackupfiles/fbackup.config -0ug /v
ar/adm/fbackupfiles/full.graph
/usr/bin/sleep 120
/usr/bin/date
/usr/bin/mt -f /dev/rmt/0mnb offline
/usr/bin/sleep 120
/var/adm/fbackupfiles/oralistnerstart.sh
Regards,
Dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 12:41 PM
03-28-2003 12:41 PM
Re: frecover and fbackup
usr/bin/mt -f /dev/rmt/0mnb offline
uses the "no rewind" device /dev/rmt/0mnb. I am not sure if "mt offline" will force a rewind before ejecting it but it looks to me that it would just eject the tape where ever it is positioned. I would remove the "n" from the device file:
usr/bin/mt -f /dev/rmt/0mb offline
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2003 12:48 PM
03-28-2003 12:48 PM
Re: frecover and fbackup
DR