Technical article 105598

mount(ADM) shows root filesystem not mounted; Backup Manager won't backup root filesystem.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

When I run the mount(ADM) command, the root filesystem isn't shown as mounted. That is, there is no line like the following:

/ on /dev/root read/write on Wed May 28 15:08:09 1997

When I try to use the Backup Manager to back up the root filesystem, it fails; activating the "Details" button shows the following error message:

Could not mount filesystem host.domain /dev/root Canceling backup General failure occured in processing the request. The mount action failed to mount /. mount: /dev/root is already mounted, / is busy, or allowable number of mount points exceeded: Device busy (error 16)

During system bootup, you may see the following error message:

su: /dev/null: cannot create

A wide range of other failures may arise in an otherwise normally functioning system from the causes described below.

Cause

/dev/null may have the wrong file type; the permissions on /dev/null or the /dev directory may be incorrect.

The correct file types and permissions are:

drwxr-xr-x  21 bin      bin         9216 Jun  2 08:54 /dev
crw-rw-rw-   1 root     sys        4,  2 Jun  2 09:06 /dev/null

Solution

Compare the file type and permissions of /dev and /dev/null to those given above. ("#" indicates the root command line prompt):

# ls -l -d /dev /dev/null

If you find a discrepancy, take the following steps. If the file type of /dev/null is not as shown above (character special device), with the system in maintenance mode, remove and re-create that device node:

# rm /dev/null
# mknod /dev/null c 4 2
Set the correct permissions and confirm:
# chmod 755 /dev
# chmod 666 /dev/null
# ls -l -d /dev /dev/null
Shutdown and reboot.

See also

TA105027, "dynamic linker: /etc/devnm:  Cannot open /dev/zero for
file /lib/libprot.so.1 ".

The manual pages for mount(ADM), setmnt(ADM), bcheckrc(ADM), null(F), ls(C), mknod(C), and chmod(C).

From the Xinuos technical article database, record 105598. Reproduced with permission. The original is at www.sco.com/ta/105598, 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.