2011-01-04から1日間の記事一覧

auto mount

install (Ubuntu) sudo aptitude install autofs /etc/auto.master (client) 次の行を足す /home /etc/auto.home /opt /etc/auto.opt /etc/auto.home (client) * -fstype=nfs4 aachen:/home/& /etc/auto.opt (client) intel -fstype=nfs4 aachen:/opt/intel

static mount

/etc/fstab (client) nfs-server:/home /home nfs4 _netdev,auto 0 0 nfs-server:/opt /opt nfs4 _netdev,auto 0 0sudo mount -t nfs4 nfs-server:/ /mnt

設定

/etc/exports (server) /export 192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async) /export/home 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,async) /export/opt 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,async) /etc/defau…

Install (Ubuntu)

server sudo aptitude nfs-kernel-server client sudo aptitude install nfs-client