Navigation : Top/NFS/autofs

  • 追加された行はこの色です。
  • 削除された行はこの色です。
*内容 [#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
を実行する.
** クライアント側 [#gb1d6661]
showmount -e [server name]
を実行し,確認.

*関連リンク [#k85f221d]
- http://warp.syns.net/14/index.html
- http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ja/ref-guide/s1-nfs-client-config.html