Problem
Removing the /openserver directory in multi-user state can lead to data loss.
The procedure for removing OKP that is documented in the online documentation, while it will work safely in most cases, may in some instances lead to data loss if the directory /openserver is removed in multi-user mode. This can happen if:
- a process has a file open under /openserver - a file system containing data is mounted under /openserver
when /openserver is removed. It is recommended that
you remove the OKP product in Single User Mode so that
no other processes will be running and nothing will be
mounted under /openserver.A correction to the removal procedure was supplied in the CD and Web copy of the release notes, but this procedure included an unnecessary execution of the unimport command and omitted a final reboot.
Cause
Lingering mounts and files held open by OKP processes are removed or closed.
Solution
Go to Single User Mode before removing OKP.
Follow this procedure to remove OKP completely from UnixWare 7.1.3, including the /openserver directory:
1. Backup any data residing under /openserver that you
want to preserve.2. Log in as root, and enter:# shutdown -i6 -g0 -yDuring the reboot, press the space bar when you see
the UnixWare logo on the console. This displays the
[boot] prompt.3. At the [boot] prompt, enter:[boot] INITSTATE=S
[boot] boot4. When prompted, enter the root password to enter
Single User Mode.5. Enter:# pkgrm osrcompat6. Once osrcompat has been successfully removed, enter:# rm -fr /openserverThis command takes at least 10 minutes, longer
depending on the amount of data under /openserver.7. When the previous command is finished, enter:# shutdown -i6 -g0 -yThe system displays messages indicating that the kernel is being rebuilt, and the system reboots into multi-user once the build is complete.
See also
OKP Release Notes at
http://www.sco.com/support/update/download/okp.html