Technical article 101298

I am unable to create a new file on a mounted NetWare volume.

OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

When I try to create a new file on a mounted NetWare filesystem,
I get an error from the shell.  For example, if I run:
# date > file
sh(C) and ksh(C) return:
file: cannot create
csh(C) returns:
file: I/O error
If I run:
# vi file
I get the error:
resource temporarily unavailable
In all cases, a zero-length file is created.  An attempt to
remove the file gives no error, but doesn't remove the file.

Now I am able to write to the file, so if I run:

# date > file
again, the output of date is now in the file.  At this point,
I can also remove the file.

Other applications that attempt to create files will fail, although they may give different errors.

These errors happen whether the NetWare volume is automounted using nucamd(NWG), or hard-mounted using the mount(ADM) command with the NUCFS filesystem type.

This works fine in SCO OpenServer 5.0.0 and 5.0.2.

Cause

When open(S) is called to create a new file, the NUCFS is erroneously returning an error with errno set to EAGAIN.

Solution

This is a known problem and has been reported to SCO Engineering.

From the Xinuos technical article database, record 101298. Reproduced with permission. The original is at www.sco.com/ta/101298, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.