Intregrity of files restored with btrfs restore

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

 



Hi,

btrfs restore has recovered files from a crashed partition.  The command
used was

btrfs restore -m -v /dev/sdX /dst/path/

without further options like -i etc.

Are the recovered files consistent in the sense that if the file was
committed to disk and was not open during the crash, then the content of
the file would be the same as before the crash, and that damage to files
during the crash (e.g. by random writes) would result in the file not
being recovered by btrfs restore?

I could not find a clear statement about this in the man page or the
btrfs wiki.

# uname -a
Linux healer 5.3.0-3-amd64 #1 SMP Debian 5.3.15-1 (2019-12-07) x86_64
GNU/Linux

# btrfs --version
btrfs-progs v5.4

The btrfs file system had been created in a system with a Linux 4.19.72
kernel.

-- 
Thanks in advance,
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