[Gluster-users] Client hangs on boot

David Coulson david at davidcoulson.net
Tue Dec 4 01:23:09 UTC 2012


Try making it:

mseas-data:/gdata       /gdata                   glusterfs 
defaults,_netdev    0 0

Otherwise it'll try to mount too early in the startup sequence.

David

On 12/3/12 8:21 PM, Pat Haley wrote:
>
> Hi,
>
> We have a compute cluster running CentOS 6.2 (installed via
> Rocks 6.0) which mounts a gluster filesystem (gluster 3.3.1).
> To mount the gluster filesystem we included the following
> line in /etc/fstab
>
> mseas-data:/gdata       /gdata                   glusterfs defaults    
> 0 0
>
> The issue we're seeing now is that if we reboot the client with
> this line present in /etc/fstab, the boot process hangs at
> installing local filesystem.  If we comment this line out
> of fstab we can boot successfully.  We can then uncomment
> this line and mount the gluster filesystem.  Further, if we
> maintain 2 other copyies of /etc/fstab (say /etc/fstab_boot
> and /etc/fstab_gluster where neither fstab nor fstab_boot
> have the gluster line, but fstab_gluster does) then adding
> the following lines to /etc/rc.d/rc.d.local allows us to
> boot and mount gluster at boot
>
> /bin/cp -f /etc/fstab_gluster /etc/fstab
> mount -a
> /bin/cp -f /etc/fstab_boot /etc/fstab
>
> This seem like an awful kludge.  Can someone suggest a
> cleaner (and presumably more robust) solution?
>
> Thanks.
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Pat Haley                          Email:  phaley at mit.edu
> Center for Ocean Engineering       Phone:  (617) 253-6824
> Dept. of Mechanical Engineering    Fax:    (617) 253-8125
> MIT, Room 5-213                    http://web.mit.edu/phaley/www/
> 77 Massachusetts Avenue
> Cambridge, MA  02139-4301
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users




More information about the Gluster-users mailing list