Make sure that the user's home directory is shared. See "How to Share a User's Home Directory" for more information.
Log in as superuser on the user's system.
Edit the /etc/vfstab file and create an entry for the user's home directory.
system-name:/export/home/user-name - /export/home/user-name nfs - yes rw, intr |
system-name | Is the name of the system where the home directory is located. |
/export/home/user-name |
Is the name of the user's home directory that will be shared. By convention, /export/home contains user's home directories; however, this could be a different file system. |
- |
Are required placeholders in the entry. |
/export/home/user-name |
Is the name of the directory where the user's home directory will be mounted. |
See Chapter 28, Mounting and Unmounting File Systems (Tasks), for more information about adding an entry to the /etc/vfstab file.
Create the mount point for the user's home directory.
# mkdir -p /export/home/user-name |
Mount the user's home directory.
# mountall |
All entries in the current vfstab file (whose mount at boot fields are set to yes) are mounted.
Use the mount command to verify that the home directory is mounted.
# vi /etc/vfstab (The line venus:/export/home/ripley - /export/home/ripley nfs - yes rw,intr is added.) # mkdir -p /export/home/ripley # mountall # mount / on /dev/dsk/c0t3d0s0 read/write/setuid/largefiles on Fri May 2 07:39:11 1997 /usr on /dev/dsk/c0t3d0s6 read/write/setuid/largefiles on Fri May 2 07:39:11 1997 /proc on /proc read/write/setuid on Fri May 2 07:39:11 1997 /dev/fd on fd read/write/setuid on Fri May 2 07:39:11 1997 /opt on /dev/dsk/c0t3d0s5 setuid/read/write/largefiles on Fri May 2 07:39:13 1997 /tmp on swap read/write on Fri May 2 07:39:13 1997 /export/home/ripley on venus:/export/home/ripley /read/write/remote on Fri May 2 07:39:14 1997 # |