Start a Conversation

Unsolved

This post is more than 5 years old

12193

April 13th, 2016 07:00

nfs export question

Can someone please explain why this isn't working?

I created a file export in my ecs ui with the following options

Export Path: /ns1/nfsbucket/

Under export host options i did this:

Export host: IP of the client

Permissions: Read/Write

Write Transfer Policy: Sync

Authentication: I didn't select anything here

Mounting Directories: Allow

AnonUser: blank

AnonGroup: blank

RootSquash: blank


From my client I get this:

[nfsclient ~]$ showmount -e ecsnode

Export list for ecsnode:

/ns1/nfsbucket ecsnode

[nfsclient ~]$ sudo mount -t nfs -o vers=3 -o rw,async ecsnode:/ns1/nfsbucket/ /nfsshare/

mount.nfs: access denied by server while mounting ecsnode:/ns1/nfsbucket/

I feel like I'm missing where I should link the user to the bucket. Does anyone have any good setup instructions for mounting nfs?

April 21st, 2016 08:00

What does the NFS export ACL look like from the ECS Administrator GUI?

18 Posts

April 21st, 2016 09:00

Yeah the same thing. I'm going to try and reinstall ecs.

[root@localhost ~]# chmod 777 /nfsshare/

[root@localhost ~]# mount -t nfs -o vers=3,sec=sys,proto=tcp,async 10.44.236.56:/ns1/nfs_bucket /nfsshare/

[root@localhost ~]# cd /nfsshare/

[root@localhost nfsshare]# ls -al

total 1

drwxrwxrwx. 3 30001 30002 96 Apr 20 18:02 .

drwxr-xr-x. 3 30001 30002 96 Apr 20 18:02 test_dir

[root@localhost nfsshare]# echo 'test data in test file' > test

-bash: test: Remote I/O error

[root@localhost nfsshare]# ls -al

total 1

drwxrwxrwx. 3 30001 30002 96 Apr 20 18:02 .

drwxr-xr-x. 3 30001 30002 96 Apr 20 18:02 test_dir

18 Posts

April 21st, 2016 09:00

Do you mean the acl of the bucket? The only acl information I know about for the nfs export is when you are configuring you user group mappings and you host export options. Both of which I have screenshots of above.

18 Posts

April 21st, 2016 13:00

No problem. I thought I posted a picture of that as well but I didn't.

exports.JPG.jpg

April 21st, 2016 13:00

I apologize for not being more specific regarding the NFS export ACL.  From the ECS Administrator GUI -> Manage -> File -> Exports.  What does this screen display?

18 Posts

April 21st, 2016 14:00

I just installed a 4 node configuration using the step 1 and step 2 scripts. Then I used the steps I outlined in the earlier post to create the export. Everything mounted just fine but I'm still getting this I/O error. There are completely different vms. Maybe there is a problem with the virtual componets I'm using?

[root@localhost /]# showmount -e 10.44.236.152

Export list for 10.44.236.152:

/ns1/nfs_test *

[root@localhost /]# mount -t nfs -o vers=3,sec=sys,proto=tcp,async 10.44.236.152:/ns1/nfs_test /nfsshare/

[root@localhost /]# cd /nfsshare/

[root@localhost nfsshare]# touch file1

touch: cannot touch ‘file1’: Remote I/O error

[root@localhost nfsshare]# mkdir test_dir

[root@localhost nfsshare]# ls -al

total 1

drwxrwxrwx. 3 10001 10002 96 Apr 21 15:27 .

drwxr-xr-x. 3 10001 10002 96 Apr 21 15:27 test_dir

I have them installed on vmware ESXi6 with vm hardware version 11. Does anyone know of any dependancies with the type of scsi controller or any other part of the virtual hardware?

April 21st, 2016 17:00

Please consider reviewing the settings in the screen which I mentioned earlier.  To get write access to the export, I found that I had to set both read and write even though full had been selected.

April 21st, 2016 18:00

I apologize for not being more specific.  On the Manage/File/Exports screen, please select the Edit dropdown menu.  You should see an option to change/display the ACL.

18 Posts

April 26th, 2016 14:00

I don't see that. I see something like that on the bucket.

What version did you install? Are you installing it from the github repo?

I literally run into different problems on each version of github install.

2.0 - Doesn't even start the web UI. I think the auth services never start.

2.1 - I'm about to try this version

2.2 - I get the IO error

latest - The install script throws a global variable error on the group node install. I'm about to try the single node install.

Am I really the only one that can't get this to work?

April 28th, 2016 08:00

It's not just you on the ACL; that option doesn't appear on a "real" ECS, either, either in the drop-down or on the Edit page (unless it's masquerading as some other option - "Export Host Options", perhaps?).

Regarding your various installs; 2.0 and 2.1 require you to use separate release branches, so be sure that you're pulling the correct ones. 2.2 should not see the variable error as of an update one week ago.

No Events found!

Top