[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#718548: bcache in D-I



Samuel Thibault <sthibault@debian.org> writes:
> Andreas Kloeckner, le Wed 07 Jan 2015 09:59:58 -0600, a écrit :
>> It's true that bcache is in the full kernel image package, but bcache.ko
>> is *not* available in D-I (without extracting the kernel package,
>> manually finding the .ko, insmod, ...). I would like to suggest that at
>> least bcache.ko be included in the installer image, so that this
>> annoying charade can be avoided.
>
> Will it be useful at all since bcache-tools is not available?

Yes, since all you need to get a preexisting bcache volume up and
running is:

modprobe bcache
echo /dev/sdb > /sys/fs/bcache/register
echo /dev/sdc > /sys/fs/bcache/register

Once you do this, the bcache volume shows up in the partitioner and you
can install a new Debian system pretty much as usual. Right now, even
performing that first step involves unpacking the kernel image .deb,
fishing out the .ko, and insmod. See also here:

[1] http://atlas.evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt?h=bcache-dev

This is not to say that more comprehensive bcache support in d-i
wouldn't be lovely, but this is a already a very useful (and, by my
estimation, easy) step.

FWIW, many newer Thinkpads ship with a storage configuration where
bcache is really the only sensible thing to do: A 16 GB SSD plus a large
spinny disk.

Andreas

Attachment: signature.asc
Description: PGP signature


Reply to: