[Gluster-users] client mount fails on boot under debian lenny...

Smart Weblications GmbH - Florian Wiessner f.wiessner at smart-weblications.de
Sun Apr 25 05:55:27 PDT 2010


Am 25.04.2010 05:27, schrieb phil cryer:
> On Sat, Apr 24, 2010 at 9:55 PM,  <mki-glusterfs at mozone.net> wrote:
>> On Sat, Apr 24, 2010 at 07:57:32PM +0200, Smart Weblications GmbH - Florian Wiessner wrote:
>>> Am 24.04.2010 19:08, schrieb mki-glusterfs at mozone.net:
>>>> I quote below: "The fstab entry contains options noatime,_netdev
>>>> already.".... :)  Any other thoughts?
>>>
>>> the parameter is iirc no_netdev. you can also add glusterfs to the function
>>> mount_all_local() in /etc/init.d/mountall.sh and update ../init.d/mountnfs.sh to
>>> mount glusterfs.
>>>
>>> ../init.d/mountnfs.sh is executed after networking is established.
>>
>> Yeah I did try modifying mountall.sh, mountnfs.sh and a couple of others
>> that already had references to gfs/ocfs in them and add glusterfs to the
>> list.  I even added it to /etc/network/if-up.d/mountnfs, but even with
>> that it did the same thing and barfed until I added a sleep 3 to the
>> script right before it's mount attempt line.  My fear with modifying all
>> those system files is the next apt-get update/upgrade will end up blowing
>> the changes away?
> 
>> My fear with modifying all those system files is the next apt-get
>> update/upgrade will end up blowing the changes away?
> 
> This would be my concern as well, and bolsters the original thought of
> using /etc/rc.local to handle it.  Perhaps background a `sleep x;
> mount -a` command, or the like.

Well, then someone should send a mail to the debian maintainers and ask them
kindly to add support for mounting glusterfs sanely in the initscripts.

-- 

Mit freundlichen Grüßen,

Florian Wiessner

Smart Weblications GmbH
Martinsberger Str. 1
D-95119 Naila

fon.: +49 9282 9638 200
fax.: +49 9282 9638 205
24/7: +49 900 144 000 00 - 0,99 EUR/Min*
http://www.smart-weblications.de

--
Sitz der Gesellschaft: Naila
Geschäftsführer: Florian Wiessner
HRB-Nr.: HRB 3840 Amtsgericht Hof
*aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz


More information about the Gluster-users mailing list