- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extract 1 file out of ignite archive.
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-08-2005 05:39 AM
03-08-2005 05:39 AM
extract 1 file out of ignite archive.
Im in dire need to extract 1 file and all i have to work with is a make_net_recovery archive. I know its a easy thing to do on tape archives;
mt -t /dev/rmt/0mn fsf 1
tar -xvf /dev/rmt/0m filename
but how do i do this with a archive on a ignite server? can it be done?
Thanks in adv.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:09 AM
03-08-2005 06:09 AM
Re: extract 1 file out of ignite archive.
gzcat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:17 AM
03-08-2005 06:17 AM
Re: extract 1 file out of ignite archive.
2005-03-04,03:00: Unknown error
tar: cannot open passwd
gzcat "2005-03-04,03:00" |tar -xvpf /etc/passwd
2005-03-04,03:00: Unknown error
Tar: tape blocksize error
what would be an exemple syntax?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:37 AM
03-08-2005 06:37 AM
Re: extract 1 file out of ignite archive.
# gzcat archive_name | tar -xvf - etc/passwd
Note 2 things: 1) Ther '-' after the 'f' option and there ARE SPACES surrounding the dash so it is 'tar -xvf
# gzcat archive_name | tar -tvf -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:43 AM
03-08-2005 06:43 AM
Re: extract 1 file out of ignite archive.
it still not working
gzcat 2005-03-04,03:00 | tar -tvf -
2005-03-04,03:00: Unknown error
Tar: blocksize = 0; broken pipe?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:02 AM
03-08-2005 07:02 AM
Re: extract 1 file out of ignite archive.
gzcat 2005-03-04,03:00 | pax -r -f - etc/passwd
2005-03-04,03:00: Unknown error
pax: The archive is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 07:49 PM
03-08-2005 07:49 PM
Re: extract 1 file out of ignite archive.
gunzip < archive_name | tar xvf - etc/passwd
It should work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 08:20 PM
03-08-2005 08:20 PM
Re: extract 1 file out of ignite archive.
try this
# mt -t /dev/rmt/0mn fsf 1
// This will jump over the boot part
# tar -xvf /dev/rmt/0m filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 12:00 AM
03-09-2005 12:00 AM
Re: extract 1 file out of ignite archive.
# cd /var/opt/ignite/recovery/archives/hostname_here
# gzcat ./2005-03-04,03:00 | pax -r -f - etc/passwd
Note the ./ in front of the archive and the lack of the slash in from of /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 07:04 AM
03-09-2005 07:04 AM
Re: extract 1 file out of ignite archive.
# cat 2005-03-04,03:00 | gunzip | pax -tf - | head -5
./
lost+found/
etc/
etc/group
etc/passwd
Good luck,
jpkole
PS: Some related links on the 2-gigabyte issue:
Some myths about gzip 1.2.4 from Oct-2004:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=713940
More gzip notes from Jan-2004:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=397889
More notes on gzip from Jan-2004:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=388010
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 05:42 AM
03-10-2005 05:42 AM
Re: extract 1 file out of ignite archive.
root@igniteUXServer:/var/opt/ignite/clients/klax/recovery/latest> ll /var/opt/ignite/recovery/archives/klax/2005-03-10,11:37
-rw------- 1 bin sys 2567972913 Mar 10 12:38 /var/opt/ignite/recovery/archives/klax/2005-03-10,11:37
root@igniteUXServer:/var/opt/ignite/clients/klax/recovery/latest> es/klax/2005-03-10,11:37 of=/dev/rmt/0mn obs=2k <
I/O error
3219464+0 records in
804865+1 records out
root@igniteUXServer:/var/opt/ignite/clients/klax/recovery/latest>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 06:08 AM
03-10-2005 06:08 AM
Re: extract 1 file out of ignite archive.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 06:09 AM
03-10-2005 06:09 AM
Re: extract 1 file out of ignite archive.
installs it in a different path than the one shipped with HP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 06:28 PM
03-10-2005 06:28 PM
Re: extract 1 file out of ignite archive.
# cat 2005-03-10,11:37 | gunzip | pax -tf - | head -5
Works perfectly, so it cuould be a gunzip problem in my case. My image file is 2.5GB large and with two different tapes (and passing a cleanning cartridge between) it allways fails in the same record:
root@igniteUXServer:/root> ll ./2005-03-10,11:37
-rw------- 1 bin sys 2567972913 Mar 10 12:38 ./2005-03-10,11:37
root@igniteUXServer:/root> cat 2005-03-10,11:37 | gunzip | pax -tf - | head -5
stand/
stand/lost+found/
stand/ioconfig
stand/bootconf
stand/system
root@igniteUXServer:/root>
root@igniteUXServer:/root>dd if=./2005-03-10,11:37 of=/dev/rmt/0mn obs=10k
I/O error
3190420+0 records in
159520+1 records out
root@igniteUXServer:/root>
Help will be very apreciated. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 06:35 PM
03-10-2005 06:35 PM
Re: extract 1 file out of ignite archive.
root@igniteUXServer:/root> dd if=./2005-03-10,11:37 of=/dev/null obs=10k
5015572+1 records in
250778+1 records out
root@igniteUXServer:/root>
What happends here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 08:33 PM
03-10-2005 08:33 PM
Re: extract 1 file out of ignite archive.
The main question here is:
Why does HP still deliver binaries that can not handle files larger than 2GB?
Some examples are tar gzip dd. etc etc etc
Even in the newest releases of HP-UX.
That is the real problem. And a lot of threads here in this forum are based on this problem.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 11:59 PM
03-10-2005 11:59 PM
Re: extract 1 file out of ignite archive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 01:23 AM
03-11-2005 01:23 AM
Re: extract 1 file out of ignite archive.
BUT, you must also consider now that HP-UX has PLENTY of tools that CAN handle files larger than 2 GB. A patched tar & pax can go read files up to 8GB, fbackup works wonderfully on large files, dd has no issue with large files that I know of since it just reads blocks and has no real concept of files. The gzip that HP ships with HP-UX is technically only intended for use with crash dumps I believe.
There are plenty of alternatives to all the tools mentioned as well. All the GNU* tools work really well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 01:41 AM
03-11-2005 01:41 AM
Re: extract 1 file out of ignite archive.
But one of the embrassing moments for HP is that the mkisofs binary that was delivererd with the dvd-rw-tools(v.5.18) software, which is available from HP Software depot can NOT deal with files larger than 2GB.
"knock knock - Hello MC Fly - sombody home."
I think nobody has told HP that a DVD is able to store more than 2GB.
Roland