Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-31-2011, 12:05 PM   #1
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Rep: Reputation: 15
Question 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:

Code:   /mnt   nfs4    _netdev,auto  0  0
curlftpfs#mounter:*******@mybooklive/Public /backup fuse auto,user,uid=1000,allow_other 0 0
I have checked, and even replacing the "mybooklive" name with the unit's local IP address ( produces the same result. The computer on mounts using nfs without difficulty on startup.

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).
Old 01-18-2012, 11:49 AM   #2
Warren Watts
LQ Newbie
Registered: Dec 2007
Location: Columbus, Ohio
Distribution: Ubuntu, ArchLinux, Wolvix
Posts: 5

Rep: Reputation: 0
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).
Old 01-18-2012, 05:03 PM   #3
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 113

Original Poster
Rep: Reputation: 15
Yes to both - other NFS shares mount without difficulty.


curlftpfs, fstab, ftp, nas, nfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Curlftpfs mounts FTP read-only MichalKvacek Linux - Networking 2 01-02-2010 05:18 PM
SMB won't mount Windows Server Shares galliar Linux - Networking 1 05-11-2005 10:31 AM
How to mount windows shares on startup? exitsfunnel Linux - General 1 05-10-2005 07:06 PM
Startup script to mount windows shares? Higs Linux - Networking 1 05-30-2004 09:28 AM
samba won't mount windows shares ixion Linux - Software 6 02-28-2003 12:51 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration