* Bcache accelerated LVM LV device doesn't come up after reboot
@ 2023-06-04 22:53 Alcatraz NG
2023-06-05 19:54 ` Eric Wheeler
0 siblings, 1 reply; 2+ messages in thread
From: Alcatraz NG @ 2023-06-04 22:53 UTC (permalink / raw)
To: linux-bcache
Hello,
I am using bcache to accelerate my LVM LVs (lvmcache is not ideal
approach for some reason). But every time I reboot, all bcache devices
just disappear, and doesn't come up until `partprobe` being executed
manually.
Is there any method to let bcache bring those devices up automatically
when the system is up? The `partprobe` workaround isn't ideal as most
applications will fail due to the non-existent device. I have tried to
adjust some module load configurations, but it did not work.
Many thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bcache accelerated LVM LV device doesn't come up after reboot
2023-06-04 22:53 Bcache accelerated LVM LV device doesn't come up after reboot Alcatraz NG
@ 2023-06-05 19:54 ` Eric Wheeler
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wheeler @ 2023-06-05 19:54 UTC (permalink / raw)
To: Alcatraz NG; +Cc: linux-bcache
On Mon, 5 Jun 2023, Alcatraz NG wrote:
> Hello,
>
> I am using bcache to accelerate my LVM LVs (lvmcache is not ideal
> approach for some reason). But every time I reboot, all bcache devices
> just disappear, and doesn't come up until `partprobe` being executed
> manually.
It sounds like the udev rules aren't configured. Do you have this file
from the bcache-tools package (the number "69" may differ):
/usr/lib/udev/rules.d/69-bcache.rules
Depending on your setup you might have to rebuild the initramfs, too (ie
`dracut` or `update-initramfs` or whatever your distro uses).
--
Eric Wheeler
>
> Is there any method to let bcache bring those devices up automatically
> when the system is up? The `partprobe` workaround isn't ideal as most
> applications will fail due to the non-existent device. I have tried to
> adjust some module load configurations, but it did not work.
>
> Many thanks
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-05 19:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-04 22:53 Bcache accelerated LVM LV device doesn't come up after reboot Alcatraz NG
2023-06-05 19:54 ` Eric Wheeler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).