nfs allowing multiple hosts
I'm trying to allow in NFS, multiple machines to be able to access the same directory. Below is what I have and getting some error messages.
What is the best way to configure?
Thanks.
/etc/exports:
/dir 10.10.1.23 (rw,no_root_squash)
/dir 10.10.2.51 (rw,no_root_squash)
~
/usr/sbin/exportfs -a
exportfs: No options for /dir 10.10.1.23: suggest 10.10.1.23(sync) to avoid warning
exportfs: No host name given with /dir (rw,no_root_squash), suggest *(rw,no_root_squash) to avoid warning
exportfs: No options for /dir 10.10.2.51: suggest 10.10.2.51(sync) to avoid warning
exportfs: No host name given with /dir (rw,no_root_squash), suggest *(rw,no_root_squash) to avoid warning
exportfs: duplicated export entries:
exportfs: *:/dir
exportfs: *:/dir
|