bcache-tools should be added by installer if system is installed onto bcache device

Bug #1515068 reported by Neil McPhail
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

At present, if a system is installed onto a bcache'd device, it will fail at first boot as the device will not be recognised. It is necessary to chroot into the system and install bcache-tools manually. This should be handled by the installer, as it would be for other exotic setups such as RAID, LVM and encrypted volumes.

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I think what you're really saying here is that there is no installer support for bcache. I'd say that this would be primarily a wishlist bug in the installer that you are using, even if bcache-tools needs modifying to add a udeb. Can you please specify which install you are using, and then we can reassign the bug there?

Changed in bcache-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Neil McPhail (njmcphail) wrote :

Thanks racb. I'd asked in #ubuntu on IRC, and no-one could tell me against which package to file the bug.

The problem is with the standard graphical installer from the Ubuntu live disk image. If it is installing onto a bcache'd drive, it should install bcache-tools. I think the installer already handles LVM, encrypted and RAID setups gracefully, and it would be nice if it did the same for bcache.

Thanks for reassigning this appropriately.

Revision history for this message
Robie Basak (racb) wrote :

Let's try ubiquity. I don't know if that's right, but I think it's closer.

affects: bcache-tools (Ubuntu) → ubiquity (Ubuntu)
Changed in ubiquity (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Matt Sturgeon (mattsturgeon) wrote :

I think as mentioned in Question #246592 it would be really good to add bcache to the system partitioning part of the installer.

On my desktop I have a small 60GB SSD and a large 2TB HDD

I have my fstab set up roughly like so:

    /dev/sda SSD
        sda1 20GB /
        sda2 32GB {bcache cache device}
        sda3 8GB {swap}

    /dev/sdb HDD
        sdb1 4GB /var
        sdb2 ~2TB {bcache backing device}

   RAM
        tempfs /tmp

   bcache
        bcache0 {sda2->sdb2} /home

I feel it would be very useful if the installer could recognise bcache devices and offer to use them like other devices during install.

Extending from this, it would be great to be able to setup cache devices and backing devices and then choose where to mount the resulting bcache device.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.