Re: NFS question - which is the server
In response to David Banning <[EMAIL PROTECTED]>: > I have a FBSD box servering several users. We want to mount a stand-alone > FBSD box to access the files on it. I am thinking NFS. > > When installing NFS, the stand-alone box would be the NFS server, correct? > And multi-user box would be the NFS client? You're question is worded somewhat ambiguously. I'm unclear as to which server is doing what, however: * The server that _has_ the files will be the NFS server. * Any system that accesses those files across the network is an NFS client. Hope that helps. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS question - which is the server
On 12/12/06, David Banning <[EMAIL PROTECTED]> wrote: I have a FBSD box servering several users. We want to mount a stand-alone FBSD box to access the files on it. I am thinking NFS. When installing NFS, the stand-alone box would be the NFS server, correct? And multi-user box would be the NFS client? in this model the NFS server will be the node in which you export your data to other machines. I.e. the machine which holds the files you want to access. The client will be the machine that needs to access said files. in your case the multiuser box will be the client. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS question - which is the server
I have a FBSD box servering several users. We want to mount a stand-alone FBSD box to access the files on it. I am thinking NFS. When installing NFS, the stand-alone box would be the NFS server, correct? And multi-user box would be the NFS client? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS question...
Kevin Kinsey wrote: Eric Murphy wrote: If I chmod my $HOMEDIR to 777, then you can read/write to it. But, if I export it via /etc/exports (NFS), you can't mount it unless you're root. Expected behavior, seems to me, in light of my experience with 'Nixes. why not use an automounter (amd..any others?) to take care of the mounting/unmounting @ the client end, and let the user simply access the /host/[hostname]/share/ mountpoint as needed? Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS question...
Eric Murphy wrote: Hey guys... Ive setup a NFS correctly (I think) on my BSD 5.4 box Added nfs_enable_enable="yes" rpcbind_enable="yes" portmap_enable="yes" in my rc.conf and its seems to be working... My question is this.. I can mount the shares without anyproblems as root... I CAN NOT mount them as a user... Now I added my UID (1001) to my SERVER's exports file with -maproot=1001 Am i understaning this correctly that by adding that line in the config it gives me read/write access to the files on the SERVER? that does NOT allow me to mount the File system..? My user is able to read/wirite to the files with no problems.. sorry if thats alittle confuseing... Your understanding is correct. If I chmod my $HOMEDIR to 777, then you can read/write to it. But, if I export it via /etc/exports (NFS), you can't mount it unless you're root. Expected behavior, seems to me, in light of my experience with 'Nixes. I don't know if the sysctl "vfs.usermount" would apply in the case of NFS or not; it does for floppies and CDROM's, I think. You might try it; good luck! Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS question...
Am Dienstag, 23. August 2005 02:51 CEST schrieb Eric Murphy: > Hey guys... > > Ive setup a NFS correctly (I think) on my BSD 5.4 box > > Added > > nfs_enable_enable="yes" > rpcbind_enable="yes" > portmap_enable="yes" > > in my rc.conf > > and its seems to be working... > > My question is this.. > > I can mount the shares without anyproblems as root... > > I CAN NOT mount them as a user... > > Now I added my UID (1001) to my SERVER's exports file with -maproot=1001 > > Am i understaning this correctly that by adding that line in the config > it gives me read/write access to the files on the SERVER? that does NOT > allow me to mount the File system..? > > My user is able to read/wirite to the files with no problems.. > > sorry if thats alittle confuseing... Hmm, at first it is... You cannot mount filesystems (even not NFSs) as regular user. Well, you can, but you have to be the owner of the mountpoint directory and have set (as superuser or during startup (/etc/sysctl.conf)) the sysctl vfs.usermount to 1. The '-maproot=SOMEID' is for the NFS server which tells him to what userid incoming ID=0 requests will be mapped. Usually you don't want to let everybody who identifies him as ID=0 erase your root file system! So User ID=0 is invalid in NFS until you map it to any other (or the same) ID! Hope this helps, -Harry > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" pgpWpfmfx5Bmo.pgp Description: PGP signature
NFS question...
Hey guys... Ive setup a NFS correctly (I think) on my BSD 5.4 box Added nfs_enable_enable="yes" rpcbind_enable="yes" portmap_enable="yes" in my rc.conf and its seems to be working... My question is this.. I can mount the shares without anyproblems as root... I CAN NOT mount them as a user... Now I added my UID (1001) to my SERVER's exports file with -maproot=1001 Am i understaning this correctly that by adding that line in the config it gives me read/write access to the files on the SERVER? that does NOT allow me to mount the File system..? My user is able to read/wirite to the files with no problems.. sorry if thats alittle confuseing... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS question
Bingo! Lowell Gilbert wrote: munn <[EMAIL PROTECTED]> writes: I am trying to NFS connect to a server machine using mount_nfs. I get the following message RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to receive. An 'identical' machine connects without a message and the mount works. Does anybody know what the message means and how to make it go away? All machines are running 5.4-STABLE Stable as of when? There was a bug in -STABLE last week which could explain this. If you updated the problematic machine last week, do it again now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS question
munn <[EMAIL PROTECTED]> writes: > I am trying to NFS connect to a server machine using mount_nfs. I get > the following message > > RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to receive. An > 'identical' machine connects without a message and the mount works. > > Does anybody know what the message means and how to make it go away? > > All machines are running 5.4-STABLE Stable as of when? There was a bug in -STABLE last week which could explain this. If you updated the problematic machine last week, do it again now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS question
The only things that come to mind here are to make sure rcp/portmapper is running, make sure you have all of the appropriate _enable="YES" messages in rc.conf, and to reboot. That last isn't required, you can -HUP all of the processes involved, but this way you see what happens upon reboot too. On Mon, 13 Jun 2005, munn wrote: I am trying to NFS connect to a server machine using mount_nfs. I get the following message RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to receive. An 'identical' machine connects without a message and the mount works. Does anybody know what the message means and how to make it go away? All machines are running 5.4-STABLE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS question
I am trying to NFS connect to a server machine using mount_nfs. I get the following message RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to receive. An 'identical' machine connects without a message and the mount works. Does anybody know what the message means and how to make it go away? All machines are running 5.4-STABLE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS question
Quick question regarding NFS. Is it possible to mount a NFS share if portmapper isn't running on the server? The remote machine is running a Linux 2.4 kernel. I'm using OpenBSD 3.5. The BSD version of mount (or mount_nfs) doesn't seem to accept an argument for ports, or at least mount_port. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Question
On Nov 4, 2004, at 2:32 PM, Dan Mahoney, System Admin wrote: Is there any way of knowing who is actively using NFS shares, or who has mounted partitions from it? Try "showmount -a". NFS is a stateless protocol, so the information may not be perfectly accurate... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: NFS Question
In the last episode (Nov 04), Dan Mahoney, System Admin said: > Is there any way of knowing who is actively using NFS shares, or who > has mounted partitions from it? NFS is stateless so there's no need for the server to keep track of who has mounted a volume. The "showmount" command will print a list of machines the server thinks is accessing it, but the list may not be complete. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS Question
Is there any way of knowing who is actively using NFS shares, or who has mounted partitions from it? -Dan -- Christ almighty... my EYES! They're melting! -Zaren, Efnet #macintosh, in response to: www.geocities.com/CollegePark/Classroom/1944 The WEBSITE DESIGN class that gave my fiancee a D. Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"