Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to load bcache over raid before fsck?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ktsaou
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 80

PostPosted: Sun Jun 17, 2018 8:26 pm    Post subject: how to load bcache over raid before fsck? Reply with quote

Hi all,

I have a non-system filesystem that is:

BTRFS
-> on a BCACHE (with 512GB SSD for caching - though this is irrelevant)
-> on a MD RAID-1
-> on 2x 8TB HDDs

The problem is that the boot process does not "see this filesystem". So the system boots with this disk unmounted. fsck fails with unknown UUID.

So, I have added an rc.local script to mount it, but this is very annoying since several services that depend on this filesystem fail to start too.

I understand that somehow the boot process is not loading the bcache module on time.

This is an openrc system and I used genkernel to generate initramfs (yes, the bcache module is in initramfs - though I don't know how to force loading it before calling openrc).

Any ideas how to fix?


btw, netdata (https://my-netdata.io) monitors bcache (it provides statistics of bcache hit ratio, cache disk utilization, writeback, etc).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum