I always edited my exports file using Windows, so I don't know if this also holds true when you edit it in Unix. But it never worked right unless there was at least one extra blank line after the last entry (I usually kept 2-3 extra lines to be safe). If there was no extra line after the last entry, things would, as you put it, get odd. (It's been a while since I've done this, so I can't remember waht the symptoms were.)
Tom
On Wed, 6 Feb 2002, neil lehrer wrote:
ontap 6.1.1r2 nfs, cifs, nis, nt4 domain
- i run both nfs and cifs and i find it easier to edit the exports file from
the cifs side. but sometimes things get odd afterwards. what does the parser not like that gets in when using windows editors? i have looked with a hex editor and haven't seen anything unusual. couldn't find anything in NOW knowledgebase.
- i set up an exports entry using the fully qualified domain name for a host
with root access. after i exportfs -a and then do an exportfs the listing comes back with just the hostname, no domain tagged on. is this normal behavior?
thanks.