In order for glusterfs to mount successfully the fuse module needs to be available when mount.glusterfs is invoked. This can be achieved in one
of two ways:
1. Compile the module statically into the kernel.
2. Arrange for fuse service to be started prior to netmount (using say /etc/conf.d/netmount rc_need="fuse")
On 8.4.2024 12.51, Jaco Kroon wrote:
In order for glusterfs to mount successfully the fuse module needs to be3. Add "/sbin/modprobe -q fuse" to the init.d file's start_pre()
available when mount.glusterfs is invoked. This can be achieved in one
of two ways:
1. Compile the module statically into the kernel.
2. Arrange for fuse service to be started prior to netmount (using say
/etc/conf.d/netmount rc_need="fuse")
function, ExecStartPre with systemd, and make the ebuild warn about CONFIG_FUSE_FS with linux-info.eclass.
The latter can certainly be done and makes sense (only required if
you're using the fuse mount, so if USE=fuse at least).
The former doesn't make sense to do blindly in /etc/init.d/netmount
(which belongs to sys-apps/openrc, not glusterfs).
Hey,
On 11.4.2024 9.14, Jaco Kroon wrote:
The latter can certainly be done and makes sense (only required ifwell I was thinking about putting that into glusterfs's init file.
you're using the fuse mount, so if USE=fuse at least).
The former doesn't make sense to do blindly in /etc/init.d/netmount
(which belongs to sys-apps/openrc, not glusterfs).
Hi All,
I was hoping for some advise regarding how I could improve the glusterfs package for users (and myself). At least those using openrc, but I
suspect similar may be applicable to systemd, but I have no idea how
systemd handles network mounts so perhaps someone could chip in here on
that front too.
Specifically the mounting of glusterfs file systems currently has a few problems (glusterd if server=localhost, network, dns(?) and fuse availability). For now the focus is on the fuse aspect since that's the biggest annoyance by far.
Mounting happens via the netmount service.
In order for glusterfs to mount successfully the fuse module needs to be available when mount.glusterfs is invoked. This can be achieved in one
of two ways:
1. Compile the module statically into the kernel.
2. Arrange for fuse service to be started prior to netmount (using say /etc/conf.d/netmount rc_need="fuse")
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 17:21:59 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,617 |
Messages: | 6,121,089 |