dirty reboot always results in unbootable system if root is btrfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
btrfs-tools (Ubuntu) |
Confirmed
|
High
|
Unassigned |
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
ProcVersionSign
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelMo
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)
Changed in btrfs-tools (Ubuntu): | |
importance: | Undecided → High |
Yes I just experienced this as well on 15.04 server on a vm. I have a btrfs root fs, did a "power off the machine" in virtual box and it would not boot after that. I ran "btrfs check --repair /dev/sda5" and was able to boot.