Unable to mount lvmcache root device at boot time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Medium
|
Andy Whitcroft | ||
lvm2 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
I'm experimenting with Vivid Vervet on a virtual machine and tried a new LVM feature, lvmcache. I made a cache for the root file system, rebuilt the initrd and rebooted the VM.
At boot time, the system failed to activate the root LV. After some investigation, I found out, it's because the initrd is missing some essential stuff needed for activating a cached LV.
The initrd was missing the dm-cache module. I regenerated the initrd with explicitly listing dm-cache in /etc/initramfs-
As SSDs are becoming more and more common, I think it will be common to use them as cache for root file systems, thus it is mandatory to make sure that an initrd can mount an lvmcached root device when necessary, preferably without /etc/initramfs-
System details:
Linux lvmvm 3.18.0-13-generic #14-Ubuntu SMP Fri Feb 6 09:55:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04
Codename: vivid
LVM version: 2.02.111(2) (2014-09-01)
Library version: 1.02.90 (2014-09-01)
Driver version: 4.28.0
affects: | linux (Ubuntu) → lvm2 (Ubuntu) |
Changed in lvm2 (Ubuntu): | |
status: | Incomplete → New |
tags: | added: vivid |
description: | updated |
description: | updated |
description: | updated |
Changed in lvm2 (Ubuntu): | |
importance: | Undecided → High |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in initramfs-tools (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Andy Whitcroft (apw) |
milestone: | none → ubuntu-15.03 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.03 → ubuntu-15.07 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.07 → ubuntu-15.08 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.08 → ubuntu-15.09 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.09 → ubuntu-15.10 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.10 → ubuntu-15.11 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.11 → ubuntu-15.12 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-15.12 → ubuntu-16.01 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-16.01 → ubuntu-16.02 |
Changed in linux (Ubuntu): | |
milestone: | ubuntu-16.02 → ubuntu-16.03 |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1423796
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.