Hi Folks,

Hopefully most of us are looking forward to a nice weekend. Been
playing around with the latest lx bits and have to say it's awesome to
see how well most things are working. Trying to make NFS mounting work
in an Ubuntu zone and I'm running into some issues.

I have an Ubuntu 14.04 server running on bare metal with the following
line in /etc/exports:

/nfstest 10.128.6.0/24(rw,sync,no_root_squash,no_subtree_check)

$ ls -n / | grep nfstest
drwxr-xr-x   1 21001 30001   16 Jun 26 09:29 nfstest

Locally (i.e. on that same NFS server), I can NFS mount the export no problem:

$ sudo mount -t nfs 10.128.6.103:/nfstest /mnt/nfstest
$ cd /mnt/nfstest
$ ls -n
total 4
-rw-r--r-- 1 21001 30001 4 Jun 26 09:30 testfile

I can also mount it from a global zone on a box running SmartOS build
20150612T210440Z:

# mkdir /mnt/nfstest
# mount 10.128.6.103:/nfstest /mnt/nfstest
# cd /mnt/nfstest/
# ls -l
total 8
-rw-r--r--   1 21001    30001          4 Jun 26 13:30 testfile

However, trying to access it from an Ubuntu 14.04 lx zone
(5a0145ee-15c4-11e5-9c49-ef53e8760a7e), I get permission errors when
accessing the directory, though it appears to mount fine:

root@f5fc7864-5a2b-4aa8-a48d-7a64e27ae6d4:~# mkdir /mnt/nfstest
root@f5fc7864-5a2b-4aa8-a48d-7a64e27ae6d4:~# mount -t nfs
10.128.6.103:/nfstest /mnt/nfstest
root@f5fc7864-5a2b-4aa8-a48d-7a64e27ae6d4:~# cd /mnt/nfstest
-bash: cd: /mnt/nfstest: Permission denied
root@f5fc7864-5a2b-4aa8-a48d-7a64e27ae6d4:/# cd /mnt/
root@f5fc7864-5a2b-4aa8-a48d-7a64e27ae6d4:/mnt# ls -n
total 0
drwxr-xr-x 1 21001 30001 16 Jun 26 13:29 nfstest

I'm going to keep digging, but I wanted an initial sanity check that
nothing obvious could be wrong here.

I know there have been some NFS issues with lx, but a recent comment
indicated it should be working.


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to