You are not logged in.
On my server, I have a hard drive with all of my data mounted to "/dc" (bad practice, I know). On this drive, I have a FUSE mount on "/dc/documents/tags". Furthermore, I keep all of my NFS shares listed in "/exports" by running
mount --bind /dc /exports/dcOn the client I can see all files in "/dc" except for those in "/dc/documents/tags", which appears empty. To fix this, I read about and applied the "nohide" option in "/etc/exports". This didn't work. I kept fiddling around, and resolved on the following "/etc/exports":
/export/dc 192.168.1.0/255.255.255.0(rw,async,nohide,no_subtree_check,insecure,no_root_squash)
/export/tags 192.168.1.0/255.255.255.0(fsid=1,rw,async,nohide,no_subtree_check,insecure,no_root_squash)Where even though "tags" is a subfolder of "dc", I have it bound by running:
mount --bind /dc/documents/tags /exports/tagsOn the client, I have to mount twice:
mount server:/export/dc foo
mount server:/export/tags foo/documents/tagsThis works, but it seems clumsy. Is there a better way of doing this?
Offline