forcing rewrite of one of mdadm raid1 disks

on not so important server i got an alert about SMART errors and failing weekly surface test [ smartctl -d sat -t long /dev/sdb ]. i wanted to force the drive to re-allocate bad sectors; i could not read it anymore – cat /dev/sdb > /dev/null would fail with read errors. i remember reading somewhere ... Read More

resizing btrfs on luks on mdadm raid10

one of my KVM VMs keeps data on BTRFS on top of encrypted LUKS drive. that drive is a block device passed from virtualization server to VM… a block device which is mdadm software RAID10. below – steps taken to resize it.