Results 1 to 4 of 4

Thread: Network share attempting to mount before network is up

  1. #1
    Join Date
    Jul 2009
    Beans
    39

    Question Network share attempting to mount before network is up

    Hi all,

    I have a Karmic server install on which I've set up a network drive mapping to a NAS (CIFS). I'm having trouble with automounting the disk though, as (from what I can tell) the disk is attempting to mount before the network is up.

    dmesg shows the following:
    Code:
    [   10.421192] lirc_dev: lirc_register_driver: sample_rate: 0
    [   10.427116] lirc_mceusb[2]: Topseed Technology Corp. eHome Infrared Transceiver on usb4:2
    [   10.427223] usbcore: registered new interface driver lirc_mceusb
    [   11.663291] usplash:309 freeing invalid memtype fffffffff7000000-fffffffff7e00000
    [   16.062579]  CIFS VFS: Error connecting to socket. Aborting operation
    [   16.062597]  CIFS VFS: cifs_mount failed w/return code = -113
    [   26.248817] r8169: eth0: link up
    [   26.250337] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   36.790026] eth0: no IPv6 routers present
    I've tried looking for some way of changing the start up order of services, but the only information I've been able to find is how to turn the start up services on or off using a gui. Can someone point me in the right direction for sorting this?

    Cheers,
    ~Dan

    p.s. Sorry, I should mention that executing mount -a after the system (and network) has started will successfully mount the disk.
    Last edited by daniel.pool; January 24th, 2010 at 05:32 PM. Reason: Forgot info.

  2. #2
    Join Date
    Oct 2007
    Location
    Idaho, USA
    Beans
    15
    Distro
    Ubuntu

    Talking Re: Network share attempting to mount before network is up

    I had the same thing, and eventually found the answer. I just had to add the following option, in /etc/fstab, for that mount:


    _netdev


    That says the mount is on a network device, and that it therefore needs to wait for the network.

    It turns out this is actually in the man page for mount. Doh, I should have FTFM'd.

    Anyway, I hope that helps,
    Colin

  3. #3
    Join Date
    Jul 2009
    Beans
    39

    Wink Re: Network share attempting to mount before network is up

    Hey Colin,

    Thanks for the response ... missed it amongst a pile of unread email (I'm being pretty disorganised right now). Much appreciated though.

    When I get a moment free I'll try that out to see if it helps,
    Cheers
    ~Dan

  4. #4
    Join Date
    Jan 2011
    Beans
    25
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Network share attempting to mount before network is up

    cifs_mount failed w/return code = -113

    I have that same error
    but it just happens after my network dies

    Ubuntu 8.0.4 with r8168 driver

    did you two ever resolve anything here????

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •