|
I will assume that the boxes are named hpbox and sunbox. You start on hpbox.
I will assume HP-UX 11i. Edit /etc/exports (create the file if it doesn't exist) and add a line to export the directory to the sunbox. Something like
/some/directory -rw=sunbox
Edit /etc/rc.config.d/nfsconf and make sure that NFS_SERVER=1. If it had been zero, run:
/sbin/init.d/nfs.server start
If it had been 1, just run:
exportfs -a
Now move to sunbox. Create a mountpoint:
mkdir -p /nfs/hpbox/directory
Add an entry to /etc/vfstab:
hpbox:/some/directory - /nfs/hpbox/directory nfs - yes rw
and then run
mount /nfs/hpbox/directory
to mount it.
I think I got this right... it's close anyway.
|