-
Notifications
You must be signed in to change notification settings - Fork 16
Symbolic links #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had a problem related to symlinks, but when you mount using then. for example, if you mount a backend filesystem mounted on /tmp/backend to /atomo, but /atomo is actually a symlink to /RAID/atomo. When I first did that, something weird happened, and mcachefs got into a weird never-ending loop which made my machine it was fixed by calling: using the actual path the /atomo symbolic link pointed to (/RAID/atomo) instead of the symlink. not sure if there's something to do with your problem, but I thought it was a relevant piece of info anyways... so... KIDS, never mount mcachefs to a symlink!! |
@isarandi Could you please share your usecase, more information on your symlink content ? I assume that's an absolute symlink within the backend filesystem, or at least a relative one pointing outside of the scope of the backend filesystem. Otherwise, purely relative symlinks do work, if they are relative and inside of in the backend mount point. |
On the remote machine the content is mounted via NFS from a third machine. The symlink was absolute I think (but I don't remember exactly), pointing back to a different directory of the same NFS mount. The NFS mount is mounted directly one level under the root. |
I'm using mcachefs to cache sshfs. The sshfs option follow_symlinks enables me to traverse symlinks on the actual sshfs mount. However the mcachefs cached mount says "cannot read symbolic link h36m: Invalid argument".
The text was updated successfully, but these errors were encountered: