On 06/05/15 05:50, Neil Bothwick wrote: > On Tue, 5 May 2015 08:53:29 -0400, Rich Freeman wrote: > >> In general btrfs tends to do most of its fixing online. I'd only run >> btrfs check if the filesystem is unmountable. > > That's the only time I've had to use it. This was on a laptop with a > single SSD, so there was no where to sync good data from. It worked > without data loss but was very slow, around 12 hours for a 250GB > filesystem on one occasion. > >
I have two btrfs raid1 multidisk arrays (3x and 5x 2T drives) that take "forever" to fsck and after a power crash (had two in 2 days :( appear to hang at the fsck stage on reboot (no disk activity and some hours later still none.) Ive taken to booting from a usb key and editing fstab to get a full start and manually fsck - awkward. Its been quite awhile now since I've found problems either with an fsck or a scrub after abusing the arrays so I would like to force a degraded mount on reboot after a crash. I am using genkernel and openrc - where can I to modify the boot scripts? (looks like /usr/share/genkernel/defaults/linuxrc but the actual place to add the btrfs options isn't obvious) BillK