* Help needed @ 2005-05-04 11:06 Benjamin Jeeves 2005-05-04 12:26 ` Neil Horman 2005-05-04 12:35 ` Trond Myklebust 0 siblings, 2 replies; 6+ messages in thread From: Benjamin Jeeves @ 2005-05-04 11:06 UTC (permalink / raw) To: nfs Hi all This is the first time posting to this list so please understand if this quistion has been posted before. I have one server with 4 ethernet card in all running on 192.168.1.* network what i want to do is run nfs on. eth2 192.168.1.6 running nfs eth3 192.168.1.7 running nfs eth2 would export samething like this /backup then /store. eth3 would export samething like this /folder3 /folder4 but at this time all I can do is make it work on all of the ethernet cards and only work on the first ethernet card eth0 for all requests. I have search gooogle and man pages but can not find anything or would I need to do load balancing for this to work? I have tryed this in the /etc/exports file: 192.168.1.6:/backup 192.168.1.12(rw,root_squash,sync) 192.168.1.6:/store 192.168.1.12(rw,root_squash,sync) 192.168.1.7:/folder3 192.168.1.14(rw,root_squash,sync) 192.168.1.7:/folder4 192.168.1.14(rw,root_squash,sync) #mount 192.168.1.6:/mad-backup /backup But when i try to mount it on the client I get a this msg mount: 192.168.1.6:/backup failed, reason given by server: Permission denied please help me? Thank you Benjamin Jeeves ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help needed 2005-05-04 11:06 Help needed Benjamin Jeeves @ 2005-05-04 12:26 ` Neil Horman 2005-05-04 12:35 ` Benjamin Jeeves 2005-05-04 12:35 ` Trond Myklebust 1 sibling, 1 reply; 6+ messages in thread From: Neil Horman @ 2005-05-04 12:26 UTC (permalink / raw) To: Benjamin Jeeves; +Cc: nfs On Wed, May 04, 2005 at 12:06:20PM +0100, Benjamin Jeeves wrote: > Hi all > > This is the first time posting to this list so please understand if this > quistion has been posted before. > > I have one server with 4 ethernet card in all running on 192.168.1.* network > what i want to do is run nfs on. > > eth2 192.168.1.6 running nfs > eth3 192.168.1.7 running nfs > > eth2 would export samething like this /backup then /store. > > eth3 would export samething like this /folder3 /folder4 > > but at this time all I can do is make it work on all of the ethernet cards and > only work on the first ethernet card eth0 for all requests. > > I have search gooogle and man pages but can not find anything or would I need > to do load balancing for this to work? > > I have tryed this in the /etc/exports file: > 192.168.1.6:/backup 192.168.1.12(rw,root_squash,sync) > 192.168.1.6:/store 192.168.1.12(rw,root_squash,sync) > 192.168.1.7:/folder3 192.168.1.14(rw,root_squash,sync) > 192.168.1.7:/folder4 192.168.1.14(rw,root_squash,sync) > > #mount 192.168.1.6:/mad-backup /backup > > But when i try to mount it on the client I get a this msg > mount: 192.168.1.6:/backup failed, reason given by server: Permission denied > > please help me? > > Thank you > > Benjamin Jeeves > I believe that your export file is written incorrectly. The export file lists directories to export, you can't use it to specify which interfaces on your server will serve those exports. The NFS service is probably reading your exports file and interpreting 192.168.1.[6|7] as part of the path to export, so when you have a client try to mount 192.168.1.6:/backup, it fails, because /backup isn't actually exported, 192.168.1.6:/backup is. Remove the leading ip addresses from your exports file and restart the service, and your mount will likely start to work just fine. Regards Neil > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs -- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. *nhorman@redhat.com *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/ ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help needed 2005-05-04 12:26 ` Neil Horman @ 2005-05-04 12:35 ` Benjamin Jeeves 2005-05-05 13:18 ` Neil Horman 0 siblings, 1 reply; 6+ messages in thread From: Benjamin Jeeves @ 2005-05-04 12:35 UTC (permalink / raw) To: nfs Hi So what you are saying is that nfs server will not bind to one or more specify interfaces which would mean that you would have to do load balancing if you wanted it to work over two ethernet card YES/NO? if Yes then where is the best place to start? Thank you Benjamin Jeeves On Wednesday 04 May 2005 13:26, Neil Horman wrote: > On Wed, May 04, 2005 at 12:06:20PM +0100, Benjamin Jeeves wrote: > > Hi all > > > > This is the first time posting to this list so please understand if this > > quistion has been posted before. > > > > I have one server with 4 ethernet card in all running on 192.168.1.* > > network what i want to do is run nfs on. > > > > eth2 192.168.1.6 running nfs > > eth3 192.168.1.7 running nfs > > > > eth2 would export samething like this /backup then /store. > > > > eth3 would export samething like this /folder3 /folder4 > > > > but at this time all I can do is make it work on all of the ethernet > > cards and only work on the first ethernet card eth0 for all requests. > > > > I have search gooogle and man pages but can not find anything or would I > > need to do load balancing for this to work? > > > > I have tryed this in the /etc/exports file: > > 192.168.1.6:/backup 192.168.1.12(rw,root_squash,sync) > > 192.168.1.6:/store 192.168.1.12(rw,root_squash,sync) > > 192.168.1.7:/folder3 192.168.1.14(rw,root_squash,sync) > > 192.168.1.7:/folder4 192.168.1.14(rw,root_squash,sync) > > > > #mount 192.168.1.6:/mad-backup /backup > > > > But when i try to mount it on the client I get a this msg > > mount: 192.168.1.6:/backup failed, reason given by server: Permission > > denied > > > > please help me? > > > > Thank you > > > > Benjamin Jeeves > > I believe that your export file is written incorrectly. The export file > lists directories to export, you can't use it to specify which interfaces > on your server will serve those exports. The NFS service is probably > reading your exports file and interpreting 192.168.1.[6|7] as part of the > path to export, so when you have a client try to mount 192.168.1.6:/backup, > it fails, because /backup isn't actually exported, 192.168.1.6:/backup is. > Remove the leading ip addresses from your exports file and restart the > service, and your mount will likely start to work just fine. > Regards > Neil > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. > > Get your fingers limbered up and give it your best shot. 4 great events, > > 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > > _______________________________________________ > > NFS maillist - NFS@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nfs ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help needed 2005-05-04 12:35 ` Benjamin Jeeves @ 2005-05-05 13:18 ` Neil Horman 0 siblings, 0 replies; 6+ messages in thread From: Neil Horman @ 2005-05-05 13:18 UTC (permalink / raw) To: Benjamin Jeeves; +Cc: nfs On Wed, May 04, 2005 at 01:35:04PM +0100, Benjamin Jeeves wrote: > Hi > > So what you are saying is that nfs server will not bind to one or more specify > interfaces which would mean that you would have to do load balancing if you > wanted it to work over two ethernet card YES/NO? if Yes then where is the > best place to start? > If you want to do load balancing for your network interfaces, I suggest that you use the bonding driver. It aggregates physical interfaces into one big interface, and allows you to set all sorts of load balancing policies. HTH Neil > Thank you > > Benjamin Jeeves > > On Wednesday 04 May 2005 13:26, Neil Horman wrote: > > On Wed, May 04, 2005 at 12:06:20PM +0100, Benjamin Jeeves wrote: > > > Hi all > > > > > > This is the first time posting to this list so please understand if this > > > quistion has been posted before. > > > > > > I have one server with 4 ethernet card in all running on 192.168.1.* > > > network what i want to do is run nfs on. > > > > > > eth2 192.168.1.6 running nfs > > > eth3 192.168.1.7 running nfs > > > > > > eth2 would export samething like this /backup then /store. > > > > > > eth3 would export samething like this /folder3 /folder4 > > > > > > but at this time all I can do is make it work on all of the ethernet > > > cards and only work on the first ethernet card eth0 for all requests. > > > > > > I have search gooogle and man pages but can not find anything or would I > > > need to do load balancing for this to work? > > > > > > I have tryed this in the /etc/exports file: > > > 192.168.1.6:/backup 192.168.1.12(rw,root_squash,sync) > > > 192.168.1.6:/store 192.168.1.12(rw,root_squash,sync) > > > 192.168.1.7:/folder3 192.168.1.14(rw,root_squash,sync) > > > 192.168.1.7:/folder4 192.168.1.14(rw,root_squash,sync) > > > > > > #mount 192.168.1.6:/mad-backup /backup > > > > > > But when i try to mount it on the client I get a this msg > > > mount: 192.168.1.6:/backup failed, reason given by server: Permission > > > denied > > > > > > please help me? > > > > > > Thank you > > > > > > Benjamin Jeeves > > > > I believe that your export file is written incorrectly. The export file > > lists directories to export, you can't use it to specify which interfaces > > on your server will serve those exports. The NFS service is probably > > reading your exports file and interpreting 192.168.1.[6|7] as part of the > > path to export, so when you have a client try to mount 192.168.1.6:/backup, > > it fails, because /backup isn't actually exported, 192.168.1.6:/backup is. > > Remove the leading ip addresses from your exports file and restart the > > service, and your mount will likely start to work just fine. > > Regards > > Neil > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: NEC IT Guy Games. > > > Get your fingers limbered up and give it your best shot. 4 great events, > > > 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > > > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > > > _______________________________________________ > > > NFS maillist - NFS@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nfs > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs -- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. *nhorman@redhat.com *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/ ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help needed 2005-05-04 11:06 Help needed Benjamin Jeeves 2005-05-04 12:26 ` Neil Horman @ 2005-05-04 12:35 ` Trond Myklebust 2005-05-04 12:39 ` Benjamin Jeeves 1 sibling, 1 reply; 6+ messages in thread From: Trond Myklebust @ 2005-05-04 12:35 UTC (permalink / raw) To: benjamin; +Cc: nfs on den 04.05.2005 Klokka 12:06 (+0100) skreiv Benjamin Jeeves: > Hi all > > This is the first time posting to this list so please understand if this > quistion has been posted before. > > I have one server with 4 ethernet card in all running on 192.168.1.* network > what i want to do is run nfs on. > > eth2 192.168.1.6 running nfs > eth3 192.168.1.7 running nfs > > eth2 would export samething like this /backup then /store. > > eth3 would export samething like this /folder3 /folder4 > > but at this time all I can do is make it work on all of the ethernet cards and > only work on the first ethernet card eth0 for all requests. > > I have search gooogle and man pages but can not find anything or would I need > to do load balancing for this to work? > > I have tryed this in the /etc/exports file: > 192.168.1.6:/backup 192.168.1.12(rw,root_squash,sync) > 192.168.1.6:/store 192.168.1.12(rw,root_squash,sync) > 192.168.1.7:/folder3 192.168.1.14(rw,root_squash,sync) > 192.168.1.7:/folder4 192.168.1.14(rw,root_squash,sync) That sort of syntax is definitely not supported. NFS shouldn't have to know or care about how you want to organise your network. If you want to enforce no NFS traffic on eth0, then how about using iptables to block traffic to port 2049 on that interface? You might then add static routes to 192.168.1.12 and 192.168.1.14 and/or set up iptables rules on the server if you want to enforce which interface those machines are allowed to talk to. Cheers, Trond ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Help needed 2005-05-04 12:35 ` Trond Myklebust @ 2005-05-04 12:39 ` Benjamin Jeeves 0 siblings, 0 replies; 6+ messages in thread From: Benjamin Jeeves @ 2005-05-04 12:39 UTC (permalink / raw) To: nfs Hi Thank you I have thought of that option but was not sure if i should go down that route but it does look like it now? Thank you On Wednesday 04 May 2005 13:35, Trond Myklebust wrote: > on den 04.05.2005 Klokka 12:06 (+0100) skreiv Benjamin Jeeves: > > Hi all > > > > This is the first time posting to this list so please understand if this > > quistion has been posted before. > > > > I have one server with 4 ethernet card in all running on 192.168.1.* > > network what i want to do is run nfs on. > > > > eth2 192.168.1.6 running nfs > > eth3 192.168.1.7 running nfs > > > > eth2 would export samething like this /backup then /store. > > > > eth3 would export samething like this /folder3 /folder4 > > > > but at this time all I can do is make it work on all of the ethernet > > cards and only work on the first ethernet card eth0 for all requests. > > > > I have search gooogle and man pages but can not find anything or would I > > need to do load balancing for this to work? > > > > I have tryed this in the /etc/exports file: > > 192.168.1.6:/backup 192.168.1.12(rw,root_squash,sync) > > 192.168.1.6:/store 192.168.1.12(rw,root_squash,sync) > > 192.168.1.7:/folder3 192.168.1.14(rw,root_squash,sync) > > 192.168.1.7:/folder4 192.168.1.14(rw,root_squash,sync) > > That sort of syntax is definitely not supported. NFS shouldn't have to > know or care about how you want to organise your network. > > If you want to enforce no NFS traffic on eth0, then how about using > iptables to block traffic to port 2049 on that interface? > > You might then add static routes to 192.168.1.12 and 192.168.1.14 and/or > set up iptables rules on the server if you want to enforce which > interface those machines are allowed to talk to. > > Cheers, > Trond > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-05 13:18 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-05-04 11:06 Help needed Benjamin Jeeves 2005-05-04 12:26 ` Neil Horman 2005-05-04 12:35 ` Benjamin Jeeves 2005-05-05 13:18 ` Neil Horman 2005-05-04 12:35 ` Trond Myklebust 2005-05-04 12:39 ` Benjamin Jeeves
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox