1−2.NFSサーバ設定@ ディスクレス・システム用NFSの設定ディスクレス・システムがPXEでブートされたときにrootファイルシステムをNFS経由でマウントします。tftpサーバからファイル転送が行われるためNFSサーバの設定はtftpboot以下にアドレスレンジで設定したアドレスをexportする様に設定します。 今回のexportsファイルは補足2.からどうぞ /etc/exportsの内容: /tftpboot/192.168.0.50 192.168.0.50(rw,sync,no_root_squash) /tftpboot/192.168.0.51 192.168.0.51(rw,sync,no_root_squash) /tftpboot/192.168.0.52 192.168.0.52(rw,sync,no_root_squash) /tftpboot/192.168.0.53 192.168.0.53(rw,sync,no_root_squash) /tftpboot/192.168.0.54 192.168.0.54(rw,sync,no_root_squash) /tftpboot/192.168.0.55 192.168.0.55(rw,sync,no_root_squash) /tftpboot/192.168.0.56 192.168.0.56(rw,sync,no_root_squash) /tftpboot/192.168.0.57 192.168.0.57(rw,sync,no_root_squash) /tftpboot/192.168.0.58 192.168.0.58(rw,sync,no_root_squash) /tftpboot/192.168.0.59 192.168.0.59(rw,sync,no_root_squash) /usr 192.168.0.0/255.255.255.0(ro,sync) ここでは/tftpboot/IPアドレスが「/」としてマウントされます。 /usrは各クライアント共通のマウント先としてexportします。/usrは変更できない様に読込み専用としてexportします。 |