Before you begin: You need to have a terminal that does
not depend on TCP/IP, and the user ID doing the unmounts must be defined
as UID(0) or have appropriate privileges under UNIXPRIV.
Perform the following steps to recover from file system problems
with the root.
- List the applications that are running. Issue:
D OMVS,A=ALL
_______________________________________________________________
- Bring down all the processes listed, except for BPXOINIT.
_______________________________________________________________
- Make sure that all the processes except for BPXOINIT have been
shut down. Issue:
D OMVS,A=ALL
The
display will look like the following: BPXO040I 07.31.14 DISPLAY OMVS 017
OMVS 000E ACTIVE OMVS=(65)
USER JOBNAME ASID PID PPID STATE START CT_SECS
IBMUSER BPXOINIT 0013 1 0 MR---B 07.21.27 .034
LATCHWAITPID= 0 CMD=BPXPINPR
SERVER=Init Process AF= 0 MF=00000 TYPE=FILE
_______________________________________________________________
- Identify the file systems that are mounted.
D OMVS,F
Result: You
will see a display that shows the mounted file systems.
_______________________________________________________________
- Unmount the file systems by using the TSO/E ISHELL command.
Rule: The
root file system must be unmounted last and you must use the IMMEDIATE
option when unmounting the root file system. After the root has been
unmounted, the mount table should show SYSROOT.
_______________________________________________________________
- Check the display again.
D OMVS,F
Result: You
should see a display similar to the following:
BPXO044I 10.38.16 DISPLAY OMVS 054
OMVS 000E ACTIVE OMVS=(65)
TYPENAME DEVICE ----------STATUS----------- MODE QJOBNAME QPID
BPXFTCLN 0 ACTIVE RDWR
NAME=SYSROOT
PATH=/
_______________________________________________________________
- Follow your recovery actions for the root file system.
_______________________________________________________________
- Mount the root.
Example: From TSO READY or ISPF Option
6, issue:
MOUNT FILESYSTEM('your root dsname') TYPE(HFS) MOUNTPOINT('/')
Result: The
root is mounted at / in read/write mode. If your root is read-only,
add MODE(READ) to the MOUNT FILESYSTEM command.
_______________________________________________________________
- Mount the individual file systems at their respective mount points
by using the TSO/E ISHELL command.
Tip: To determine the
output from the first D OMVS,F command, or the BPXPRMxx member that
you IPL with.
_______________________________________________________________
- After the file systems are mounted (check by issuing D OMVS,F
again), have a superuser (UID=0) enter the shell and issue /etc/rc from
the prompt to run the shell initialization script.
_______________________________________________________________
- Follow your procedures to restart other applications (such as
TCP/IP, NFS, FTP, and WebServer) and confirm that all functions are
working.
_______________________________________________________________
You know you are done when you have rebuilt the z/OS® UNIX environment
and all functions are working.