On Friday 2016-12-23 22:56, Carlos E. R. wrote:
Date: Fri, 23 Dec 2016 22:56:24 From: Carlos E. R. <robin.listas@telefonica.net> To: opensuse@opensuse.org Subject: Re: [opensuse] btrfs problem - how to run btrfsck on boot
On 2016-12-23 22:26, Paul Neuwirth wrote:
Hello, got a problem with a machine here. First question: how to run btrfsck on boot? adding fsck.mode=force as kernel parameter seems only to only to check boot partition. The rebooted system fails again after some minutes (see log at end of post)
As far as I know, it is not possible. Use a rescue system.
maybe another reason to switch back to ext4. btrfsck failed IIRC with exit code 234. ran btrfsck --repair /dev/md2 . now I started btrfsck --repair -p /dev/md2 and waiting for result (tons of lines).
[393168.772025] ata3.00: exception Emask 0x10 SAct 0x0 SErr 0x1810000 action 0xe frozen [393168.772030] ata3.00: irq_stat 0x00400000, PHY RDY changed [393168.772032] ata3: SError: { PHYRdyChg LinkSeq TrStaTrns } [393168.772036] ata3.00: failed command: FLUSH CACHE EXT [393168.772041] ata3.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 19 res 40/00:94:c0:26:9c/00:00:08:00:00/40 Emask 0x10 (ATA bus error)
I would check the hardware. Run the long SMART test on both hard disks.
I also forgot to mention, mdadm is not reporting errors, (last night before) long selftests ran without error, SMART data looks also ok.
Thanks a lot and happy christmas
Same.
Just remember to trim the logs out of your responses, there is no need to send them again.
thanks for the hint
- -- Cheers / Saludos,
Carlos E. R.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org