On Wed, 2021-03-31 at 21:17 +0800, Ed Greshko wrote:
On 31/03/2021 19:49, Patrick O'Callaghan wrote:
I currently have a pair of external drives configured as ext4 with RAID1 using mdadm, and mainly used for backup. My / and /home filesystems are now BTRFS so I'm looking at converting the external drives to BTRFS with RAID1. My main reason is to take advantage of BTRFS checksumming as a guard against bitrot, but I'd also like the flexibility of setting up subvolumes with different properties (the disks are currently 90% empty).
Any thoughts on this? What would be the simplest conversion strategy if I go ahead?
Just a thought.... If the drives are 90% empty and used mainly for backup and there is sufficient space on the local storage for the remainder I'd take the path of least resistance.
I'd copy the "non-backedup" stuff to local storage and then blow the rest away and create the raid/btrfs volumes from scratch. After that is done, move the stuff back and do a backup. I'm lazy. And if possible, I'd rather not do something I'm unlikely to have to do again in the future. :-) :-)
Yes, pretty much what I had in mind.
poc