[Gluster-users] glusterfsd initscript default sequence
Liam Slusser
lslusser at gmail.com
Tue Sep 8 21:06:13 UTC 2009
The init script is also wrong if you used a non-default install path.
It always points to /usr/sbin/glusterfsd and not your --prefix
specified path.
liam
On Sun, Sep 6, 2009 at 9:18 PM, Jeff Evans <jeffe at tricab.com> wrote:
>
>> In the case that the node is both a server and a client, as I
>> wish to use it (3-node cluster, where each is both a client and
>> server in cluster/replicate configuration), I found that using
>> /etc/fstab to mount and the default glusterfsd initscript of S90
>> causes the mount to be made before glusterfsd is up.
>
> My scenario exactly.
>
>> In a test I
>> just ran where I restarted all three nodes at the same time, for
>> the server that came up first, it seems the client decided
>> nothing was up.
>
> Yes, and this causes anything that depends upon the glusterfs mount to
> wait at startup for the FS to become available.
>
>>I too think S90 is off,
>> although I'm not sure where it should go, or how to make it start
>> glusterfsd before it gets to /etc/fstab mounting?
>
> I think the only way to ensure glusterfsd comes up before fstab
> mounting (mount -a) is by using the noauto option and then mounting it
> later in rc.local or whenever you are ready.
>
> In my case, I want glusterfs available ASAP and using S50 was adequate
> as this is before anything like smb/nfs/httpd starts looking for the
> mount.
>
> Thanks, Jeff.
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
More information about the Gluster-users
mailing list