Skip to contentSkip to conversation

chache multiple devices with one cache

DISCUSSION LuVar 2 participants 2 messages May 21, 2011 – May 22, 2011 bcache (block layer cache)

lore
Share & tools
lore

LuVar

author
#0 lore raw

Hi,
I have question about using bcache in "standard" instalation of linux. I have some partitions (/boot, /home, /usr/portage, /var/lib/boinc,...) and I have one ssd hdd. I vant to use it as cache for root partition and for example for /home partition. Is it possible without partitioning ssd drive? I want from bcache to compute which of my partitions need more space for caching.

Simply I want to tel bcache that /home and / partitions should be chaced on /dev/sdg device. Is it possible with current version of bcache?

PS: I hope, reformatting my partitions will be easy as I am on lvm (on top of raid5 :-/

Have a nice day,
LuVar

#1 lore raw

Yes, you can attach multiple backing devices to a cache (up to 256, currently).

Quoted 14 lines · LuVar

Hi,
I have question about using bcache in "standard" instalation of linux. I have some partitions (/boot, /home, /usr/portage, /var/lib/boinc,...) and I have one ssd hdd. I vant to use it as cache for root partition and for example for /home partition. Is it possible without partitioning ssd drive? I want from bcache to compute which of my partitions need more space for caching.

Simply I want to tel bcache that /home and / partitions should be chaced on /dev/sdg device. Is it possible with current version of bcache?

PS: I hope, reformatting my partitions will be easy as I am on lvm (on top of raid5 :-/

Have a nice day,
LuVar
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html