ontap 6.1.1r2 nfs, cifs, nis, nt4 domain
1. 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.
2. 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.
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com]On Behalf Of neil lehrer Sent: Wednesday, February 06, 2002 12:30 PM To: toasters Subject: exports questions
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.
Do the files have "^M"'s at the end of each line? I ran into problems like this with nis on a sun platform when the files were edited from a window's machine.
- 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.
--
regards
+++++++++++++++++++++++++++++++++++++++++++++++++
- Neil Lehrer
- United States International Broadcasting Bureau
- System Development Division
- voice 202 619-2524
- fax 202 619-3576
- nlehrer@ibb.gov
- " is this crisis an opportunity or just
- another grab the fire extinguisher moment?"
+++++++++++++++++++++++++++++++++++++++++++++++++
I concur. Open the file on a UNIX host with vi or something and check for the ^M's . If you do see them, vi the file and type: :%s/<ctrl-v><ctrl-m>/g . Those control characters will mess everything up.
-Ladd
On Wed, 2002-02-06 at 11:54, Joseph Pagano wrote:
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com]On Behalf Of neil lehrer Sent: Wednesday, February 06, 2002 12:30 PM To: toasters Subject: exports questions
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.
Do the files have "^M"'s at the end of each line? I ran into problems like this with nis on a sun platform when the files were edited from a window's machine.
- 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.
--
regards
+++++++++++++++++++++++++++++++++++++++++++++++++
- Neil Lehrer
- United States International Broadcasting Bureau
- System Development Division
- voice 202 619-2524
- fax 202 619-3576
- nlehrer@ibb.gov
- " is this crisis an opportunity or just
- another grab the fire extinguisher moment?"
+++++++++++++++++++++++++++++++++++++++++++++++++
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?
In response to item two. This can happen if you have the hostname defined in the /etc/hosts file with the short name first followed by the fully qualified name, such as
10.0.0.10 host1 host1.some.domain.com
-gdg
thanks.
--
regards
+++++++++++++++++++++++++++++++++++++++++++++++++
- Neil Lehrer
- United States International Broadcasting Bureau
- System Development Division
- voice 202 619-2524
- fax 202 619-3576
- nlehrer@ibb.gov
- " is this crisis an opportunity or just
- another grab the fire extinguisher moment?"
+++++++++++++++++++++++++++++++++++++++++++++++++
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.