[SOLVE] Dockstar mount delay

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[SOLVE] Dockstar mount delay

Postby skyron » Sat Nov 10, 2012 11:28 am

Hello !

I finally done with my Dockstar settings.

But 1 problem persist : the mount with fstab

I put this line :
$this->bbcode_second_pass_quote('', '/')/192.168.0.31/goflex\040home\040public /mnt/goflex cifs _netdev,uid=root,credentials=/root/.smbcredentials 0 0


With interface eth0 no problem, the mount is ok
But with the Wlan0, it doesn't mount. (but Wlan0 is ok, I can SSH, ping the server ...)

I thought the _netdev delay the mount while no internet ?

Am I missing something ?

thanks
Last edited by skyron on Sat Nov 10, 2012 12:08 pm, edited 1 time in total.
skyron
 
Posts: 10
Joined: Fri Oct 26, 2012 9:53 pm

Re: Dockstar mount delay

Postby moonman » Sat Nov 10, 2012 11:57 am

This is what works for me:
$this->bbcode_second_pass_code('', 'export EDITOR=nano
crontab -e')

and add this at the end:

$this->bbcode_second_pass_code('', '@reboot ID=mounts sleep 10; /bin/mount -a')

CTRL+x to save and exit.

This just mounts everything (that isn't mounted) in fstab 10 seconds after boot. Increase/decrease sleep as needed. 10 seems to be enough for me (no wireless)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Dockstar mount delay

Postby skyron » Sat Nov 10, 2012 12:07 pm

I found another solution that works for me !

mount /home/DD/Serveur in rc.local
and noauto in FStab

tks !
skyron
 
Posts: 10
Joined: Fri Oct 26, 2012 9:53 pm

Re: [SOLVE] Dockstar mount delay

Postby moonman » Sat Nov 10, 2012 12:15 pm

Well, there are many solutions for the problem :)

Apparantly _netdev is ignored by mount.cifs: https://patchwork.kernel.org/patch/114315/
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [SOLVE] Dockstar mount delay

Postby skyron » Sat Nov 10, 2012 4:32 pm

I'm a little noob in linux world :D

Tks you abyway : the communuaty on linux is just insane !!!
I'm enjoying in linux use
skyron
 
Posts: 10
Joined: Fri Oct 26, 2012 9:53 pm

Re: [SOLVE] Dockstar mount delay

Postby sambul13 » Sun Nov 11, 2012 7:42 pm

Note that systemd wiki suggests replacing rc.local content with tmpfiles, since systemd doesn't support rc.local.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [SOLVE] Dockstar mount delay

Postby WarheadsSE » Sun Nov 11, 2012 7:50 pm

That won't replace rc.local, and there is a very simple method for making use of rc.local.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 201 guests