- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extraction of a cpio 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
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
тАО11-10-2008 07:24 AM
тАО11-10-2008 07:24 AM
When I was trying to extrace the below file on 11.23 hppux version.. I get the following error....
does that mean i have stopped it in the middle of extracting... it was almost 35 minutes that I have started to run this file....
# cpio -idcmv 10gr2_aix5l64_database.cpio
^Z[2] + Stopped (SIGTSTP) cpio -idcmv 10gr2_aix5l64_database.cpio
Is there a limitation for cpio on hpux also.. if so .. Is there any other way i can extract this file...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 07:52 AM
тАО11-10-2008 07:52 AM
Re: extraction of a cpio file
thats not an *error* message, its *warning* you that *you* stopped the process by hitting a Ctlr-Z.... or somebody issued a "SIGSTP" (via kill ?) to that PID.
in posix / ksh it can be resumed with the "fg" command, if it was stopped from the keyboard, as in "fg %2", or
by sending SIGCONT (or 26) from a kill.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 07:54 AM
тАО11-10-2008 07:54 AM
Re: extraction of a cpio file
I doubt that you need another method, if you let the one you tried work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 08:01 AM
тАО11-10-2008 08:01 AM
Re: extraction of a cpio file
I have copied that cpio file from the below location
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201aixsoft.html
and the size of the file is (1,268,576,110 bytes) (cksum - 3772623559) And so I was wondering if there is any limitation for large files... cos in AIX I cannot extract files grater than 2GB using cpio...
And So I thought i will extract here on the hp box and push it to the AIX box.
After I give the below command it just goes to next like and the cursor blinks there... like it dosen't do anything...
# cpio -idcmv 10gr2_aix5l64_database.cpio
-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 08:01 AM
тАО11-10-2008 08:01 AM
Re: extraction of a cpio file
You may have hit a size limitation, or used incorrect options.
cpio for HP-UX is slightly different that its Linux relative.
You also might wish to check the patch database for a cpio patch.
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
тАО11-10-2008 08:40 AM
тАО11-10-2008 08:40 AM
Re: extraction of a cpio file
so you're limited to 2GB, the file is smaller than that.
in following the link, I see you downloaded a gzip file (10gr2_aix5l64_database.cpio.gz (1,268,576,110 bytes) (cksum - 3772623559)"
did you even bother to run a "cksum" on the downloaded file to see if it downloaded properly? Or unzip it as specified in the directions?
"Directions
1. Unzip the file: gunzip
2. Extract the file: cpio -idcmv <
......"
If you unzipped it, how big is it now? There is (or at least was) a 2GB limit to sizes, but I believe that mean the size of an individual file within the archive.
"Thanks everyone... So I have left it as it is... it running since the last 20 minutes... Not really sure when it will stop execution".....
Define "left it as is". Did you get it running again, or did you leave it "stopped" as posted previously. If you left it "stopped", its not doing anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 08:45 AM
тАО11-10-2008 08:45 AM
Re: extraction of a cpio file
See what James had to say regarding Ctl-Q / Ctl-S instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 09:12 AM
тАО11-10-2008 09:12 AM
Re: extraction of a cpio file
Is there a way I can extract 10gr2_aix5l64_database.cpio file. if so how....
If any patches are reqyuired... plz tell .. me the patches name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 09:19 AM
тАО11-10-2008 09:19 AM
Re: extraction of a cpio file
ok, so heres the thing, the Control-Z will stop the process, but not remove it. If you tried Control-c and it didn't work, it was probably i/o ing.
Refer to my previous post....did you ever verify the download w/ cksum?
Did you ever unzip it?
You shouldn't need patches....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 09:22 AM
тАО11-10-2008 09:22 AM
Re: extraction of a cpio file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 09:55 AM
тАО11-10-2008 09:55 AM
Re: extraction of a cpio file
SIGTSTP is what you get when you use control-Z.
>OldSchool: in posix / ksh it can be resumed with the "fg" command
You can also resume it by using "bg" to put it in the background.
>So I have left it as it is
If you hit control-z, it is suspended. What does "jobs -l" and top show?
>OldSchool: disregard what I said regarding signals. I read SIGTSTP as SIGSTOP.
What you said was correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 09:59 AM
тАО11-10-2008 09:59 AM
Re: extraction of a cpio file
Duh. The correct syntax (for reading stdin) is:
cpio -idcmv < 10gr2_aix5l64_database.cpio
That's probably why you should use Ivan's suggestion of using pax(1).
That "<" was on that URL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 10:14 AM
тАО11-10-2008 10:14 AM
Re: extraction of a cpio file
2491728778 1321110528 10gr2_aix5l64_database.cpio
wow pax has done a miracle...It worked
pax -rvf 10gr2_aix5l64_database.cpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 10:18 AM
тАО11-10-2008 10:18 AM
Re: extraction of a cpio file
Nice catch Dennis...I looked at the OP more than once and didn't notice it was missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 10:30 AM
тАО11-10-2008 10:30 AM
Re: extraction of a cpio file
But pax was a wonder..
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2008 02:01 PM
тАО11-10-2008 02:01 PM
Re: extraction of a cpio file
Neither did I until after I replied. Especially since everyone was looking at the control-Z output.
I did remember you can get the shell to help you figure this out, if you put it in the background:
$ cpio -i xx &
[2] 28077
$ jobs
[2] + Stopped (tty input) cpio -i xx &
Here it says it is waiting for stdin. And you ask yourself why?