Re: [Vserver] nfs client problems

From: Martin Fick <mogulguy_at_yahoo.com>
Date: Thu 01 Jun 2006 - 16:21:17 BST
Message-ID: <20060601152117.28974.qmail@web36108.mail.mud.yahoo.com>

--- dmanye <dmanye@urv.cat> wrote:
> hi,
>
> i need to be able from a vserser to mount an nfs
> share (from an
> external, not controlled by me server). when i try
> to manually mount i
> get: "mount: permission denied". if i do: echo
> CAP_SYS_ADMIN >
> bcapabilities then i can mount (well... i have to
> wait ~2 minutes) but
> when i try to do a simple ls on the mounted system i
> get a "permission
> denied" message.

What user are you doing the 'ls' as? Does that user
have permissions on the mounted share? If root, it
probably does NOT since the server may be using
root_squash. Make sure you are using a user which the
server grants permissions to.

Another thing, I found that when mounting via
fstab.remote (which you are not doing), the server
needs to exported to both the vserver host and the
vserver guest for it to work.

-Martin

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Jun 1 16:22:45 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 01 Jun 2006 - 16:22:51 BST by hypermail 2.1.8