[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem comparing tape with system
From: |
Guido Leenders |
Subject: |
Problem comparing tape with system |
Date: |
Thu, 16 Aug 2001 09:40:48 +0200 |
Hi,
I've used tar 1.13 to create tar-archives on magnetic tape (DLT). Backup
is running
fine since weeks, but the compare never succeeds, whatever I try.
I backup using:
# tar -b 256 --create --sparse --totals --verbose --verbose \
--no-recursion --file=/dev/rmt0h --files-from FILE
When doing a compare using:
# cd /
# tar --no-recursion --compare --verbose --verbose --file /dev/rmt0h -b
256 --sparse
drwxr-xr-x root/system 0 2001-06-18 08:10
: File does not exist
drwx------ root/system 0 2000-10-10 14:36 .tags/
-rw-r----- root/operator 647168 2001-01-22 09:11 quota.user
quota.user: Data differs
tar: Skipping to next file header
# ($?=1)
tar stops after the skipping to next file header but does not
check the rest of the tape archive.
When doing a comparing from a different working directory:
# cd /tmp
# tar --no-recursion --compare --verbose --verbose --file /dev/rmt0h -b
256 --sparse
LOTS OF 'File does not exist' errors, but tar goes through the whole
tape archive before ending.
When doing a list:
# tar --no-recursion --list --verbose --verbose --file /dev/rmt0h -b 256
--sparse
There is the normal output, no problems. Contents have also shown to be
restorable.
I would expect that the --compare would compare the tape archive, but
for some reason it
ends after the first difference. Is there a method to make sure it
compares the whole tape
instead of only the first file?
Thanks for all replies,
Guido Leenders
--
Guido Leenders
Managing Consultant Tel: +31 (0)475 691 691
Invantive Mob: +31 (0)621 228 293
Wijershoflaan 51 Fax: +31 (0)475 691 444
6042 NK Roermond Mailto: address@hidden
The Netherlands Web: http://www.invantive.com
Invantive Tact: improving your customer's satisfaction
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problem comparing tape with system,
Guido Leenders <=