100% found this document useful (1 vote)
90 views

Cannot Open

The document provides instructions for rebuilding the /etc/path_to_inst file on Solaris systems when encountering the "Cannot open '/etc/path_to_inst'" error. It describes booting the system with the -ar option, pressing enter to accept default answers, and selecting yes to rebuild the file. The system will then continue booting after rebuilding the file. The second part of the document discusses commands for sharing, mounting, and unmounting file systems using NFS on Solaris, including running NFS daemons, sharing a file system, mounting a shared file system from another machine, and unmounting the mounted file system.

Uploaded by

api-3701740
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
90 views

Cannot Open

The document provides instructions for rebuilding the /etc/path_to_inst file on Solaris systems when encountering the "Cannot open '/etc/path_to_inst'" error. It describes booting the system with the -ar option, pressing enter to accept default answers, and selecting yes to rebuild the file. The system will then continue booting after rebuilding the file. The second part of the document discusses commands for sharing, mounting, and unmounting file systems using NFS on Solaris, including running NFS daemons, sharing a file system, mounting a shared file system from another machine, and unmounting the mounted file system.

Uploaded by

api-3701740
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Cannot open '/etc/path_to_inst' - (Solaris)

by Jeff Hunter, Sr. Database Administrator

For those who have ever come across the error: Cannot open '/etc/path_to_inst',
this article provides an easy way in which to rebuild this file.

The error indicates that the system can not find the /etc/path_to_install file. It is
possible that the file may be really missing or corrupted and needs to be rebuild.

To rebuild this file, boot the system with -ar option as follows:

ok>boot -ar
Press enter to select default values for the questions asked during booting and select yes
to rebuild /etc/path_to_install
The /etc/path_to_inst on your system does not exist or is
empty. Do you want to
rebuild this file [n]? y
The system will continue booting after rebuilding the file.

Using NFS - (Solaris)


by Jeff Hunter, Sr. Database Administrator

This brief article touches on several of the important commands that are used to NFS a
file system on Solaris. Now keep in mind that with most Solaris configurations; enabling
a Sun Solaris server to mount or share a file system, the required daemons will already be
running. If not, this article may help you with this process.

The first thing to ensure is that the proper daemons for running NFS are started. If unsure,
I will typically just run them when I cannot determine whether or not they are running:

$ su -
$ cd /usr/lib/nfs
$ ./mountd
$ ./nfsd
NOTE:

• mountd: RPC server that answers requests for NFS access information and file
system mount requests

• nfsd: The daemon that handles client file system requests

Sharing A File System


The following example will share a file system /software so that others
may be able to mount it:

# share /software

If I want to check all file systems being shared from my system:

# share
- /software rw ""

How to NFS A File System

Now, from another machine, I want to NFS the file system that is being
shared above:

# mount -F nfs alex:/software /mnt/software


How to Unmount an NFS File System

Finally, let's unmount the previously mounted file system:

# umount /mnt/software

You might also like