Gopu Krishnan
2014-May-15 06:12 UTC
[Gluster-users] Automatically Mount gluster volume after booting up
Hi, I have configured glusterfs between two servers and mounting the gluster volume under /var/www directory. Since I am using only two servers, I had to install glusterfs-client in the same machine itself( http://gopukrish.wordpress.com/high-availability-load-balanced-wordpress-site/). My primary objective was to get the two servers replicated. Currently I am mounting the volume as below : mount -t glusterfs server1:/datavol /var/www When I add the same entry in /etc/fstab, server wont come online since it cant detect such a volume at bootup. Otherwise I should add the fstab entry with the server2. But in worst case(both servers down), no server wouldnt come online as both the servers are using other volume. Is there anyway to automatically mount the volume automatically after the server came up online ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140515/cd5352a4/attachment.html>