-
Notifications
You must be signed in to change notification settings - Fork 7
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
Make backend filesystems available from client machines #77
Conversation
0a51d8e
to
c442e00
Compare
96cfbb2
to
0198f17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK - Looks promising. Will open more options for the testing environment.
Once these changes have been committed, we make changes to the way the exports are listed in test-info.yml for the client machines to consume.
Signed-off-by: Xavi Hernandez <[email protected]>
Previously, for VFS shares, the backend filesystem was not always mounted. Now it's always present inside /mnt. Signed-off-by: Xavi Hernandez <[email protected]>
Signed-off-by: Xavi Hernandez <[email protected]>
Signed-off-by: Xavi Hernandez <[email protected]>
Signed-off-by: Xavi Hernandez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK - the second time (after I just commented and forgot to actually github ack it!)
This PR makes it possible to directly access the backend filesystem from the client machines bypassing Samba layer.
This is exclusively created for testing purposes since bypassing Samba will most probably cause problems (multiprotocol access is not supported yet), but it will simplify the implementation of some tests.
The backend filesystems are mounted inside /mnt/backends/, in a subdirectory with the same name as the samba share.
This is currently implemented using SSHFS, which doesn't support extended attributes, so there may be limitations on what can be done directly on the backend. If needed, this can be improved in the future by using an NFSv4 mount instead of SSHFS.