<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>Thanks for that Ben. Adding "/bin/mount /data" to rc.local is working perfectly.<div><br></div><div>Regards,</div><div><br></div><div>Alun.<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Ben Turner" &lt;bturner@redhat.com&gt;<br><b>To: </b>"Alun James" &lt;ajames@tibus.com&gt;<br><b>Cc: </b>gluster-users@gluster.org<br><b>Sent: </b>Wednesday, 25 March, 2015 9:21:14 PM<br><b>Subject: </b>Re: [Gluster-users] Gluster/NFS mount issues<br><br>Normally when I see this the NICs are not fully initialized. &nbsp;I have done a couple different things to work around this:<br><br>-Try adding the linkdelay parameter to the ifcfg script:<br><br>LINKDELAY=time<br>where time is the number of seconds to wait for link negotiation before configuring the device.<br><br>-Try turning on portfast on your switch to speed up negotiation.<br><br>-Try putting a sleep in your init scripts just before it goes to mount your fstab items<br><br>-Try putting the mount command in rc.local or whatever is the last thing your system does before it boots.<br><br>Last time I looked at the _netdev code it only looked for an active link, it didn't ensure that the NIC was up and able to send traffic. &nbsp;I would start with the linkdelay and go from there. &nbsp;LMK how this works out for ya, I am not very well versed on the Ubuntu boot process :/<br><br>-b<br><br>----- Original Message -----<br>&gt; From: "Alun James" &lt;ajames@tibus.com&gt;<br>&gt; To: gluster-users@gluster.org<br>&gt; Sent: Wednesday, March 25, 2015 6:33:05 AM<br>&gt; Subject: [Gluster-users] Gluster/NFS mount issues<br>&gt; <br>&gt; Hi folks,<br>&gt; <br>&gt; I am having some issues getting NFS to mount the glusterfs volume on boot-up,<br>&gt; I have tried all the usual mount options in fstab, but thus far none have<br>&gt; helped I am using NFS as it seems to give better performance for my workload<br>&gt; compared with glusterfs client.<br>&gt; <br>&gt; [Node Setup]<br>&gt; <br>&gt; 3 x Nodes mounting vol locally.<br>&gt; Ubuntu 14.04 3.13.0-45-generic<br>&gt; GlusterFS: 3.6.2-ubuntu1~trusty3<br>&gt; nfs-common 1:1.2.8-6ubuntu1.1<br>&gt; <br>&gt; Type: Replicate<br>&gt; Status: Started<br>&gt; Number of Bricks: 1 x 3 = 3<br>&gt; Transport-type: tcp<br>&gt; Bricks:<br>&gt; Brick1: node01:/export/brick0<br>&gt; Brick2: node 02:/export/brick0<br>&gt; Brick3: node 03:/export/brick0<br>&gt; <br>&gt; /etc/fstab:<br>&gt; <br>&gt; /dev/mapper/gluster--vg-brick0 /export/brick0 xfs defaults 0 0<br>&gt; <br>&gt; localhost:/my_filestore_vol /data nfs<br>&gt; defaults,nobootwait,noatime,_netdev,nolock,mountproto=tcp,vers=3 0 0<br>&gt; <br>&gt; <br>&gt; [Issue]<br>&gt; <br>&gt; On boot, the /data partition is not mounted, however, I can jump on each node<br>&gt; and simply run "mount /data" without any problems, so I assume my fstab<br>&gt; options are OK. I have noticed the following log:<br>&gt; <br>&gt; /var/log/upstart/mountall.log:<br>&gt; <br>&gt; mount.nfs: requested NFS version or transport protocol is not supported<br>&gt; mountall: mount /data [1178] terminated with status 32<br>&gt; <br>&gt; I have attempted the following fstab options without success and similar log<br>&gt; message:<br>&gt; <br>&gt; localhost:/my_filestore_vol /data nfs<br>&gt; defaults,nobootwait,noatime,_netdev,nolock 0 0<br>&gt; localhost:/my_filestore_vol /data nfs<br>&gt; defaults,nobootwait,noatime,_netdev,nolock,mountproto=tcp,vers=3 0 0<br>&gt; localhost:/my_filestore_vol /data nfs<br>&gt; defaults,nobootwait,noatime,_netdev,nolock,vers=3 0 0<br>&gt; localhost:/my_filestore_vol /data nfs<br>&gt; defaults,nobootwait,noatime,_netdev,nolock,nfsvers=3 0 0<br>&gt; localhost:/my_filestore_vol /data nfs<br>&gt; defaults,nobootwait,noatime,_netdev,nolock,mountproto=tcp,nfsvers=3 0 0<br>&gt; <br>&gt; Anything else I can try?<br>&gt; <br>&gt; Regards,<br>&gt; <br>&gt; ALUN JAMES<br>&gt; Senior Systems Engineer<br>&gt; Tibus<br>&gt; <br>&gt; T: +44 (0)28 9033 1122<br>&gt; E: ajames@tibus.com<br>&gt; W: www.tibus.com<br>&gt; <br>&gt; Follow us on Twitter @tibus<br>&gt; <br>&gt; Tibus is a trading name of The Internet Business Ltd, a company limited by<br>&gt; share capital and registered in Northern Ireland, NI31235. It is part of UTV<br>&gt; Media Plc.<br>&gt; <br>&gt; This email and any attachment may contain confidential information for the<br>&gt; sole use of the intended recipient. Any review, use, distribution or<br>&gt; disclosure by others is strictly prohibited. If you are not the intended<br>&gt; recipient (or authorised to receive for the recipient), please contact the<br>&gt; sender by reply email and delete all copies of this message.<br>&gt; <br>&gt; _______________________________________________<br>&gt; Gluster-users mailing list<br>&gt; Gluster-users@gluster.org<br>&gt; http://www.gluster.org/mailman/listinfo/gluster-users<br></div><br></div></div></body></html>