CIFS shares disappear until CIFS restarted

  • 7011469
  • 07-Dec-2012
  • 07-Dec-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux
Novell Open Enterprise Server 11 (OES 11) Linux

Situation

When trying to map a drive to CIFS share from a Windows 7 machine, Explorer will show the error:

Windows cannot access \\server_IP_or_dns\VOLUMENAME

Check the spelling of the name.  Otherwise there might be a problem with your network.  To
try to idetnify and resolve network problems, click Diagnose.


Details include:
   Error code: 0x80070035
   The network path was not found.


On the same machine, when trying to use "net use" to map the same drive to the same CIFS share, the following is displayed:

   System error 53 has occurred.

   The network path was not found.


Checking novcifs -sl showed only the following volumes being shared via CIFS:
        ------------------------
         List of Share points:
        ------------------------

        _ADMIN

        IPC$


Resolution

In this case, restarting CIFS via iManager or via command line (rcnovell-cifs restart) resolved the matter.

Cause

ndsd (eDirectory) was restarted which also restarted ncpserv.

Additional Information

CIFS runs on top of ncpserv.  Therefore, when ncpserv was restarted, the linkage to the shared storage was lost.  This is working normally and the proper way to restart ncpserv (or ndsd) is to:
  1. stop all services that utilize ncpserv
  2. restart ncpserv (or ndsd)
  3. restart all services from #1