OpenVZ Forum


Home » General » Support » AutoFS/NFS
Re: AutoFS/NFS [message #5061 is a reply to message #5000] Wed, 09 August 2006 18:28 Go to previous message
bkosick is currently offline  bkosick
Messages: 4
Registered: August 2006
Junior Member
OK,

I've tested it out, and it doesn't seemd to work very well. I reported earlier that the autofs worked on the HW node with the fedora kernel... Well it does kinda...

For example. After starteing autofs on the HW node, you can do a "ls /home/bkosick" and it works fine. However if you immediately do the same thing on another user "ls /home/lchamp". It comes back with "No such file or directory". Wait a few minutes, and do the "ls /home/lchamp" command it suddenly works. Note that /home/bkosick is still mounted.

so with these still mounted, I perform the mount --bind command

mount --bind /home /vz/root/334/home

then enter the VPS, vzctl enter 334

and do an "ls /home/bkosick" it comes back with no such file or directory.

ls bkosick
ls: bkosick: No such file or directory
-bash-3.00# ls /home/bkosick
ls: /home/bkosick: No such file or directory
-bash-3.00# cd /home/bkosick
-bash-3.00# ls
ls: .: No such file or directory

Doh!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Problem starting VPS
Next Topic: AMD64, FreeVPS and CPU
Goto Forum:
  


Current Time: Mon Jul 29 22:15:31 GMT 2024

Total time taken to generate the page: 0.02700 seconds