funniness going on with exports
Subsystems (2)
Hi have some funniness going on with doing exports with nfs-utils-1.0.7. Here is my current exports list:
# cat /proc/fs/nfsd/exports # Version 1.1 # Path Client(Flags) # IPs /mnt/data 10.75.22.0/24,pc.ilinx(rw,root_squash,sync,wdelay) /mnt/mandrake 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay) /usr/local 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay) /usr/src 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay) /mnt/data/mp3 10.75.22.0/24,pc.ilinx(rw,root_squash,sync,wdelay) /home 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay)
If I add this line to /etc/exports
/mnt/data/photos 10.75.22.0/24(ro,sync)
and then exportfs -r, my exports list looks like this:
# cat /proc/fs/nfsd/exports # Version 1.1 # Path Client(Flags) # IPs /mnt/data/photos 10.75.22.0/24,pc.ilinx(ro,root_squash,sync,wdelay) /mnt/data 10.75.22.0/24,pc.ilinx(rw,root_squash,sync,wdelay) /mnt/mandrake 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay) /usr/local 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay) /usr/src 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay) /mnt/data/mp3 10.75.22.0/24,pc.ilinx(rw,root_squash,sync,wdelay) /home 10.75.22.0/24,pc.ilinx(rw,no_root_squash,sync,wdelay)
The new export is taking effect, but even though I only added it with one IP list/option set, it's being exported with an additional ip/option set (pc.ilinx(ro,root_squash,sync,wdelay)) to the one I specified in the /etc/exports list.
Any idea why?
b.