Dear all
I mount GlusterFS at boot and use nullfs to remount part of GlusterFS to somewhere else, both via /etc/fstab. This remount “sometime” fails at boot. That is, it works too sometimes.
I’m running 12.1-RELEASE (amd64 on intel i7) and glusterfs-3.11.1_6.
My /etc/fstab:
1. GlusterFS “always” get mounted on /mnt/gluster/.
2. The /mnt/gluster/Home “sometime” fails to mount on /home with following message on /var/log/messages:
Am I missing any required mount option?
Symptom shows that /mnt/gluster/Home trying to get mounted before /mnt/gluster get mounted.
What I miss in my mount options is a way to declare that /mnt/gluster is required for /mnt/gluster/Home mounting. Eg. require="/mnt/gluster". Is there such an option in FreeBSD?
Thanks.
I mount GlusterFS at boot and use nullfs to remount part of GlusterFS to somewhere else, both via /etc/fstab. This remount “sometime” fails at boot. That is, it works too sometimes.
I’m running 12.1-RELEASE (amd64 on intel i7) and glusterfs-3.11.1_6.
My /etc/fstab:
Code:
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0p2 none swap sw 0 0
/dev/ada0p3 / ufs rw 1 1
# Mount GlusterFS volume
host1:/GFSVol /mnt/gluster/ fusefs rw,acl,transport=tcp,_netdev,backup-volfile-servers=host2:host3,mountprog=/usr/local/sbin/mount_glusterfs,late,failok,log-level=WARNING 0 0
# Mount home from GlusterFS
/mnt/gluster/Home /home nullfs rw,late,failok 0 0
1. GlusterFS “always” get mounted on /mnt/gluster/.
2. The /mnt/gluster/Home “sometime” fails to mount on /home with following message on /var/log/messages:
Code:
kernel: mount_nullfs: /mnt/gluster/Home: Socket is not connected
Symptom shows that /mnt/gluster/Home trying to get mounted before /mnt/gluster get mounted.
What I miss in my mount options is a way to declare that /mnt/gluster is required for /mnt/gluster/Home mounting. Eg. require="/mnt/gluster". Is there such an option in FreeBSD?
Thanks.