- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Life after ignite
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
тАО03-15-2006 03:51 AM
тАО03-15-2006 03:51 AM
I used /0m for ignite and then i used tar and mt commands to see whats on the tape.
When i used tar i got the following errors. I tried using the /omn with tar in the hope that maybe the tape would rewind and start reading from the beginning but to no avail.
# tar -tvf /dev/rmt/0m
Tar: blocksize = 0; broken pipe?
# tar -tvf /dev/rmt/0mn
Tar: blocksize = 4
directory checksum error
then i used mt -t /dev/rmt/0m fsf 1 but it just returns a prompt back with nothing on.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 03:58 AM
тАО03-15-2006 03:58 AM
Re: Life after ignite
Secondly, in order to look at the contents you need to skip over the boot header before running your tar command:
mt -f /dev/rmt/0m fsf 1
tar -tvf /dev/rmt/0m
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:07 AM
тАО03-15-2006 04:07 AM
SolutionThe first is created with 'dd' and is the boot information. This is what allows you to boot from the tape.
If you want to see information from this area you can do:
# dd bs=8192k if=/dev/rmt/0mn of=/var/tmp/tape_boot.lif
This will run for a while, once it is done you can use the lif utilities against this file to see what it contains.
For example, to see what is included in the lif and when it was written to tape:
# lifls -l /var/tmp/tape_boot.lif
Or if you want to see the AUTO file echo'd to the terminal:
# lifcp /var/tmp/tape_boot.lif:AUTO -
(Note that there is a
The 2nd file on the tape is created by pax, and by default is a 'tar compatible' archive. This behavior can be changed with the '-m' switch and can be either '-m tar' or '-m cpio' depending on your preference.
To see the contents of this file you should do:
# mt -f /dev/rmt/0mn rew
To rewind the tape
# mt -f /dev/rmt/0mn fsf 1
To space forward past the boot area
# tar -tvf /dev/rmt/0mn
To list the files on the tape. Pay special attention to the file paths. Note that none of them have a leading '/'. This is important if you ever want to restore a single file from this archive.
To restore /etc/hosts for example:
# cd /
# mt -f /dev/rmt/0mn rew
# mt -f /dev/rmt/0mn fsf 1
# tar -xvf /dev/rmt/0mn etc/hosts
Note that I ommitted the '/' in front of 'etc' in the file name. If you don't do this tar will not be able to find the file.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:08 AM
тАО03-15-2006 04:08 AM
Re: Life after ignite
(Secondly, in order to look at the contents you need to skip over the boot header before running your tar command:). What does that mean ?.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:19 AM
тАО03-15-2006 04:19 AM
Re: Life after ignite
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2006 04:33 AM
тАО03-15-2006 04:33 AM
Re: Life after ignite
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com