Using BTRFS for bitrot protection

Using Nextcloud Pi you get some great BTRFS options, but how does one use them to protect against bitrot?

Is anyone else doing this?

My hard drives are getting old and I worry that I will get some corrupted data without knowing about it.

As far as I understood the filesystem does correct these errors itself when you use a RAID. There are probably tools to get a bit more information, but I think it is better to check in dedicated forums.

Some nice background information (it’s from 2014):

you can run btrfs every now and then

sudo btrfs scrub start <volume>

also there’s CRC in BTRFS blocks

1 Like