I have a server which backs up itself on another server with duplicity
(actually duply
). The full backup is about 330 1-GB files. The full backup finished without problems, but the next day the incremental terminated with "CRC check failed". On the backup server several files appear to have a problem:
# gzip *20170530* --test
gzip: duplicity-full-signatures.20170530T032515Z.sigtar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol139.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol139.difftar.gz: invalid compressed data--length error
gzip: duplicity-full.20170530T032515Z.vol146.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol169.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol171.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol171.difftar.gz: invalid compressed data--length error
gzip: duplicity-full.20170530T032515Z.vol193.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol223.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol224.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol233.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol301.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol310.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol310.difftar.gz: invalid compressed data--length error
gzip: duplicity-full.20170530T032515Z.vol53.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol53.difftar.gz: invalid compressed data--length error
gzip: duplicity-full.20170530T032515Z.vol63.difftar.gz: invalid compressed data--crc error
gzip: duplicity-full.20170530T032515Z.vol63.difftar.gz: invalid compressed data--length error
If only one file had an error I'd just retry hoping it would be a random error. But... 13 files with error? How should I debug this?
Both servers are Debian 8. Duplicity is 0.6.24, installed with apt; the same thing with all dependencies, with the exception of paramiko, for which 1.16.0 has been installed.
The main server's logs do show some SATA stuff, but would this result in silently corrupting files? Wouldn't the full backup have stopped with an I/O error or something? Here's an example of stuff written in the log:
May 31 06:49:11 acheloos kernel: [1887359.720042] ata3.00: exception Emask 0x50 SAct 0x40000 SErr 0x280900 action 0x6 frozen
May 31 06:49:11 acheloos kernel: [1887359.720472] ata3.00: irq_stat 0x08000000, interface fatal error
May 31 06:49:11 acheloos kernel: [1887359.720870] ata3: SError: { UnrecovData HostInt 10B8B BadCRC }
May 31 06:49:11 acheloos kernel: [1887359.721255] ata3.00: failed command: READ FPDMA QUEUED
May 31 06:49:11 acheloos kernel: [1887359.721639] ata3.00: cmd 60/40:90:ac:3b:d8/00:00:2e:00:00/40 tag 18 ncq 32768 in
May 31 06:49:11 acheloos kernel: [1887359.721639] res 40/00:94:ac:3b:d8/00:00:2e:00:00/40 Emask 0x50 (ATA bus error)
May 31 06:49:11 acheloos kernel: [1887359.722430] ata3.00: status: { DRDY }
May 31 06:49:11 acheloos kernel: [1887359.722927] ata3: hard resetting link
May 31 06:49:11 acheloos kernel: [1887360.040025] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
May 31 06:49:11 acheloos kernel: [1887360.041846] ata3.00: configured for UDMA/133
May 31 06:49:11 acheloos kernel: [1887360.041859] ata3: EH complete