Re: NFS Help
Sorry I forgot to mention, all machines are FREEBSD6.3 Sergio de Almeida Lenzi wrote: If your server is nfsv4 (freebsd 7.x) the nfs protocol used is tcp. The older machines (freebsd 5 or 6) the nfs prococol is udp... try to use the -T switch (mount_nfs option...) on the older machines so they will use tcp... hope this will help Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Victor Farah - Systems Administrator netmediaservices.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Help
AWESOME this worked like a charm, I added -r=1024 to it and BAM works! :) Thank you everybody! Manolis Kiagias wrote: Victor Farah wrote: Hello I have about 10 machines that are NFS clients, 5 are new and 5 are older. Anyway the new machine mount from the NFS server just fine. The older machines mount; and I can ls /mnt/data/; BUT when I ls /mnt/data/sc/ on the older machines this happens: nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding But on the new machines they work perfectly fine? As well the old machines mount it as i stated before I can even ls the parent directory /mnt/data/ and it shows me all the directories on the mount, but anytime I ls or do anything inside there it does that or freezes. Any idea's? How "old" are these old systems? Do you have any ISA type ethernet cards? Read Handbook's section 30.3.6: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html I actually had this kind of trouble once, and it was due to an ISA network card. I doubt you are really using an ISA card in a production system, but some of the remedies described in the section may give you a hint of what is going on. -- Victor Farah - Systems Administrator netmediaservices.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Help
Victor Farah wrote: Hello I have about 10 machines that are NFS clients, 5 are new and 5 are older. Anyway the new machine mount from the NFS server just fine. The older machines mount; and I can ls /mnt/data/; BUT when I ls /mnt/data/sc/ on the older machines this happens: nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding nfs server 192.168.10.162:/data: not responding But on the new machines they work perfectly fine? As well the old machines mount it as i stated before I can even ls the parent directory /mnt/data/ and it shows me all the directories on the mount, but anytime I ls or do anything inside there it does that or freezes. Any idea's? How "old" are these old systems? Do you have any ISA type ethernet cards? Read Handbook's section 30.3.6: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html I actually had this kind of trouble once, and it was due to an ISA network card. I doubt you are really using an ISA card in a production system, but some of the remedies described in the section may give you a hint of what is going on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Help
If your server is nfsv4 (freebsd 7.x) the nfs protocol used is tcp. The older machines (freebsd 5 or 6) the nfs prococol is udp... try to use the -T switch (mount_nfs option...) on the older machines so they will use tcp... hope this will help Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS help
Tim Holmes wrote: Trying to move a NFS share to another NFS server and having a bit of trouble with it. I moved all the files and and I edited exports. /etc/exports /home/install/fbsd -network 192.168.2.0 -mask 255.255.255.0 /home/install/mdk -network 192.168.2.0 -mask 255.255.255.0 Now the 1st one works just fine. I can mount /home/install/fbsd across my network, but I can't mount the /home/install/mdk. I've restarted the nfs server several times, but I still can't get that second share to become available. Am I missing something? NFS exports filesystems, not directory trees. NFS permits you to mount a subdirectory of an export/share, but you cannot mount two child directories of a share if those directories are ancestors of one another on the same filesystem. Please refer to _Managing NFS and NIS_, O'Reilly, p92: "2. You cannot export any subdirectory of an exported filesystem unless the subdirectory is on a different physical device. 3. You cannot export any parent directory of an exported filesystem unless the parent is on a different physical device." Some of these restrictions can be mitigated with the -alldirs flag, but look at "showmount" to see what you are actually exporting. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS help
On Saturday 17 September 2005 07:10 pm, Tim Holmes wrote: > Trying to move a NFS share to another NFS server and having a bit > of trouble with it. I moved all the files and and I edited exports. > > /etc/exports > /home/install/fbsd -network 192.168.2.0 -mask 255.255.255.0 > /home/install/mdk -network 192.168.2.0 -mask 255.255.255.0 > > Now the 1st one works just fine. I can mount /home/install/fbsd > across my network, but I can't mount the /home/install/mdk. I've > restarted the nfs server several times, but I still can't get that > second share to become available. Am I missing something? Is that > config incorrect? Any help here would be greatly appreciated. > > Thanks! > tdh Try: /home/install/fbsd /home/install/md -network 192.168.2.0 -mask 255.255.255.0 Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ --- pgp06CBn86nyN.pgp Description: PGP signature
Re: NFS help config
in message <[EMAIL PROTECTED]>, wrote Reginaldo Tavares thusly... > > I´ve been trying to start a NFS server and a client. Both PC > machines are 5.2.1 FreeBSD. > > I decided to follow the on line handbook instructions, but I can´t > get the result. The system gave me the message: > > RPCPROG_NFS: RPC: Port mapper failure - RPC Timed out > > after I trying to mount a filesystem in my client machine. > > What could I do ?? "rpc error on nfs" on Google ... http://groups.google.ru/groups?hl=en&lr=lang_en&th=42a5a6d4145df405&seekm=1113265426.00276314.1113252007%4010.7.7.3&frame=off - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs help
On May 11, 2004, at 8:47 PM, Chad Leigh -- Shire.Net LLC wrote: Hi I have a 5.2-CURRENT (as of about 2 weeks ago) machine that I want to serve some filesystem from to itself using localhost. Ie, % mount localhost:/path/to/shared/dir /other/path I have it working on a 5.2.1-RELEASE-p6 machine, but cannot get it working on the -CURRENT machine. I run mountd with -d -r and it gives the following on startup (shoes the exports file as well so I won't list it separately) Well, I cvsupped to the latest -CURRENT and the problem went away... Thanks Chad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: nfs help plz
Try look here for "steps"... May be that can helps... http://www.freebsddiary.org/topics.php#nfs Also try to "man nfs", "man nfsd", "man exports", "man mountd"... So...have fun ;-) Shantanu Mahajan wrote: +++ RD [freebsd] [14/12/02 22:02 -0500]: | hi guys , | i'm trying to make one of my boxes a file server, ftp server, and mysql | | i'm running apache on box #2... | | now i need to mount my users dir on box 2 from box 1 | | i can't seem to make it work from freebsd handbook. | | any step by step links? | tx | RD | | -- First take care that both boxes have a a user with same name and uid. And try to share it. Hope this will solve your prob. as I faced the similar one when I tried to use nfs. Regards, Shantanu To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: nfs help plz
On Mon, 16 Dec 2002, Shantanu Mahajan wrote: > +++ RD [freebsd] [14/12/02 22:02 -0500]: > | hi guys , > | i'm trying to make one of my boxes a file server, ftp server, and mysql > | > | i'm running apache on box #2... > | > | now i need to mount my users dir on box 2 from box 1 > | > | i can't seem to make it work from freebsd handbook. > | > | any step by step links? > | tx > | RD > | > | -- > First take care that both boxes have a a user with same name and uid. And try >to share it. Hope this will solve your prob. as I faced the similar one when I tried >to use nfs. > create and compile a kernel with options NFS on both machines then edit the file /etc/exports on the machine that needs to share the directory, and add the line : /usersdir -ro add the -ro to share read only. if read write then use -maproot=: after this do a killall -HUP mountd and then login to the client and type mount -t nfs :/userdir /mnt you can change /mnt in any other directory. this should be all you need to do to set up an NFS system. Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: nfs help plz
+++ RD [freebsd] [14/12/02 22:02 -0500]: | hi guys , | i'm trying to make one of my boxes a file server, ftp server, and mysql | | i'm running apache on box #2... | | now i need to mount my users dir on box 2 from box 1 | | i can't seem to make it work from freebsd handbook. | | any step by step links? | tx | RD | | -- First take care that both boxes have a a user with same name and uid. And try to share it. Hope this will solve your prob. as I faced the similar one when I tried to use nfs. Regards, Shantanu -- # ls "/usr/lib/common sense" ls: /usr/lib/common sense: No such file or directory msg12223/pgp0.pgp Description: PGP signature
Re: nfs help plz
What exactly are you doing?? Long story short, setup /etc/rc.conf for nfs on client and server. Setup /etc/exports on server for clients that need access. Restart or start nfs Should be good from there. Oh, also make sure kernels are compiled with nfs support. I believe thats it... RD wrote: >hi guys , >i'm trying to make one of my boxes a file server, ftp server, and mysql > >i'm running apache on box #2... > >now i need to mount my users dir on box 2 from box 1 > >i can't seem to make it work from freebsd handbook. > >any step by step links? >tx >RD > > >To Unsubscribe: send mail to [EMAIL PROTECTED] >with "unsubscribe freebsd-questions" in the body of the message > > > > -- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message