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# ./configureUnder 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_unixAfter the kernel successfully links, reboot by typing:
# /etc/shutdownWhen 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)