Hi *,
I'd like to change the cache device setup of my servers, with a
minimum of downtime (if at all).
https://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt?h=bcache-dev describes the steps required to replace the caching
device:
- detach the caching device (echo 1 > /sys/block/bcacheX/bcache/detach)
- unregister the cache set (echo 1 > /sys/fs/bcache/<uuid>/stop)
I believe that issuing that second step will break access to
/dev/bcacheX, so cannot be done without interrupting the service
(description for cset "stop" in bcache.txt: "Write to this file to
shut down the cache set - waits until all attached backing devices
have been shut down.").
What I'm actually looking for is to change the sectors per block value
of the caching device, without having to shut down operations on the
according bcache device (cache_mode=none at that time). Is there any
way to do so?
Regards,
Jens
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html