OpenVZ Forum


Home » General » Support » AutoFS/NFS
Re: AutoFS/NFS [message #5000 is a reply to message #4984] Tue, 08 August 2006 05:23 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Well... I meant slightly different scenario:

On host node you are mounting autofs on, say,
/mnt/nfsshares/nfs1, /mnt/nfsshares/nfs2, etc.

Then do
mount --bind /mnt/nfsshares/nfs1/ /vz/root/100/home/
mount --bind /mnt/nfsshares/nfs2/ /vz/root/101/home/
....

I suppose, appropriate nfs mount will be automounted only when you are using /home inside appropriate VE and automatically unomunted after some time... Well, usual autofs.

However, it might not work for various reasons:
1) --bind "get" nfs and it is always mounted
2) atomounter don't recieve a "signal" from VE to mount an NFS
partion (this is very probably).

So, it's necessary to check all these stuff! Smile
If you'll do it - please post your results here. Rolling Eyes
I'll try to do something like that in the near future...

Thanks.
 
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: Tue Jul 30 00:14:25 GMT 2024

Total time taken to generate the page: 0.02678 seconds