8

BTRFS data corruption on unclean shutdown

view full story
linux-howto

http://forums.fedoraforum.org – I use BTRFS on my root system with Fedora 18 (fully updated as of now). I noticed extreme data/file loss when an unclean shutdown happens (e.g. power loss, hardware reset etc.). I tested this doing the following test: ~ # touch test.txt ~ # echo 'hello' > test.txt ~ # cat test.txt hello So the file is there and it should be written on disk correctly. After that I press the hardware reset button on my computer and the system reboots (uncleanly ofcourse). When fedora boots up and I log in, the test.txt file is missing. Here's the output of the journal regarding btrfs: Code: May 17 (HowTos)