- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- view make_recovery tape contents
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
Discussions
Discussions
Forums
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
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
тАО08-28-2001 10:24 AM
тАО08-28-2001 10:24 AM
# /opt/ignite/bin/make_recovery -A -C -v -d /dev/rmt/0mn
and was successful.
Tried this and get the following errors:
# mt -f /dev/rmt/0mn fsf 1
fsf 1 failed: I/O error
# mt -t /dev/rmt/0mn fsr 1
fsr 1 failed: I/O error
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2001 10:27 AM
тАО08-28-2001 10:27 AM
SolutionIf the tape was just loaded prior to you performing the make_recovery, then you can rewind the tape using :
mt -t /dev/rmt/0m rew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2001 10:31 AM
тАО08-28-2001 10:31 AM
Re: view make_recovery tape contents
if mt -t /dev/rmt/0mn fsf 1 fails,
then probably the tape is corrupted. Try doing the following to confirm that the tape is really bad.
/opt/ignite/bin/copy_boot_tape -u /dev/rmt/0mn -b -d to_somewhere
It should successfully dump the bootimage under
to_somehwere directory. Else, the tape is confirmed bad.
You can also user check_recovery command to verify if everything is ok.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2001 10:34 AM
тАО08-28-2001 10:34 AM
Re: view make_recovery tape contents
mt -t /dev/rmt/0m rew
mt -t /dev/rmt/0mn fsf #no count default is 1
# get table of contents
pax -vf /dev/rmt/0mn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2001 10:36 AM
тАО08-28-2001 10:36 AM
Re: view make_recovery tape contents
The following should work on a rewound tape (or one freshly inserted into the drive):
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m filename
Note that the first command forward spaces ONE FILE without rewind. The second command extracts one file.
The 'mt -t' is equivalent to 'mt -f' as of 11.x and is the preferred form.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2001 10:58 AM
тАО08-28-2001 10:58 AM
Re: view make_recovery tape contents
command.
I had to do:
# mt -t /dev/rmt/0m rew
Harry, Sridhar, Michael and James were right and pointed me in the right direction.
Appreciate it. Solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2001 12:55 AM
тАО08-29-2001 12:55 AM
Re: view make_recovery tape contents
#mt -t /dev/rmt/0m rew
Will rewind the tape.
#mt -t /dev/rmt/0mn fsf #1
Will skip the lif area.
#tar -xvf /dev/rmt/0m home/abc/myFile.sh
Attention:
The recovered file is in RELATIVE path ( without the slash in the begining. In my example the home directory is without the slash in the begining ).
Only two files are in ABSOLUTE path :
/etc/passwd
/etc/group
Magdi