[Bug 1451265] Re: dirty reboot always results in unbootable system if root is btrfs
Luiz Angelo Daros de Luca
1451265 at bugs.launchpad.net
Wed Sep 28 13:41:50 UTC 2016
The bug came back today with 16.04 (fully updated just yesterday).
Kernel always failed with the "unable to mount root" BT on multiple
could boot attempts.
Again, I needed to boot with a livecd in order to be able to boot my
machine again. I only runned btrfs check with no "--repair" and not
error was shown. I mounted it, unmounted and rebooted. After that,
system booted normally. It seems that btrfs "recovery itself" on boot,
with the simple "btrfs check" or with the mount.
It seems that btrfs is able to recover but maybe the kernel could not
find the FS. My system defines root in kernel cmdline as
root=UUID=9051c9b6-070c-443a-8f8f-f7c23c1b01c6. Maybe a dirty btrfs can
mess with kernel procedure to list FS by UUID?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1451265
Title:
dirty reboot always results in unbootable system if root is btrfs
Status in btrfs-tools package in Ubuntu:
Confirmed
Bug description:
Probably it is not a btrfs-tool bug but it is a btrfs related one.
I'm using btrfs as my rootfs in 15.04. Whenever I do a dirty reboot (power outage, sysrq-reboot, etc...) ubuntu is not bootable anymore. Ubuntu splash is kept in loop forever but Ctrl+alt+del works. The only workaround I found is to reboot in a livecd and do a
btrfs check --repair /dev/sda6 (my rootfs)
Which seems to undo part of what was changed in fs (including logs).
Is there any better way to debug this?
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: btrfs-tools 3.17-1.1
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: fglrx wl
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun May 3 18:32:42 2015
SourcePackage: btrfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/1451265/+subscriptions
More information about the foundations-bugs
mailing list