Mounting a CIFS share automatically at boot fails, but works after a delay

Solution Unverified - Updated -

Issue

  • The file /etc/init.d/netfs cannot mount a CIFS share during boot:
        kernel:  CIFS VFS: Error connecting to IPv4 socket. Aborting operation
        kernel:  CIFS VFS: cifs_mount failed w/return code = -113
  • After booting, it is possible to mount the share with mount -a or with /etc/init.d/netfs:

    netfs: Mounting CIFS filesystems:  succeeded
    netfs: Mounting other filesystems:  succeeded
    
  • CIFS share will not mount automatically during boot, only after a delay.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5.5
  • Red Hat Enterprise Linux 4.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In