
Solved!
Go to SolutionECS: Remote I/O error when writing a file
I'd really appreciate some help on this. I've submitted a github ticket, but I haven't got an answer. This is what I've done.
I installed a centos 7 server and followed the single node docker install on github
I ran both step1 and step2 scripts.
I login to the web ui
I created an object user named nfs_user.
I created a bucket named nfs_bucket. I added the nfs_user as the owner and added the nfs_group with r,w,exec permissions
I went to file and created users named nfs_user (10001) and nfs_group (10002) with the corresponding IDs
I created an export and used nfs_user under anonuser and root squash and nfs_group under anon group.
This is what happens on my client.
[root@localhost /]# showmount -e 10.44.236.152
Export list for 10.44.236.152:
/ns1/nfs_bucket *
[root@localhost /]# mount -t nfs -o vers=3,sec=sys,proto=tcp,async 10.44.236.152:/ns1/nfs_bucket /nfsshare/
[root@localhost /]# cd /nfsshare/
[root@localhost nfsshare]# ls -al
total 1
drwxrwxrwx. 3 10001 10002 96 Apr 26 16:28 .
[root@localhost nfsshare]# mkdir test_dir
[root@localhost nfsshare]# ls -al
total 1
drwxrwxrwx. 3 10001 10002 96 Apr 26 16:29 .
drwxr-xr-x. 3 10001 10002 96 Apr 26 16:29 test_dir
[root@localhost nfsshare]# cd test_dir/
[root@localhost test_dir]# ls -al
total 1
drwxr-xr-x. 3 10001 10002 96 Apr 26 16:29 .
[root@localhost test_dir]# touch file
touch: cannot touch ‘file’: Remote I/O error
[root@localhost test_dir]# echo 'help me' > file
-bash: file: Remote I/O error
[root@localhost test_dir]# cd ..
[root@localhost nfsshare]# echo 'why am I getting this IO error' > file
-bash: file: Remote I/O error
Any ideas here?
Responses (0)
Solutions (0)
