- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- Re: tape drive and tar xvf /dev/rmt/om file
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
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
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-07-2004 05:08 AM
тАО07-07-2004 05:08 AM
We tar ball some files to tape and trying to restore to a different HP-UX machine with the same OS version 11.11 and same type of tape drive and the file does not get extracted from tape. These are DDS-3 tape drives.
Here is the command we use to store the file to tape ...
timex /usr/bin/tar cvf /dev/rmt/1m /eloq/drug/newdrug/DRUG-UPDATE.tar.Z
and the restore command on the different HP-UX machine ...
/usr/bin/tar xvf /dev/rmt/0m DRUG-UPDATE.tar.Z
(note: the light does blink when trying to extract the file form tape)
We have also tried ...
/usr/bin/tar xvf /dev/rmt/0m *
too with no results.
We have tried taking the drive offline and remounting the tape ...
mt -f /dev/rmt/0m offl
and remount tape -- ejects the tape fine but still does not extract the file.
When we look at the status it shows Beginning (Bottom) Of Tape ...
mt -f /dev/rmt/0m status
Drive: HP C1537A
Format: DDS-3 format
Status: [41112500] BOT online compression immediate-report-mode
File: 0
Block: 0
When we list the names the file is there
/usr/bin/tar vtf /dev/rmt/0m *
rw-rw-rw- 129/20 35734325 Jul 7 09:21 2004 /eloq/drug/newdrug/DRUG-UPDATE.tar.Z
Also we tried the same on a non-compressed file and it did extract a couple of the files but not all of them and not all the time. weard!
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2004 06:34 AM
тАО07-07-2004 06:34 AM
Re: tape drive and tar xvf /dev/rmt/om file
/usr/bin/tar xvpf /dev/rmt/0m /eloq/drug/newdrug/DRUG-UPDATE.tar
So, is it the full path, the (p) option or compression?
I will try again but with a compressed format
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2004 07:03 AM
тАО07-07-2004 07:03 AM
Re: tape drive and tar xvf /dev/rmt/om file
Ok, I believe I solved this...
When storing to tape (tar) I fully qualified the path aad when I restore from that tape I have to fully qualify the path there too.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2004 07:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2004 03:11 AM
тАО07-08-2004 03:11 AM
Re: tape drive and tar xvf /dev/rmt/om file
That is what we did and it does work just as we would expect, right :)
Thank you,