[Top][All Lists]

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

[Bug-tar] tar, multi-volume and long filenames

From: Ingo von Borstel
Subject: [Bug-tar] tar, multi-volume and long filenames
Date: Wed, 24 Jan 2007 12:50:04 -0000
User-agent: Thunderbird (X11/20060516)

Hi there,

I just discovered a phenomenon that tar exits with errorcode one in my
backup script - and I'm not sure about the cause. The situation is as

address@hidden:~/backup> tar --version
tar (GNU tar) 1.15.1

My backupscript basically looks like this, omitting variable initilization:

### begin shell script ###
tar --create --one-file-system
--file=$backupfilename --tape-length=2000000 --recursion --multi-volume
$backupfileprefix" --totals /home/ingo/*

/home/ingo/backup/volumechange.sh $backupfileprefix
### end shell script ###

Now that works fine for four volumes, the fifth is only created as a
zero sized file and the script / tar exits with a cron notification that
reads like

### begin error message ###
From: Cron Daemon <address@hidden>
To:  <address@hidden>
Subject: Cron <address@hidden> /home/name/backup/makeremotebackup.sh
tar: Removing leading `/' from member names
file name
too long to be stored in a GNU multivolume header
tar: Error is not recoverable: exiting now
### end error message ###

The mentioned file name is the last file listed in the 4th volume of the
created multi volume archive. The fifth is created with zero bytes of
length. Any ideas why I experience this behaviour? Filenames of the same
length are stored without any problems in the first four volumes of the

Best regards,
Ingo von Borstel

Ingo von Borstel                <address@hidden>
Institut für Geophysik          Tel: +49 (0)531 - 391 7236
 und extraterrestrische Physik  Fax: +49 (0)531 - 391 5220
Mendelssohnstraße 3             
D-38106 Braunschweig

Attachment: i.vonborstel.vcf
Description: Vcard

reply via email to

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