Re: Data sync error?

Graeme Gemmill <[email protected]> Fri, 3 Jun 2022 15:13:04 +0100
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 01/06/2022 18:22, Denis Corbin wrote:
> Le 01/06/2022 à 13:57, Graeme Gemmill a écrit :
>> My normally reliable backup script failed last night. Unfortunately I
>> did not print up the non-zero error code, but I received the message:
>> Error while saving data: Failed sync the slice (fdatasync): Input/output
>> error
>>
>> However, the backup looks to be the correct size, is readable by darGUI
>> and the final log messages from the log are:
>>
>> ........
>> Adding file to archive: /accounts/graeme/Software/list.txt
>> Saving Filesystem Specific Attributes for /accounts/graeme/Software/list.txt
>> Adding folder to archive: /accounts/System Volume Information
>> Saving Filesystem Specific Attributes for /accounts/System Volume
>> Information
>> Writing down archive contents...
>> Closing the escape layer...
>> Writing down the first archive terminator...
>> Writing down archive trailer...
>> Writing down the second archive terminator...
>> Final memory cleanup...
>>
>> which seem pretty normal. Should I be worried?
> the fact fsync/fdatasync failed and the reason reported by the operating
> system is "Input/output error" means you have a problem with the disk
> where have been written the slices.
>
> The fact the backup is fine does not mean it has been written properly
> down to the disk, in particular if some blocks are still pending for
> writing, the backup will read the corresponding pending block from
> memory, so the backup test may seem fine, but if you reboot the system,
> the result could be quite different.
>
> my 2 cents
>
>> -- 
>> Graeme
>> Machine 'Haydn' running Plasma 5.20.4 on 5.15.43-desktop-1.mga8 kernel.
>> Mageia release 8 (Official) for x86_64
>>
>>
Many thanks for your valuable 2 cents. Investigating further, I found 
that one of the two disks in my Buffalo NAS has failed, so am obtaining 
a replacement.
Kind regards,
Graeme