1. NFS export the filesystem from the donor server.
2. Set up a file called /etc/nfs.direct with the following contents (
flags in field 2 can be varied for soft mounts, read-only etc ):
/mount_point -rw,hard,intr donor_server:/donor_filesystem
3. Set up a file called /etc/auto_master with the following contents:
/- /etc/nfs.direct
4. Run /usr/sbin/automount if not already running. This will
automatically restart after a reboot due to the existence of
/etc/auto_master.
lssrc -s automountd 打印AUTOUMOUNT进程
stopsrc -s automountd 停止automount进程
startsrc -s automountd 启动automount进程
/usr/sbin/automount -i 60 闲置60秒自动UMOUNT
阅读(1785) | 评论(0) | 转发(0) |