I am trying to mount a NFS drive on an antlet using Ubuntu LXC. It keeps erroring when I try to mount it. I was wondering if there is an easy way to mount an NFS drive in the edgelinux interface? If I mount it on the edgelinux server will the antlet be able to see the mounted drive? I am not sure why it is erroring out. I think it probably has something to do with the network setup of the antlet. I have the permissions of the NFS drive set to a wildcard * and sys permissions. The NFS mounting works just fine with another Ubuntu server I have setup on a different computer.
NFS Mounting???
Hi @skrillet
I was able to do this with these steps:
- Shut down your Ubuntu antlet.
- From antsleOS/Edgelinux host create a directory for use by anlet like so: 'mkdir -p /antlets/antletname/mnt/myremotefiles'
- Mount the nfs export to newly created directory with 'mount -o nolock remotehost:/path/to/export /antlets/antletname/mnt/myremotefiles' (needs -o nolock because statd is not running)
- Boot your Ubuntu anlet and check contents of /mnt/myremotefiles
Worked for me.
daniel.luckStaff
Hi @helga
Thanks for sharing!
Thank you,
antsle Support
Log in to reply. New here? It takes a minute.