-
Notifications
You must be signed in to change notification settings - Fork 220
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
Symlinks not working when mounting HNS-enabled blob storage usind ADLS #1243
Comments
Can you try out the same test case with |
I tried using
|
How were these symlinks created on the container? If you have used blobfuse to create those you will see a meta property in the blobs that helps blobfuse to identify the file as a symlink. Can you share the listing output on shell for the similar files. |
@jlabhard-sg, we have fixed this bug in the PR #1283. It will be part of our next release. To have symlink working in ADLS accounts, you can either,
I also do want to point out that for ADLS accounts, if you're enabling symlink support, it can impact the directory list performance. By default, symlink is disabled for ADLS accounts. |
Which version of blobfuse was used?
2.1.1-preview.1
Which OS distribution and version are you using?
Ubuntu 22.04
If relevant, please share your mount command.
sudo blobfuse2 mount ${mount_dir} --config-file="/etc/blobfuse_${storage_container}_config.yml --use-adls=true"
Config:
What was the issue encountered?
The symlinks are not mounted. The name of the files appear but do no redirect to anything,
readlink
is empty, andcd
returnsError: Not a directory
.Creating a symlink in the mounted directory after mounting also does not create a symlink, only a filename that appears when listing the directory.
Mounting the same storage using NFS instead of blobfuse does mount the symlinks.
Mounting another storage with HNS-disabled storage account using
type: block
does mount symlinksHave you found a mitigation/solution?
Not using blobfuse.
Please share logs if available.
The mount is successful so there is no error log, but the symlinks don't work.
The text was updated successfully, but these errors were encountered: