Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
typo changed mnt/nfs into /mnt/nfs
Source Link

I setup an NFS share on my NFS server with /etc/exports containing / *(rw,no_root_squash,no_subtree_check) Then I do exportfs -a to activate the share and restart the nfs server.

I mount the share with autofs on the client machine with /etc/auto.nfs containing foo -fstype=nfs4,soft,rw,noatime,allow_other server.tld:/

My auto.master contains /mnt/nfs /etc/auto.nfs --timeout=30 --ghost

I restart autofs (systemctl restart autofs.service)

Then I see all directories from the server. But when I try to navigate to mounted serverdisks under /mnt/mounteddiskonserver I can't see anything anymore. No files, no directories, no write permission through nemo file browser on the client machine. I can go to /home/user on the server and see and delete all my files on the server that have same permissions as /mnt/mounteddiskonserver/fileshere.

When I setup the NFS server to share /mnt/mounteddiskonserver specifically with with /etc/exports containing /mnt/mounteddiskonserver *(rw,no_root_squash,no_subtree_check) I can see all files and directories under /mnt/mounteddiskonserver and I can read and write.

I setup an NFS share on my NFS server with /etc/exports containing / *(rw,no_root_squash,no_subtree_check) Then I do exportfs -a to activate the share and restart the nfs server.

I mount the share with autofs on the client machine with /etc/auto.nfs containing foo -fstype=nfs4,soft,rw,noatime,allow_other server.tld:/

My auto.master contains mnt/nfs /etc/auto.nfs --timeout=30 --ghost

I restart autofs (systemctl restart autofs.service)

Then I see all directories from the server. But when I try to navigate to mounted serverdisks under /mnt/mounteddiskonserver I can't see anything anymore. No files, no directories, no write permission through nemo file browser on the client machine. I can go to /home/user on the server and see and delete all my files on the server that have same permissions as /mnt/mounteddiskonserver/fileshere.

When I setup the NFS server to share /mnt/mounteddiskonserver specifically with with /etc/exports containing /mnt/mounteddiskonserver *(rw,no_root_squash,no_subtree_check) I can see all files and directories under /mnt/mounteddiskonserver and I can read and write.

I setup an NFS share on my NFS server with /etc/exports containing / *(rw,no_root_squash,no_subtree_check) Then I do exportfs -a to activate the share and restart the nfs server.

I mount the share with autofs on the client machine with /etc/auto.nfs containing foo -fstype=nfs4,soft,rw,noatime,allow_other server.tld:/

My auto.master contains /mnt/nfs /etc/auto.nfs --timeout=30 --ghost

I restart autofs (systemctl restart autofs.service)

Then I see all directories from the server. But when I try to navigate to mounted serverdisks under /mnt/mounteddiskonserver I can't see anything anymore. No files, no directories, no write permission through nemo file browser on the client machine. I can go to /home/user on the server and see and delete all my files on the server that have same permissions as /mnt/mounteddiskonserver/fileshere.

When I setup the NFS server to share /mnt/mounteddiskonserver specifically with with /etc/exports containing /mnt/mounteddiskonserver *(rw,no_root_squash,no_subtree_check) I can see all files and directories under /mnt/mounteddiskonserver and I can read and write.

Source Link

Why are directories under /mnt not visible when mounting filesystem with NFS?

I setup an NFS share on my NFS server with /etc/exports containing / *(rw,no_root_squash,no_subtree_check) Then I do exportfs -a to activate the share and restart the nfs server.

I mount the share with autofs on the client machine with /etc/auto.nfs containing foo -fstype=nfs4,soft,rw,noatime,allow_other server.tld:/

My auto.master contains mnt/nfs /etc/auto.nfs --timeout=30 --ghost

I restart autofs (systemctl restart autofs.service)

Then I see all directories from the server. But when I try to navigate to mounted serverdisks under /mnt/mounteddiskonserver I can't see anything anymore. No files, no directories, no write permission through nemo file browser on the client machine. I can go to /home/user on the server and see and delete all my files on the server that have same permissions as /mnt/mounteddiskonserver/fileshere.

When I setup the NFS server to share /mnt/mounteddiskonserver specifically with with /etc/exports containing /mnt/mounteddiskonserver *(rw,no_root_squash,no_subtree_check) I can see all files and directories under /mnt/mounteddiskonserver and I can read and write.