The File Fabric provides a Linux cloud drive that can be mounted on a file system and then used as a normal drive. Samba allows file and print sharing between computers running Windows and computers running Unix. Samba sets up network shares for chosen Unix directories (including all contained subdirectories). These appear to Microsoft Windows users as normal Windows folders accessible via the network.
A File Fabric Cloud Drive can be set up as a shared drive on a Linux file server allowing you to share it amongst many users on your network. This is useful if you want to share cloud resources from a single user account across many users.
Here is a step by step guide to configuring Samba and the File Fabric Linux drive. First, make sure you have installed Samba. Samba is included with most of the Linux distributions. For this we are using CentOS 5.5.
1. Make a backup of your /etc/samba/smb.conf file and then edit the smb.conf file (Make sure the workgroup is the same as the workgroup windows machines belong to.). It should have the following:
workgroup = WORKGROUP
encrypt passwords = yes
comment = smedrive mount
path = /export/sme
read only = no
For further information on Samba configuration file please see http://www.samba.org/samba/docs/using_samba/ch06.html
2. The File Fabric Linux drive uses the open-source Fuse code and the out-of-the-box settings do not allow sharing in this manner. Therefore we need to create a file /etc/fuse.conf with the following one line content and after we do that the machine needs to be rebooted for it to take effect.
For further information on Fuse please see http://sourceforge.net/apps/mediawiki/fuse/index.php?title=Fuse.conf
3. Create the directory where we will mount the drive:
# mkdir -p /export/sme
# chmod 1777 /export/sme
4. Add linux and samba users:
# groupadd smeuser
# useradd -m -n -ppassword -gsmeuser smeuser
# smbpasswd -a smeuser
New SMB password:
Retype new SMB password:
Added user smeuser.
5. In the File Fabric Client select File →Advanced and check share your drive check box. Mount the the File Fabric Linux drive make sure the mount folder is /export/sme. By default the File Fabric drive mounts with the “allow_other” option enabled.
6. Start the samba services
# service smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
7. Test the samba services.
8. If everything has gone correctly so far you can now mount the shared drive in windows and from the Finder in Mac OSX (using ‘Connect to Server->Go’) and any platform that supports SMB protocol
For windows make sure the workgroup is the same as defined in smb.conf file and you can ping the Linux machine.
9) Open a command prompt and run the command
net use t: file://localhost/smb/::172.16.195.161:smedrive /user:smeuser password
10. Open explorer you will see the drive appear in explorer
Latest posts by Storage Made Easy (see all)
- File Fabric File Encryption Update - May 23, 2022
- How to Obtain a Multi-Cloud Asset File Listing for the File Fabric - April 25, 2022