Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
Old 25th May 2012, 08:30 PM
WizkidN Offline
Registered User
Join Date: May 2012
Location: The Netherlands
Posts: 3
fstab not respecting _netdev for CIFS mount


I'd like to automatically mount a CIFS-network-share on boot. It was my understanding that I could do this with the _netdev option, to make sure it waits until I have a connection. It seems however that this is not being done. I end up with the mount failing on boot.

This is what dmesg shows:
[    4.254921] e1000e 0000:00:19.0: irq 57 for MSI/MSI-X
[    4.305742] e1000e 0000:00:19.0: irq 57 for MSI/MSI-X
[    4.306547] ADDRCONF(NETDEV_UP): em1: link is not ready
[    4.308039] iscsi: registered transport (iser)
[    4.309737] FS-Cache: Loaded
[    4.310424] 8021q: 802.1Q VLAN Support v1.8
[    4.311429] FS-Cache: Netfs 'cifs' registered for caching
[    4.315231] CIFS VFS: Error connecting to socket. Aborting operation
[    4.315414] CIFS VFS: cifs_mount failed w/return code = -101
[    4.315441] libcxgbi:libcxgbi_init_module: tag itt 0x1fff, 13 bits, age 0xf, 4 bits.
[    4.315442] libcxgbi:ddp_setup_host_page_size: system PAGE 4096, ddp idx 0.
[    4.315587] Chelsio T3 iSCSI Driver cxgb3i v2.0.0 (Jun. 2010)
[    4.315599] iscsi: registered transport (cxgb3i)
[    4.316839] Chelsio T4 iSCSI Driver cxgb4i v0.9.1 (Aug. 2010)
[    4.316849] iscsi: registered transport (cxgb4i)
[    4.317600] cnic: Broadcom NetXtreme II CNIC Driver cnic v2.5.8 (Jan 3, 2012)
[    4.325117] systemd[1]: home-niels-data.mount mount process exited, code=exited status=32
[    4.384036] ADDRCONF(NETDEV_UP): p4p1: link is not ready
[    4.384077] 8021q: adding VLAN 0 to HW filter on device p4p1
[    4.385266] Broadcom NetXtreme II iSCSI Driver bnx2i v2.7.0.3 (Jun 15, 2011)
[    4.385302] iscsi: registered transport (bnx2i)
[    4.390174] iscsi: registered transport (be2iscsi)
[    4.413989] netlink: 12 bytes leftover after parsing attributes.
[    4.413994] netlink: 12 bytes leftover after parsing attributes.
[    4.414083] netlink: 12 bytes leftover after parsing attributes.
[    7.081123] e1000e: p4p1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[    7.082266] ADDRCONF(NETDEV_CHANGE): p4p1: link becomes ready
As you can see, the link does not become ready until 7.08, but it tries to mount at 4.31/4.32.

This is my fstab line

// /home/USER/data        cifs    _netdev,username=USERNAME,password=MYPASSWORD,uid=UID,gid=GID	0 0
Anything I'm doing wrong? I played around with the position of _netdev, but doesn't seem to work >.<

I'm on Fedora 16 - 64bit

Thanks all,

Reply With Quote

cifs, fstab, mount, netdev, respecting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cifs or mount.cifs in fstab? pwjohnston Using Fedora 0 2nd January 2012 09:42 PM
smbfs/cifs mount point in fstab not mounting on boot rgladwell Servers & Networking 5 15th January 2006 11:05 PM
mount.cifs in /etc/fstab bob49 Servers & Networking 0 16th June 2004 10:25 PM

Current GMT-time: 11:45 (Thursday, 17-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat