- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error extracting archive from Ignite tape
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
05-03-2002 06:42 AM
05-03-2002 06:42 AM
echo "Repositioning tape to loadtar file."
mt -t /dev/rmt/0mn rew
mt -t /dev/rmt/0mn fsf 2
#
# extract the tar file
#
tar tvf /dev/rmt/0mn
When Ignite runs the script, it echoes the message and rewinds the tape and then forwards it. Then I get...
Tar: tape read error
...
I have tried getting a file listing and also extracting the files using the exact commands above, and I have no problem accessing the third file on the Ignite tape. But it doesn't work within the Ignite script.
Has anyone else experienced this? Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 06:51 AM
05-03-2002 06:51 AM
Re: error extracting archive from Ignite tape
# mt -t /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0m filename
The 'mt' pushes you past the boot image, then try extract ...
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 06:55 AM
05-03-2002 06:55 AM
Re: error extracting archive from Ignite tape
Try this..
mt -f rewind
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn file name
Goodluck.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 06:57 AM
05-03-2002 06:57 AM
Re: error extracting archive from Ignite tape
Just a thought: Put 'sleep' command between the script commands. This way, it will wait for some time and then execute the next one.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 06:57 AM
05-03-2002 06:57 AM
SolutionIf not, can you use the drive that created the tape to do your work/test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 07:08 AM
05-03-2002 07:08 AM
Re: error extracting archive from Ignite tape
The normal structure of the Ignite tape is:
File 1 - Boot stuff
File 2 - Ignite pax archive.
File 3 - ???? There normally isn't a 3rd file.
If you are trying to restore something from the Ignite pax archive then you just have to fsf 1 file not 2.
If you did something customized at the end of the Ignite pax archive on the tape, as a 3rd file, then you do have problems.
I would not necessarily recommend putting anything at the end of the ignite tape. While it shouldn't cause problems, you just never know.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 07:30 AM
05-03-2002 07:30 AM
Re: error extracting archive from Ignite tape
The system I was Igniting uses a DCLZ tape drive. The file I was trying to extract is something in addition to the core archive, hence the fsf 2.
I tried to get a tar listing off the third file on the problem system and got a tape read error.
I just tried to read the third file from the same tape, off another system with a DCLZ tape drive, and I was able to read the third file just fine.
Leads me to believe that there is something wrong with the tape drive on the system I am trying to Ignite.
Thanks for your help!
-Nivesh
.