Ask a Question related to Linux / Unix Administration, Design and Development.
-
Heiner Steven #1
Re: cpio: I/O error - chance to circumvent ?
Dr. Zimmermann wrote:
Did you use the "-I" option to specify the input device to cpio?> Our data is backup'd using cpio (GNU cpio version 2.4.2) to a DAT tape
> (3 volumes). Trying to restore leads to an 'cpio error: I/O error`
> during
> restore of the second volume. SUN cpio has an option to skip over
> corrupt
> data but cannot read the tape written by GNU cpio. Do I have a chance to
> retrieve data from behind the I/O error ?
If you redirected the input directly from the tape device,
at least Solaris "cpio" will print that error message for
multiple volumes. In other words: did you use "cpio -i -I /dev/rmt/0"
instead of "cpio -i < /dev/rmt/0"?
Heiner
--
___ _
/ __| |_ _____ _____ _ _ Heiner STEVEN <heiner.steven@nexgo.de>
\__ \ _/ -_) V / -_) ' \ Shell Script Programmers: visit
|___/\__\___|\_/\___|_||_| [url]http://www.shelldorado.com/[/url]
Heiner Steven Guest
-
cpio
If system is running, could I sue cpio command to archive file? And, I have an archive xxx.cpio which are archive from /etc directory. How to open... -
CPIO Restore
universe question We have a customer that got some kind of damage to a Universe system which is backed up by the following command.... cd... -
#17790 [Com]: symlinks circumvent open_basedir restrictions
ID: 17790 Comment by: devdas_kantee at hotmail dot com Reported By: tozz at kijkt dot tv Status: Closed Bug... -
[Tip/Bug report] Tricks to circumvent count-update bugs in a relation hierarchy
Dear Listeners: I built a small 4-file freeware open source solution meant for housekeeping of an unlimited number of physical keys for an... -
Can't cpio IDS.CPI
Try to do # cpio -icvdumB <IDS.CPI ------------------------------------------ Alexey Sonkin Senior Database Administrator sending to... -
Dr. Zimmermann #2
Re: cpio: I/O error - chance to circumvent ? Partly SOLVED
Heiner Steven wrote:
Hello Heiner,> Dr. Zimmermann wrote:
>>> > Our data is backup'd using cpio (GNU cpio version 2.4.2) to a DAT tape
> > (3 volumes). Trying to restore leads to an 'cpio error: I/O error`
> > during
> > restore of the second volume. SUN cpio has an option to skip over
> > corrupt
> > data but cannot read the tape written by GNU cpio. Do I have a chance to
> > retrieve data from behind the I/O error ?
> Did you use the "-I" option to specify the input device to cpio?
> If you redirected the input directly from the tape device,
> at least Solaris "cpio" will print that error message for
> multiple volumes. In other words: did you use "cpio -i -I /dev/rmt/0"
> instead of "cpio -i < /dev/rmt/0"?
>
> Heiner
> --
> ___ _
> / __| |_ _____ _____ _ _ Heiner STEVEN <heiner.steven@nexgo.de>
> \__ \ _/ -_) V / -_) ' \ Shell Script Programmers: visit
> |___/\__\___|\_/\___|_||_| [url]http://www.shelldorado.com/[/url]
I didn't used the '-I ' option to specify the tape device - Thnx for that
suggestion.
Unluckily using this option does not make any difference.
BUT: in a kind of 'accident' I came to the following 'insight' - Sun cpio
requires the setting
of the LANG variable must be the same during retrieve as during store ...
Otherwise You'll get a message about 'invalid headertype' and Sun cpio stops
with an error.
I regard this is an error instead of a feature ... at least the message is
misleading.
In the manpage there is nothing to be found about this behaviour.
Now I'm trying Sun cpio with the -k option to get behind the read error ...
press Your thumbs :-)
Roger
--
Dr. Roger Zimmermann *** Institute of Physiology, Hamburg
Martinistra/3e 52 D-20246 Hamburg Tel.: /40 42803 5351
-------------------------------- Fax.: /40 42803 4920
R.Zimmermann=at=Uke.Uni-Hamburg.de // roz=at=snafu.de
PGP-ID: Roger Zimmermann
KeyPrint=83 16 D1 82 06 71 16 60 6F 61 95 65 BB CA 02 E0
Dr. Zimmermann Guest



Reply With Quote

