From: aclark@netcom.com (Al Clark) Subject: Re: GNU tar dies on multi-volume archive. Help. Date: Sun, 14 Jun 1992 15:37:50 GMT
In article <1992Jun12.192948.7047@wam.umd.edu> joel@wam.umd.edu (Joel M. Hoffman) writes:
>I'm trying to backup my /acc partition, using the following:
>
> tar +listed-incremental /etc/backup/full.acc +verbose +create
> +multi-volume +tape-length 1400000 +compress +one-file-system
> +file /dev/a: /acc/
>
>(it's all on one line, of course).
>
>but it dies before the end of the first disk with:
>
> tar (child): only wrote 0 of 10240 bytes to /dev/a:
> acc/joel/letters/personal/mike525.tex
> acc/joel/letters/personal/mike525.dvi
>
>What's going on? I purposely used tape-length 1400000, which is a
>little less than 1440000, because I know there have been some problems
>reading the last bit of floppies. Any ideas?
>
>``Tar +version'' tells me GNU tar version 1.10. This is /not/ the
>buggy tar distributed with 0.95; it untars gcc without a problem. I'm
>running 0.96 with the first patch applied.
>
>-Joel
>(joel@wam.umd.edu)Newsgroups: comp.os.linux
>
>
I haven't used the option, but I was doing some research for a tar.1 manual
I'm working on, and it appears that the +tape-length option specifies "tape"
size in 1K blocks, thus you should use:
+tape-length 1400
to get the effect you want. I have NOT tested this. Good luck.
Al
--
Al - aclark@netcom.com - My opinions are my own.
*** Practice random kindness and senseless acts of beauty! ***