Re: Intregrity of files restored with btrfs restore

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

 



Am 30.12.2019 um 00:20 schrieb Chris Murphy:
> In theory they're fine. But in practice it depends on how the
> application is updating those files. It's possible the updates are
> part of separate transactions, so some of the files may be updated and
> other files not updated, depending on when the crash happened. But
> since there are no overwrites in Btrfs (so long as the files haven't
> had chattr +C set), and if the hardware is honoring barriers,  what
> should be true with a crash is that a restore recovers the most recent
> fully committed version of that file.
> ...

This sounds good. All files on the 6TB partition should have been writen
long before the crash (it's a backup disk that had been transfered to an
external enclosure that failed while reading).

5 files and 5 directories could not be recovered, but this is tolerable
for me.

-- 
Thank you very much,
Alex



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux