NFS Mounting???

2 replies
skrillet
1 post

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.

Gyorgy
8 postsedited

Hi @skrillet

I was able to do this with these steps:

  1. Shut down your Ubuntu antlet.
  2. From antsleOS/Edgelinux host create a directory for use by anlet like so: 'mkdir -p /antlets/antletname/mnt/myremotefiles'
  3. 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)
  4. Boot your Ubuntu anlet and check contents of /mnt/myremotefiles

Worked for me.

▲ 1

Log in to reply. New here? It takes a minute.