currupted btrfs breaks both recovery and boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
If btrfs volume is corrupted (separate /home partition, not even / !!!) than not only booting ubuntu in normal AND recovery mode is impossible but even liveusb fails as well. The recovery drops to shell but it's impossible to fix btrfs - there's unkillable mount -t btrfs... process hanging and kernel regularly pukes with "btrfs-transacti blocked for 120 seconds" message.
This is beyond horrible - the whole purpose of recovery mode is to fix errors like that, errors on partition which is not used to boot from (e. g. /home) should never ever break it. Alternatively you could add new mode to grub menu - smth like "recovery which actually works" or something like that.
The workaround is to add 'break=premount' to grub command line and fix btrfs with 'btrfs check --repair /dev/dm-....' from initramfs.
Found on xubuntu 15.04 x86_64.
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1452165
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.