Re: NFS v2? possible?
On Nov 9, 2003, at 11:51 PM, Miguel Mendez wrote: On Sun, 9 Nov 2003 22:32:38 -0700 Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote: Hi, It seems to be ok. I don't know what the problem is, but it seems to be on the Linux end as I run mountd and portmap with verbose debugging, as appropriate to each, and mountd immediately returns a mount successful but Liunx take 10 minutes to return from the mount command. You probably want to use the 'nolock' option in Linux, that solved it from me. Thanks, I'll check. I did solve the problem though. The runlevel was set to be one less than full multi user mode which supposedly excluded nfs and I found a log file complaining about the client portmap daemon so I fixed that... Just got to get a new kernel to support v3 and do some tuning and we should be ok. thanks Chad Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NFS v2? possible?
Hi I have a linux server that needs to mount my FBSD server's web volume and the linux server only has v2 support right now (and I cannot make my own kernel since this is a UML kernel distributed as part of a product) and so I would like to run a v2 compatible nfs server on my FBSD server if possible. Can I do this? How? Thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Sun, Nov 09, 2003 at 01:33:23AM -0700, Chad Leigh -- Shire.Net LLC wrote: Hi I have a linux server that needs to mount my FBSD server's web volume and the linux server only has v2 support right now (and I cannot make my own kernel since this is a UML kernel distributed as part of a product) and so I would like to run a v2 compatible nfs server on my FBSD server if possible. Can I do this? How? Thanks Read the mount_nfs and/or nfsd manpages..the answer is right there. Kris pgp0.pgp Description: PGP signature
Re: NFS v2? possible?
On Nov 9, 2003, at 4:28 AM, Kris Kennaway wrote: On Sun, Nov 09, 2003 at 01:33:23AM -0700, Chad Leigh -- Shire.Net LLC wrote: Hi I have a linux server that needs to mount my FBSD server's web volume and the linux server only has v2 support right now (and I cannot make my own kernel since this is a UML kernel distributed as part of a product) and so I would like to run a v2 compatible nfs server on my FBSD server if possible. Can I do this? How? Thanks Read the mount_nfs and/or nfsd manpages..the answer is right there. The mount_nfs is for mounting on FreeBSD. I am serving from FreeBSD and mounting on Linux, so that does not apply. I read the nfsd man page a few time before posting, and just did again, and I see nothing in their about nfs versions except that the server listens on the port as outlined in thge NFS v3 spec. Please enlighten me on what I should read in the nfsd man page. Thanks Chad Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Sun, Nov 09, 2003 at 07:48:53PM -0700, Chad Leigh -- Shire.Net LLC wrote: On Nov 9, 2003, at 4:28 AM, Kris Kennaway wrote: On Sun, Nov 09, 2003 at 01:33:23AM -0700, Chad Leigh -- Shire.Net LLC wrote: Hi I have a linux server that needs to mount my FBSD server's web volume and the linux server only has v2 support right now (and I cannot make my own kernel since this is a UML kernel distributed as part of a product) and so I would like to run a v2 compatible nfs server on my FBSD server if possible. Can I do this? How? Thanks Read the mount_nfs and/or nfsd manpages..the answer is right there. The mount_nfs is for mounting on FreeBSD. I am serving from FreeBSD and mounting on Linux, so that does not apply. I read the nfsd man page a few time before posting, and just did again, and I see nothing in their about nfs versions except that the server listens on the port as outlined in thge NFS v3 spec. Please enlighten me on what I should read in the nfsd man page. OK, so it was a manpage listed in the cross-references..see mountd. Kris pgp0.pgp Description: PGP signature
Re: NFS v2? possible?
In the last episode (Nov 09), Chad Leigh -- Shire.Net LLC said: On Nov 9, 2003, at 4:28 AM, Kris Kennaway wrote: On Sun, Nov 09, 2003 at 01:33:23AM -0700, Chad Leigh -- Shire.Net LLC wrote: I have a linux server that needs to mount my FBSD server's web volume and the linux server only has v2 support right now (and I cannot make my own kernel since this is a UML kernel distributed as part of a product) and so I would like to run a v2 compatible nfs server on my FBSD server if possible. Can I do this? How? Thanks Read the mount_nfs and/or nfsd manpages..the answer is right there. The mount_nfs is for mounting on FreeBSD. I am serving from FreeBSD and mounting on Linux, so that does not apply. I read the nfsd man page a few time before posting, and just did again, and I see nothing in their about nfs versions except that the server listens on the port as outlined in thge NFS v3 spec. Please enlighten me on what I should read in the nfsd man page. You don't have to do anything actually. FreeBSD serves both NFSv2 and NFSv3 clients by default: $ rpcinfo -p | grep nfs 132 udp 2049 nfs 133 udp 2049 nfs 132 tcp 2049 nfs 133 tcp 2049 nfs You can disable NFSv3 with the -2 option to mountd, but if you have to do that, then your Linux distro is extremely broken and you should have your vendor fix it. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
Thanks! Chad On Nov 9, 2003, at 7:58 PM, Kris Kennaway wrote: OK, so it was a manpage listed in the cross-references..see mountd. Kris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Sun, Nov 09, 2003 at 07:48:53PM -0700, Chad Leigh -- Shire.Net LLC wrote: On Nov 9, 2003, at 4:28 AM, Kris Kennaway wrote: On Sun, Nov 09, 2003 at 01:33:23AM -0700, Chad Leigh -- Shire.Net LLC wrote: Hi I have a linux server that needs to mount my FBSD server's web volume and the linux server only has v2 support right now (and I cannot make my own kernel since this is a UML kernel distributed as part of a product) and so I would like to run a v2 compatible nfs server on my FBSD server if possible. Can I do this? How? Thanks Read the mount_nfs and/or nfsd manpages..the answer is right there. The mount_nfs is for mounting on FreeBSD. I am serving from FreeBSD and mounting on Linux, so that does not apply. I read the nfsd man page a few time before posting, and just did again, and I see nothing in their about nfs versions except that the server listens on the port as outlined in thge NFS v3 spec. Please enlighten me on what I should read in the nfsd man page. The client needs to request the mount version. Check the Linux man page for `mount`, under the Mount options for nfs section. man nfs(5) is also informative. It looks like the default for Linux NFS clients (at least on a fairly recent RedHat box) is to use version 2. As root, I just did the following on the RedHat client (served by my 4-STABLE NFS server, Athena): # mount -t nfs -o nfsvers=2 athena:/exports/pub test I then tested the results by running mount (results trimmed to only relevant examples ... warning, the lines are long and may wrap): # mount athena:/exports/pub on /nfs/pub type nfs (rw,noexec,nosuid,nodev,mountvers=3,hard,intr,nolock,udp,wsize=8192,rsize=8192,addr=192.168.23.3) athena:/exports/pub on /home/tillman/tmp/test type nfs (rw,nfsvers=2,addr=192.168.23.3) The first line is my regular mount of the 'pub' export from Athena. It's NFS version 3 because that's what I have in my /etc/fstab. The second line is my 'test' mount of the same export ... it's NFSv2 because that what I explicitly requested at the command line when running mount manually (as shown above). It's the same nfsd on the server side. I didn't do anything specify to enable NFS version 2, my rc.conf entry says nfs_server_flags=-u -t -n 14 (the 14 is because it's a high-usage NFS server and my testing shows that I consistently peak at around 12-14 nfsd's in use). You just have to have the client request that version. -T -- One day, a student asked a master, Master, there is conflict between the suits and the sysadmins. Which group has the Zen nature, and which group is grieviously disturbing the stillness of the Tao? And the master said nothing, but installed an operating system. And the student was enlightened. - A.S.R. quote (Anthony DeBoer) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Nov 9, 2003, at 8:03 PM, Dan Nelson wrote: You can disable NFSv3 with the -2 option to mountd, but if you have to do that, then your Linux distro is extremely broken and you should have your vendor fix it. Yes, thanks. I am just trying to figure out the behavior of it and wanted to try that to see if it improved things. Thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Nov 9, 2003, at 8:09 PM, Tillman Hodgson wrote: It's the same nfsd on the server side. I didn't do anything specify to enable NFS version 2, my rc.conf entry says nfs_server_flags=-u -t -n 14 (the 14 is because it's a high-usage NFS server and my testing shows that I consistently peak at around 12-14 nfsd's in use). You just have to have the client request that version. My Linux is now mounting the FreeBSD served mounts, but it takes like 10 minutes for the mount to happen. The exports is simple /local/web -maproot=root and an address to allow mounting from The nfsd is the standard set of options as is the portmapper and mountd (mountd is -2r right now as a test though I am not sure that made a difference) I am not up and how to debug nfs problems. I would appreciate pointers on seeing why it takes forever. thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Sun, Nov 09, 2003 at 08:49:58PM -0700, Chad Leigh -- Shire.Net LLC wrote: My Linux is now mounting the FreeBSD served mounts, but it takes like 10 minutes for the mount to happen. The exports is simple /local/web -maproot=root and an address to allow mounting from The nfsd is the standard set of options as is the portmapper and mountd (mountd is -2r right now as a test though I am not sure that made a difference) I am not up and how to debug nfs problems. I would appreciate pointers on seeing why it takes forever. For that sort of problem, I'd check your name resolution first. -T -- Your system does not appear to have GTK installed. Thus the Nmap X Front End will not compile. You should still be able to use Nmap the normal way (via text console). GUIs are for wimps anyway :) - Error message seen while compiling nmap-fe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Nov 9, 2003, at 9:21 PM, Tillman Hodgson wrote: For that sort of problem, I'd check your name resolution first. I'll check it again, as that was an issue at one time. Thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Nov 9, 2003, at 9:56 PM, Chad Leigh -- Shire.Net LLC wrote: On Nov 9, 2003, at 9:21 PM, Tillman Hodgson wrote: For that sort of problem, I'd check your name resolution first. I'll check it again, as that was an issue at one time. It seems to be ok. I don't know what the problem is, but it seems to be on the Linux end as I run mountd and portmap with verbose debugging, as appropriate to each, and mountd immediately returns a mount successful but Liunx take 10 minutes to return from the mount command. Thanks all for the help. I'll go find a Linux forum to ask dumb questions on :-) Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS v2? possible?
On Sun, 9 Nov 2003 22:32:38 -0700 Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote: Hi, It seems to be ok. I don't know what the problem is, but it seems to be on the Linux end as I run mountd and portmap with verbose debugging, as appropriate to each, and mountd immediately returns a mount successful but Liunx take 10 minutes to return from the mount command. You probably want to use the 'nolock' option in Linux, that solved it from me. Cheers, -- Miguel Mendez [EMAIL PROTECTED] http://www.energyhq.es.eu.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]