*内容 [#v04566f1]
-NFS関係の設定
---------------------------
*マウントされる側の設定 [#o3eedcf4]
/etc/exports
/home neworder(rw)
/mnt/cdrom neworder
*** 書式 [#p0d578b5]
- ()の中は,ro(read only) rw(read and write)
- クライアントのrootに書き込み権を渡したい場合は(no_root_squash)を付記
*マウントする側の設定 [#zb72c384]
$ mkdir /mnt/auto
/etc/auto.masterの編集
# Sample auto.master file # Format of this file:
# mountpoint map options # For details of the format look at autofs(8).
/mnt/auto /etc/auto.misc rsize=8192, wsize=8192 --timeout 180
/etc/auto.miscの編集
cdrom -fstype=iso9660,ro,user :/dev/cdrom
floppy -fstype=auto,rw :/dev/fd0
#
neworder neworder:/home
* うまく動作しなかったとき [#ic2cec54]
** サ−バ−側 [#od54bd94]
/etc/exportsの内容を変更した場合
exportfs -ar
を実行する.