logo       

Re: NFS Server within VServer: msg#00111

linux.vserver

Subject: Re: NFS Server within VServer

I have made a patch to allow you to use a vserver within a virtual
context but without a chbind, updated for the new vserver utils. I can
post it up if you like.

But, either way, your ideal is probably not running a service that uses
direct kernel access (like nfsd) within a vserver. You might want to
look at sometihng like this:

http://unfs3.sourceforge.net/

Cheers,
Liam

On Thu, 2004-08-12 at 14:35, Herbert Poetzl wrote:
> On Thu, Aug 12, 2004 at 10:58:09PM +0200, Bernhard Duebi wrote:
> > On Mon, 2004-08-09 at 15:15, Herbert Poetzl wrote:
> > > On Mon, Aug 09, 2004 at 03:04:48PM +0200, bernhard.duebi@xxxxxxxxxx wrote:
> > > > Hi,
> > > >
> > > > I managed to install SuSE Linux 9.1 in a VServer. Now I try to run a
> > > > NFS Server with this VServer, but no luck.
> > > > I was googling for a solution, but havent found much help.
> > > > I run Kernel 2.6.6 with VServer 1.9.1 and util-vserver-0.29.214.
> > > > I configured two interfaces for the VServer: lo 127.4.0.1/8, eth0
> > > > 10.13.2.133/23
> > > > There is no portmap running on the host or other VServers.
> > > > The /etc/hosts.allow looks like "portmap: ALL"
> > > > There are no capabilities set for this Vserver.
> > > >
> > > > Any idea what's wrong ?
> > >
> > > userspace or kernel space nfs? (latter one might work
> > > with recent patches (1.9.2-rc10 or 1.9.2.16)
> >
> > I don't think that kernel nfsd is a good idea, though I don't care if
> > works or not.
>
> hmm, noted ... ;)
>
> > > > Aug 9 13:36:00 vsztslp02 portmap[31060]: SIOCGIFADDR: Cannot assign
> > > > requested address
> > > > Aug 9 13:36:00 vsztslp02 portmap[31060]: cannot find any active local
> > > > network interfaces
> > > > Aug 9 13:36:00 vsztslp02 mountd[31126]: unable to register (mountd, 1,
> > > > udp).
> >
> > I tried user space nfsd from suse and from debian,
> > but none of them work.
>
> hmm ... interesting ...
>
> > I think it has has something to do with chbind.
>
> might be ...
>
> > Why doesn't ifconfig show any IP addresses in a vserver?
>
> hmm, probably because you (somebody) haven't (hasn't)
> configured the vserver to use any IP ...
>
> best,
> Herbert
>
> >
> > Cheers
> > Bernhard
> >
> > _______________________________________________
> > Vserver mailing list
> > Vserver@xxxxxxxxxxxxxxxxxxxxxx
> > http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver@xxxxxxxxxxxxxxxxxxxxxx
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

_______________________________________________
Vserver mailing list
Vserver@xxxxxxxxxxxxxxxxxxxxxx
http://list.linux-vserver.org/mailman/listinfo/vserver



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise