- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to extract a file from media of make_tape_reco...
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
01-25-2007 08:22 PM
01-25-2007 08:22 PM
how to extract a file from media of make_tape_recovery
On one system
mt -f /dev/rmt/0m rew
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn /etc/hosts
IO error.
On the other system
mt -f /dev/rmt/1mn rew
mt -f /dev/rmt/1mn fsf 1
tar tvf /dev/rmt/1mn
Tar: blocksize = 2
then
mt -f /dev/rmt/1mn rew
mt -f /dev/rmt/1mn fsf 22
tar tvf /dev/rmt/1mn It is OK.
tar xvf /dev/rmt/1mn /etc/hosts
The file is not extracted and there is no error returned.
What's the problem?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 08:32 PM
01-25-2007 08:32 PM
Re: how to extract a file from media of make_tape_recovery
are you talking about the same tape ?
First System
fsf 1
Second System
fsf 1
then fsf 22 ??
When you say tar tvf /dev/rmt/1mn It is OK does that mean /etc/hosts is shown in the listing ?
You may need to re-position the tape to the correct fileset.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 08:57 PM
01-25-2007 08:57 PM
Re: how to extract a file from media of make_tape_recovery
the sencond and third tests are on the same tape.
In the third test, I can find files, but extract it failed.
How to re-position the tape to the correct fileset?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 09:02 PM
01-25-2007 09:02 PM
Re: how to extract a file from media of make_tape_recovery
Possible incompatibility of dds drive on host1 and host2.
Drives and Media are only backwards compatible.
rgs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 09:09 PM
01-25-2007 09:09 PM
Re: how to extract a file from media of make_tape_recovery
You misunderstood.
I did the test just after make_tape_recovery on the same server.
I have two servers and two tapes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 09:41 PM
01-25-2007 09:41 PM
Re: how to extract a file from media of make_tape_recovery
To extract a single file from the make_tape_recovery image
use the belwo syntax
# /usr/bin/mt -t /dev/rmt/1mn rew
# /usr/bin/mt -t /dev/rmt/1mn fsf 1
# /usr/bin/tar xvf /dev/rmt/1m filename
I could see you have used 1mn, use only 1m in the last command.
TQ
Perumal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 09:54 PM
01-25-2007 09:54 PM
Re: how to extract a file from media of make_tape_recovery
I will try to give you my thoughts:
- the method to extract files from make_tape_recovery tape is:
1) ioscan -fnCtape
be sure the device file for tape is /dev/rmt/0mn (I will suppose it is);
2) use 'no rewind' device files on both mt commands (I see you used 'mt -f /dev/rmt/0m rew' on one system, I don't know whether it is just a typo or you really used it). Anyway the right method is:
mt -f /dev/rmt/0mn rew
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn etc/hosts
I wouldn't use the '/' on etc/hosts.
Try those steps and let me know if you have still problems. If you see again I/O error I would suppose you are experiencing a problem to read the tape.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2007 10:02 PM
01-25-2007 10:02 PM
Re: how to extract a file from media of make_tape_recovery
The sequece with fsf must work, if the tape has been created properly.
mt -f /dev/rmt/0m rew
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn
The only question: there is an option in make_tape_recovery to use cpio instead of tar. Could you check this ?
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 12:37 PM
01-31-2007 12:37 PM
Re: how to extract a file from media of make_tape_recovery
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn
This is OK.
Thanks.