Technical article 110917

When I try to mount additional filesystems I get "no such file or directory".

OpenServer 5.0.5

Written · Last revised

Problem

On an SCO OpenServer 5.0.5 system, I have one or more extra hard
drives installed, with multiple filesystems configured.  I can
mount some, but not all, of the filesystems.  When I try to mount
all of the filesystems, I will at some point get the following
message (in this example, for a filesystem named "fs1"):
mount: cannot stat '/dev/fs1': No such file or directory (error 2)

I get a similar message for any subsequent filesystem I try to mount.

Cause

One possible cause is that the table limit parameter MAX_MOUNT is                failing to autotune to a value high enough to support mounting
of all additional filesystems.  As a consequence, the above error
message is displayed, which may mislead one into believing that
the filesystem device node or filesystem itself is missing.

Solution

To manually tune MAX_MOUNT to a higher value, take these steps:

# cd /etc/conf/cf.d
# ./configure

Under Configuration tunables, choose option 11, Table limits. Press <Enter> until you come to the MAX_MOUNT parameter:

MAX_MOUNT: maximum number of mounted file systems.
The value defaults to its maximum allowable.    New value is:

Enter a value high enough to accommodate all filesystems, including / and /stand.

Continue pressing <Enter> until you return to the tuning menu. Enter 'q' to quit, and you will be prompted:

Would you like to update the system configuration files with your changes? (y/n)

Enter 'y'.  To relink the kernel, type:
# ./link_unix

After the kernel successfully links, reboot by typing:

# /etc/shutdown

When the system comes back up, the additional filesystems will be mountable.

This problem has been reported to SCO Engineering.

See also

Manual pages: mount(ADM), configure(ADM)

From the Xinuos technical article database, record 110917. Reproduced with permission. The original is at www.sco.com/ta/110917, which is reachable but blocked from search engines.

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.