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

Re: [Nbd] wishlist: read-only bcache for nbd / LTSP devices



El jue, 28-08-2014 a las 17:38 +0200, Goswin von Brederlow escribió:
> On Thu, Aug 28, 2014 at 03:09:53PM +0200, Juan Antonio Martinez wrote:
> > Hi all,
> > 
> > Short question: how to use bcache with read-only devices such as
> > CD's or read-only NBD devices?

> > [...]

> Can't you use the device mapper caching support? You probably want to
> destroy all cache on reboot, which means you can just set this up
> fresh on every boot without persistent metadata.

Your suggestion did the work. NBD + dm-cache works fine

A (not so) little problem persist: nbd device should be connected
_before_ resume device mapper operations. This means that no easy way to
use a NBD root filesystem (as LTSP does) without hard re-working at
initramfs

Juan Antonio




Reply to: