NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mount -a vs glusterfs



On 14.09.2020 16:39, Michael van Elst wrote:
The source suggests that glusterfs uses the filesystem type
"puffs|perfuse|fuse.glusterfs" and the check above strips
the "puffs|" prefix. Sounds like lots of magic, but not
enough to make the check work.

Please run 'mount' or 'mount -v' to see what filesystem type
is actually recorded. "glusterfs" or "puffs!glusterfs" should
be fine.

It says:
gfs01:/gva on /gva type puffs|perfuse|fuse.glusterfs

I'm confused - do you say the source check for phrase exactly
what mount show to me?
A second 'mount -a' only looks for 'glusterfs'. But
'puffs|perfuse|fuse.glusterfs' doesn't match and so the double mount
isn't detected.

I'm not sure why or how the 'puffs|perfuse|fuse.glusterfs' type is
used. It probably has a meaning.

A regular puffs fstab entry as described in mount_puffs(8) would
look like

/usr/pkg/sbin/mount_glusterfs#gfs01:/gva /gva puffs rw,backup-volfile-servers=gfs02:gfs03:gfs04:gfs05:gfs06

Good news is "puffs" syntax via # solved problem of "noauto" option. It was impossible to have it in "glusterfs" syntax. Bad news is
'mount -a' still can't check for mounted volume.

This is supposed to be the magic that makes 'mount -a' work, but
with the registered type of 'puffs|perfuse|fuse.glusterfs' I don't
see how it matches the value 'puffs' in fstab.

But give it a try.


--
Sincerely yours,
Dima Veselov
Physics R&D Establishment of Saint-Petersburg University


Home | Main Index | Thread Index | Old Index