On Wednesday 26 July 2017 02:31 PM, Chetan Sharma wrote:
Default Configuration file path is : /etc/lxc/default.conf Entry is :- lxc.mount.entry = /var/lib/nfsdir var/nfsmnt none bind,create=dir 0 0
You are missing a forward slash before 'var/nfsmnt' above.
After restart lxc service. I executed lava job then this directory
How did you restart lxc service?
"/var/lib/nfsdir" of worker machine is not mounting on LXC instance in directory "/var/nfsmnt".
A fresh LXC created and started during the job execution will not have the directory /var/nfsmnt hence it will not work.
You may try 'mkdir /var/nfsmnt; mount /var/nfsmnt' before accessing the directory.
But if i manually create and start lxc instance on worker, then this directory "/var/lib/nfsdir" of worker machine is mounted on LXC instance.
What are the things you did after starting lxc? Did you create '/var/nfsmnt' directory?
Thank You.