[opensuse] Fwd: Btrfs root partition forced readonly
Hello! I seem to have run into a little trouble with btrfs filesystem on my Tumbleweed installation. The system no longer boots to the graphical environment. The issue seems to be that the root filesystem (sdb3) which uses btrfs filesystem is mounted readonly during boot. The filesystem is on a WD hard drive. I did an extended check on the drive using WD's Data Lifeguard Diagnostic tool which passed the drive as healthy. I found the following errors in the logs: ================================ # journalctl -xb BTRFS: error (device sdb3): unable to find ref byte nr 12967161856 parent 557531136 root 5 owner 2659226 offset 0 .. BTRFS: error (device sdb3) in __btrfs_free_extent:6951: errno=-2 No such entry BTRFS info (device sdb3): forced readonly BTRFS: error (device sdb3) in btrfs_run_delayed_refs:2690: errno=-2 No such entry ================================ Could this be an issue with the root filesystem? I dug into this a bit and the btrfs wiki seems to recommend against using a fsck tool (https://btrfs.wiki.kernel.org/index.php/FAQ#When_will_Btrfs_have_a_fsck_like...). Can anything be done to repair this partition or should I format and reinstall? Thank you so much for your help in advance and have a pleasant day! Thomas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/30/2016 09:54 AM, Thomas Bauffe wrote:
Could this be an issue with the root filesystem? I dug into this a bit and the btrfs wiki seems to recommend against using a fsck tool (https://btrfs.wiki.kernel.org/index.php/FAQ#When_will_Btrfs_have_a_fsck_like...). Can anything be done to repair this partition or should I format and reinstall?
I note that http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg11836.html which discusses btrfsck and making it into a proper fsck has a date of 2011. So what has happened since then> If you run 'btrfs --help' you will see btrfs check and btrfs rescue I don't know if either of those will solve your problem but they may give more information. I've had to use them in the past and they worked for me. They may help you. Why these facilities aren't in a 'fsck' for BtrFS I don't understand. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Anton Aylward
-
Thomas Bauffe