Skip to content
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

Samba export #243

Open
aravindavk opened this issue Sep 15, 2022 · 2 comments
Open

Samba export #243

aravindavk opened this issue Sep 15, 2022 · 2 comments

Comments

@aravindavk
Copy link
Member

Add support for Samba exports.

@vatsa287
Copy link
Member

Accesing Kadalu Storage Pools on Samba (tested both on source & using packages on ubuntu 22.04)

  • Install kadalu-storage, samba, samba-vfs-modules smbclient
  • Create a Kadalu Storage Pool
  • Append below at EOF for /etc/samba/smb.conf
    [myshare]
       path = /
       vfs objects = glusterfs
       glusterfs: volume = pool1
       glusterfs: volfile_server = fc5f92df48f7:49252
       browseable = yes
       read only = yes
       guest ok = yes
    
    Where volume is name of storage-pool & volfile_server is name:port of any one of the volfile servers in kadalu-storage, which can be found through kadalu pool list --status --detail
  • Restart samba daemon
    systemctl restart smbd
    
  • Access kadalu-storage pool through samba client to check if it is good for export in Windows etc.
    smbclient //<samba-server-ip>/<shared-folder>
    
    Here:
    smbclient //fc5f92df48f7/myshare
    
    After logging in, the backend data should be available here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants