weizhouapache commented on issue #7244:
URL: https://github.com/apache/cloudstack/issues/7244#issuecomment-1438744564
> > @whitetiger264 what's the owner of /data and /data/secondary ?
> > ls -ld /data ls -ld /data/secondary
> > can you remove `no_root_squash` from /etc/exports and retry ?
>
> @weizhouapache
>
> ```
> [root@nfshost ~]# ls -ld /data
> drwxr-xr-x. 3 root root 23 Feb 21 17:45 /data
> [root@nfshost ~]# ls -ld /data/secondary
> drwxrwxrwt 5 root root 54 Feb 13 13:13 /data/secondary
> ```
>
> I removed `no_root_squash`, restarted NFS and tested the mount from SSVM
again, same results.
>
> Here I am mounting from my client machine using a local IP too,
successfully:
>
> ```
> ❯ sudo mount -t nfs -vvv 102.165.xxx.yyy:/data/secondary/ mnt/test
> [sudo] password for granwille:
> mount.nfs: timeout set for Tue Feb 21 18:03:31 2023
> mount.nfs: trying text-based options
'vers=4.2,addr=102.165.xxx.yyy,clientaddr=192.168.20.69'
4s
> ❯
> ```
@whitetiger264
can you change the owner of the directories ?
chown nobody:nogroup /data
chown nobody:nogroup /data/secondary
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]