LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 16
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:
192.168.1.65:/   /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 (192.168.1.67) produces the same result. The computer on 192.168.1.65 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
jamespetts
Member
 
Registered: Sep 2002
Location: UK
Distribution: Ubuntu 11.10
Posts: 121

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


Reply

Tags
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:20 AM.

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