bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi volume tar with long filenames


From: Peter Mueller
Subject: Multi volume tar with long filenames
Date: Thu, 24 Oct 2002 13:05:24 +0200

Hi!

I hope this is the right address for this stuff I found it in the
info-file
for GNU Tar on my SuSE Linux 7.0 ...

What I have:

GNU tar:  1.13.17
Processor:  Intel Celeron
Linux Kernel: 2.2.16
libc: 2.1.3


What I do (did):

There is a multi volume tar (5 DDS3 DAT tapes) created with
the command(s):

export tapelabel=XXX
export tapedevice=/dev/nrmt0
export filesystem=/silo1
tar --create --one-file-system --label="$tapelabel" --file="$tapedevice"
\
--blocking-factor=126 --multi-volume --totals $filesystem

When I tried to read in this tar with the command

tar -x -M -b 126 -f /dev/nrmt0

I get errors at the border of tape 2-3 and 4-5 
The file divided between the two tapes is not recogniced at the start
of the continuation tape.

The only way I could continue was stopping the tar command and start a
new
session with the next tape, loosing the second part of the split file.

I lost the error message at the end of tape 2 but here are the messages
when I started reading tape 3 with a new start of tar and the messages
at the end of tape 4 and starting again at tape 5.

I read all the stuff in the info file on the problems with long file
names
in the tar file format and it seems to me that the split filename is 
written or read incorrectly ...
BTW nearly all the filenames in the tar archive are > 100 characters
long.


The messages:

Read in tape 3 with a new tar session:
--- cut here ---
doris:/mnt # tar -x -M -b 126 -f /dev/nrmt0
tar: Archive contains `291720.' where numeric mode_t value expected
tar: Archive contains `046' where numeric uid_t value expected
tar: Archive contains `/NM.1003' where numeric gid_t value expected
tar:
silo1/dicom/in/DORIS/ENTEGRA8/1.2.840.113704.3.1.1017166.3181720.104835.2/1.2.840.113704.3.1.221821.:
Cannot extract
-- file is continued from another volume
--- cut here ---

Messages at the end of Tape 4 (remember, I restarted at tape 3, see
above):

--- cut here ---
Prepare volume #3 for `/dev/nrmt0' and hit return:
tar:
`silo1/dicom/in/DORIS/ENT8/1.2.840.113704.3.1.221821.29258.144929.72/1.2.840.113619.2.112.2318.10.138.10.41.1020869070.404.23565/NM.1902.6.gz'
is not continued on this volume
Prepare volume #3 for `/dev/nrmt0' and hit return:
--- cut here ---

Read in tape 5 with a new tar session:
--- cut here ---
doris:/mnt # tar -x -M -b 126 -f /dev/nrmt0
tar: Archive contains `.10.41.1' where numeric mode_t value expected
tar: Archive contains `6.g' where numeric time_t value expected
tar: Archive contains `02086' where numeric uid_t value expected
tar: Archive contains `0.404.2' where numeric gid_t value expected
tar:
silo1/dicom/in/DORIS/ENT8/1.2.840.113704.3.1.221821.29258.144929.72/1.2.840.113619.2.112.2318.10.138:
Cannot extract
-- file is continued from another volume
--- cut here ---

Bye, and thanks for this great program anyway,
Peter
WOTLmade

-- 
Peter Mueller  Elimpex - Medizintechnik GesmbH.

Tel: +43-2236-41045-0   Fax: +43-2236-41045-9
mailto:address@hidden http://www.elimpex.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]