- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reading tar archive from Ignite tape fails with ch...
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
03-02-2009 12:27 PM
03-02-2009 12:27 PM
I create the LIF header on the tape:
# /usr/bin/dd if=/var/tmp/my_lif of=/dev/rmt/c4t1d0DDS1n obs=2k
I tar the archive to the tape:
# /usr/bin/dd if=/var/opt/ignite/recovery/archives/ftuxtest/2009-02-27,02:13 of=/dev/rmt/c4t1d0DDS1n obs=10k
But when I attempt the read the tar archive is get the following error:
# /usr/bin/mt -t /dev/rmt/0mn fsf 1
# /usr/bin/tar tvf /dev/rmt/0m
directory checksum error
Base on the time it takes for the dd to complete it appears the archive is being copied but I cant read it. Below are the steps I take to create the LIF and tar archive before I write to the tape.
I know this is a lot but any thought?
CREATE A BOOTABLE TAPE WITH make_net_recovery:
1. Use make_medialif to build the LIF file:
a. cd /var/opt/ignite/clients/sys1/recovery/1999-03-12,09:00
b. /opt/ignite/bin/make_medialif \
-f system_cfg -f control_cfg -f archive_cfg \
-C "1999-03-12,09:00 sys1 recovery image" \
-l /var/tmp/my_lif \
<-r and -o options>
2. Modify the LIF file to set it up for use on the tape:
/opt/ignite/bin/instl_adm -d -F /var/tmp/my_lif > /var/tmp/cfg
3. Edit the /var/tmp/cfg file and add the following lines to the
end of the file:
control_from_server=FALSE
run_ui=FALSE
env_vars += "INST_ALLOW_WARNINGS=10"
4. Issue this command:
/opt/ignite/bin/instl_adm -F /var/tmp/my_lif -f /var/tmp/cfg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 12:44 PM
03-02-2009 12:44 PM
Re: Reading tar archive from Ignite tape fails with checksum error
Interesting idea.
It might work better to do a network recovery to a system with a tape drive and then make the ignite tape.
As far as I know make_net_recovery archives are suitable for network recovery and make_tape_recovery archives are suitable for tape recoveries.
I don't think they can be cross matched.
Its like putting AB blood in an O positive patient.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 01:02 PM
03-02-2009 01:02 PM
Re: Reading tar archive from Ignite tape fails with checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 01:36 PM
03-02-2009 01:36 PM
Re: Reading tar archive from Ignite tape fails with checksum error
where / how did gzip get in this????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 08:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2009 09:37 PM
03-02-2009 09:37 PM
Re: Reading tar archive from Ignite tape fails with checksum error
a avinash/var/adm/sw/swagent.log 1 blocks
shivaji@root/>tar -tvf /tmp/avinash.tar
rwxrwxrwx 0/3 0 Feb 16 13:05 2009 avinash/
rwxr-xr-x 0/3 0 Feb 16 13:05 2009 avinash/var/
rwxr-xr-x 0/3 0 Feb 16 13:05 2009 avinash/var/adm/
rwxr-xr-x 0/3 0 Feb 16 13:05 2009 avinash/var/adm/sw/
rw-r--r-- 0/3 234 Feb 16 13:05 2009 avinash/var/adm/sw/swagent.log
shivaji@root/>dd if=/tmp/avinash.tar of=/tmp/avinash_back
20+0 records in
20+0 records out
shivaji@root/>ll /tmp/avinash_back
-rw-rw-rw- 1 root sys 10240 Mar 3 11:02 /tmp/avinash_back
shivaji@root/>file /tmp/avinash_back
/tmp/avinash_back: tar file
shivaji@root/>tar -tvf /tmp/avinash_back
rwxrwxrwx 0/3 0 Feb 16 13:05 2009 avinash/
rwxr-xr-x 0/3 0 Feb 16 13:05 2009 avinash/var/
rwxr-xr-x 0/3 0 Feb 16 13:05 2009 avinash/var/adm/
rwxr-xr-x 0/3 0 Feb 16 13:05 2009 avinash/var/adm/sw/
rw-r--r-- 0/3 234 Feb 16 13:05 2009 avinash/var/adm/sw/swagent.log
### Hence if the format is tar this should be working but for Ignite am not sure.
Check
# file /var/opt/ignite/recovery/archives/ftuxtest/2009-02-27,02:13
## Try achieving small file on the tape and check if you are able to view the file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 09:09 AM
03-03-2009 09:09 AM
Re: Reading tar archive from Ignite tape fails with checksum error
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236099914384+28353475&threadId=1009153
seems to indicate that network ignites are gzipped, while the tape versions aren't...
if that is correct, you would need to unzip the archive prior to copying it to tape. failure to do so would result in just the error you got.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 09:26 AM
03-03-2009 09:26 AM
Re: Reading tar archive from Ignite tape fails with checksum error
# file /var/opt/ignite/recovery/archives/ftuxtest/2009-02-27,02:13
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 09:29 AM
03-03-2009 09:29 AM
Re: Reading tar archive from Ignite tape fails with checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2009 09:31 AM
03-03-2009 09:31 AM