I used to have an exports file like the following on redhat 7.3... the would allow any machine to mount the /home/CentOS.iso directory.
/var/spool/lpd (rw) /etc/silentm slave(ro,secure,no_all_squash,no_root_squash) /home/CentOS.iso (ro,secure,no_all_squash,no_root_squash)
This does not seem to work on centos 4.2. I have to explicitly have a machine name like: /home/CentOS.iso machine(ro,secure,no_all_squash,no_root_squash)
for it to mount.
I have been looking at the nfs man page and dont see why this is not working still.
How do I let any machine mount the /home/CentOS.iso directory.
Thanks,
Jerry
On 3/10/06, Alfred von Campe alfred@110.net wrote:
How do I let any machine mount the /home/CentOS.iso directory.
Use a *, as in:
/home/CentOS.iso *(ro,secure,no_all_squash,no_root_squash)
That should do it.
I don't have the full explanation, but my coworker who has been through the Red Hat classes claims that '*' causes poor performance for NFS. I don't really have any other info, but the Red Hat trainers frown upon '*'. At work, we use network address references like nnn.nnn.0.0/16 or nnn.nnn.nnn.0/24 to allow access from multiple machines on specific network ranges.
-- Collins Richey The agnostic dyslexic insomniac lies awake wondering if there is a dog.