FTP shares won't mount on startup [Curlftpfs]
I have recently set up a NAS device (a WD Mybook Live) as a backup device for my parents' computers. It connects to three other computers running Ubuntu 11.10 over a wired network, connected using a Thompson Speedtouch 546 router/switch.
The Mybook Live has NFS support, but I found this to be very unreliable in practice, and, in the end, could not connect to it using NFS at all. Looking at WD's forums, it seems that they do not support the NFS option at all.
It does, however, support FTP. Using Curlftpfs, I was able to get it to connect to the computers' backup folders as transparently as if it was running NFS. Deja Dup backup ran very smoothly, and the transfer speed was impressively fast.
However, on turning the computers on again in the morning, they will fail to connect to the /backup mount when first starting up, giving an error message about being unable to mount /backup, asking whether I want to skip mounting or go into a recovery console.
If I go into the recovery console and try sudo mount -a, it fails to mount anything, as the network is unreachable. I can confirm this by failing to ping anything other than the loopback interface. If I skip mounting, then log in and go into the terminal and type sudo mount -a, the mounting works every time. This is specific to the Curlftpfs mounts, however, as other nfs mounts (to another computer on the network) work on startup without difficulty.
The relevant lines of my /etc/fstab file are:
Am I missing something? Do I need to add a line to a configuration file somewhere telling curlftpfs to load sooner in the bootstrap process, perhaps? Any assistance would be much appreciated. (I have searched through threads on this forum, and, whilst several mention curlftpfs, none deals with this issue).
Do you have other network shares in FSTAB as well? And do they successfully mount at boot?
I wonder if the mounting is being attempted before your computers have obtained an IP from the router (assuming you are using DHCP).
Yes to both - other NFS shares mount without difficulty.
|All times are GMT -5. The time now is 08:40 PM.|