Sponsored Content
Full Discussion: cpio write i/o error
Top Forums UNIX for Dummies Questions & Answers cpio write i/o error Post 302070764 by fidodido on Friday 7th of April 2006 08:30:27 AM
Old 04-07-2006
cpio write i/o error

Hiyas. Last night I was testing one of our shell script (not made by me) that is having some problems. What it does is that it backups some oracle data to tape and it is failing. I put the commands manually that it uses inside it to make the backup, in order to debug where it was failing. I ran the commands and it returned back, after like 12 hours, with the below error:
Code:
cpio: write : I/O error
cpio: A write error has occurred.

and thus I wonder what could cause cpio to do this? Also, it is _normal_ for cpio to take so much time for just 10GB ? The command I used was
Code:
cpio -ov -O/dev/ntape/tape0

Right now I am doing the same thing but with tar.. it seems to go a lot faster than cpio.

Thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error in cpio?

Hi, I want to do incremental backup of my files, I am using cpio for copy, my code is as follows: CPIO=/usr/bin/cpio cd /home/arbuser/temp2/mscdr/tar/daily.0 && find . -print | $CPIO -dplm $DR_BACKUP_DIR/daily.1 I am unable to copy to daily.1 in commad prompt I am gettiung... (3 Replies)
Discussion started by: redlotus72
3 Replies

2. Programming

read/write socket error

I have client and server connected. client write and read from csock. server write and read from ssock suppose the server does : .... close(ssock); //send FIN to client othertask(); .... READ ERROR if after the server close() the client does: ... read(csock,...); ...... (2 Replies)
Discussion started by: gio
2 Replies

3. HP-UX

Write error in HP11.11

HI, I am using oracle express application to create a flat file DB. It throws the below error. *** WRITE ERROR, Invalid argument, in /rhome/zxxhome/zxxdba/comps/P8736C1.NEW/P8736C11.001 *** Build/Update failed, Deleting : /rhome/zxxhome/zxxdba/comps/P8736C1.NEW When i trace this through... (1 Reply)
Discussion started by: kprasanna_79
1 Replies

4. Solaris

fssnap error :snapshot error: File system could not be write locked

Hi Guys. This is part of my filesystem structure : Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 47G 5.2G 42G 12% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% ... (2 Replies)
Discussion started by: aggadtech08
2 Replies

5. Solaris

mail: Write error in copymt()

I hate Monday's... Sun Microsystems Inc. SunOS 5.10 Generic January 2005 You have new mail. DONE! root@bender:/> mail mail: Write error in copymt() Google seems to come up short for this error... (2 Replies)
Discussion started by: ippy98
2 Replies

6. UNIX for Dummies Questions & Answers

Problem with dump write error

I'm watching a log of a backup and i see this DUMP: write: I/O error DUMP: Write error 378258 feet into tape 1: What is the meaning of that that the tape is bad? Thankyou (1 Reply)
Discussion started by: enkei17
1 Replies

7. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

8. UNIX for Dummies Questions & Answers

unzip failing with write error

All, I am trying to unzip a file, when i doing i am seeing the below error. I have more than enough memory space in the directory where i am unziping. Can you please help me to find out the issue I dont know why i am getting disk full error. I have more space in /pa01 directory ... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

9. Red Hat

VMDisk error: Write Protect is off

Hi Everyone, I noticed this error message, on the console. I added a new drive recently. not sure to be considered is a serious warning message or not. SCSI device sdc: 27262976 512-byte hdwr sectors 91 sdc: Write Proetect is off sdc: cache data unavailable sdc: assuming drive cache:... (1 Reply)
Discussion started by: bobby320
1 Replies

10. UNIX for Advanced & Expert Users

Cpio - input files (from list) are stored in different order inside cpio archive - why?

Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: ) For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
rpm2cpio(1)							   User Commands						       rpm2cpio(1)

NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive SYNOPSIS
rpm2cpio [file.rpm] DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu- ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out- put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility. EXAMPLES
Example 1: Converting an rpm file example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks Example 2: Converting from standard input example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrpm | +-----------------------------+-----------------------------+ SEE ALSO
cpio(1), attributes(5) NOTES
rpm2cpio handles versions 3 and 4 RPMs. SunOS 5.10 20 Aug 2001 rpm2cpio(1)
All times are GMT -4. The time now is 04:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy