Re: gluster volume not mounted on boot

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

 



On Thu, Oct 20, 2016 at 10:38:52AM +0200, Josep Manel Andrés wrote:
> Right, Client and server are at the same box. Doesn't really understand 
> what autofs does exactly ... but, isn't it the same to use:
> 
>   sleep 10 && mount /gluster
> 
> on rc.local ?
> 

More or less, yes.
AutoFS mounts the directory only when some process tries to access it,
could be 10 seconds after boot or 2 hours. The good part is that it'll
keep trying at each access until it works, so if your gluster takes 2
minutes to start for some reason, it'll still work, but sleep 10 won't.
Now if sleep 10 works for you great, but I guess you wouldn't be posting
here if it did :D

-- 
Kevin Lemonnier
PGP Fingerprint : 89A5 2283 04A0 E6E9 0111

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux