[Vserver] How do I nfs-mount inside a vserver?

From: Wilhelm Meier <wilhelm.meier_at_fh-kl.de>
Date: Wed 13 Sep 2006 - 09:22:21 BST
Message-Id: <200609131022.21276.wilhelm.meier@fh-kl.de>

Hi,

I googled for a while but I didn't find a solution for nfs-mounting inside the
guest from a remote nfs-server.

I had to export the dirs on the nfs-server to the guest AND to the host
(why?). After that the host answers to the mount request.

I gave the guest ccap secure_mount AND binary_mount. But a

mount 192.168.39.1:/home /home -o nolock,tcp

gives a "permission denied".
If I add CAP_SYS_ADMIN to bcap, it works fine. But that's not what I want.

If I setup fstab.remote, it works (well, I don't know why!). What is the
difference?

I'm using 2.6.17-vs2.1.1-rc26-gentoo.

Any ideas?

-- 
Wilhelm 
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Sep 13 09:20:06 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 13 Sep 2006 - 09:20:12 BST by hypermail 2.1.8