- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- cpio write i/o error
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
04-07-2006 02:43 AM
04-07-2006 02:43 AM
cpio write i/o error
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
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 03:07 AM
04-07-2006 03:07 AM
Re: cpio write i/o error
# tar tvf /dev/tape/tape0
blocksize = 256
-rw-r--r-- 202/0 977 Mar 3 06:37:57 2006 01032006Tarjeta.dat.Z
-rw-r--r-- 202/0 7088 Mar 2 05:48:20 2006 01032006aamcc.dat.Z
-rw-r--r-- 202/0 9393 Mar 2 02:02:55 2006 01032006aamcg.dat.Z
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2006 09:00 AM
04-07-2006 09:00 AM
Re: cpio write i/o error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 12:28 AM
04-10-2006 12:28 AM
Re: cpio write i/o error
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 05:55 AM
04-10-2006 05:55 AM
Re: cpio write i/o error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 06:56 PM
04-10-2006 06:56 PM
Re: cpio write i/o error
command(s) and a transcript showing the
terminal output from it/them.
> cpio: write : I/O error
> cpio: A write error has occurred.
This could mean simply a bad tape or dirty
tape heads. Have you tried a different tape,
or a head cleaning?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 07:06 PM
04-10-2006 07:06 PM
Re: cpio write i/o error
Please post OS and patch version.
It is not normal for cpio to take much more time than tar. Tar is faster, but not that much. Maybe you have hardware problems.
Try to test tape doing various kinds of backup:
# cd
# find . -print | cpio -ov -0/dev/ntape/tape0
# vdump -0f /dev/ntape/tape0
Post error messages after that. And do cleaning tape unit with cleaning tape before this backups.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2006 07:19 PM
04-10-2006 07:19 PM
Re: cpio write i/o error
Since you're getting an I/O error, it's probably worth looking in the error log file to see what the error is. Preferably use the "ca" command (from WEBES) to analyze to error log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 02:32 AM
04-11-2006 02:32 AM
Re: cpio write i/o error
Error is just as I posted it with cpio, and that is
> cpio: write : I/O error
> cpio: A write error has occurred.
after processing like 25 files out of 30 in total.
I have already tried a cleaning cartridge and I have used like 3 different new tapes. I have unwrapped them myself.
@ Vladimir Fabecic
This is the output of uname -a
# uname -a
OSF1 sigbrrd V5.1 2650 alpha
#
I dont know how the commands you posted are different from what I tried. I was trying with ls *thefilescriteria* | cpio -ov -O/dev/ntape/tape0. However, I will try making the file_system dump.
@ Han Pilmeyer
I am relatively new to tru64 world. Care to post the commands to use B or C ? I don't seem to find ca in our system.
Guys: If I copy just one file, it works just fine. I can list them with either, tar and cpio. I wonder, could it be that the files I am trying to copy exceed the tape's capacity ? I woulnd't think so, since I believe it would ask for a second tape in that case. Bear with me, this is the command I am using.
# ls -l *032006* | awk -v s=0 '{ s+=$5 } END { print s/1024/1024 }'
9886.95
#
I see that tells me I will try to backup roughly 10GB
and what I am using is
# ls *032006* | cpio -ov -O/dev/ntape/tape0
which fails with the error message I posted about after processing over 25 files of 30 or more in total.
then I use
# ls *032006* | tar cvf /dev/ntape/tape0
which works since I see all files being backed up, but when I list them, it only shows me the first three.
Of course, on either case I am rewinding the tape before listing the content of the tape.
Thanks to all, and I am eyes for suggestions!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2006 12:43 AM
04-17-2006 12:43 AM
Re: cpio write i/o error
I find that if I back up 1 or 2GB the backup just runs fine using either cpio or tar. It is only when I am backing up this whole data (about 9GB) that it is giving me error.
I just want to find an explanation on why this is happening and I will be have peace of mind!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2006 06:56 PM
04-18-2006 06:56 PM
Re: cpio write i/o error
I am not sure, but from my experience it is probably hardware problem.
If I were you, I would replace tape drive.
But before that DO some test using vdump.