[Gluster-devel] client init script

Guido Smit guido at comlog.nl
Mon Dec 10 12:12:43 UTC 2007


Jeff,

I would like to see your init script.

Guido

Jeff Humes wrote:
> I had a need to have a client init script on my CentOS 4.5 servers 
> that could mount gluster filesystems at boot time.
>
> It is currently only tested on my CentOS servers, and has no 
> guarantees attached :)
> It mounts several glusterfs filesystems at boot time, and unmounts 
> them at shutdown/reboot (unknown if unmounting is really necessary, 
> but I put it in anyway). It currently uses a configuration file that 
> holds arguments for:
> - log location
> - log level
> - configuration file full path
> - mount point
>
> It checks to see if the filesystem(s) is/are already mounted before 
> attempting to mount them or unmount them.
>
> If anyone is interested I can send the script (script includes 
> configuration file example inline).
>
> Just wanted to throw it out there.
>
> -JPH
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>

-- 
Met vriendelijke groet,

Guido Smit
ComLog B.V.

Televisieweg 133
1322 BE Almere
T. 036 5470500
F. 036 5470481






More information about the Gluster-devel mailing list