Skip to content
FreeCORE

Sharing Storage.

With FreeCORE Storage configured and backed up, it’s time to begin sharing data. There are several available sharing solutions, but we’ll look at the most common in this article. Choose a tab to get started with simple sharing examples:

Windows (SMB)

  • Dataset with Share Type set to SMB.
  • FreeCORE user accounts with Samba Authentication set.

Go to Storage › Pools and find the dataset to share. Click and Edit Permissions.

StoragePoolsEditACL
FIG 1 Editing SMB dataset permissions

Click SELECT AN ACL PRESET, open the dropdown, and choose OPEN. Click SAVE.

Go to Sharing › Windows Shares (SMB) and click ADD.

SMBShareAdd
FIG 2 Basic SMB Share Options

Only the Path and Name are initially required. The Path is the directory tree on FreeCORE that is shared using the SMB protocol. The Name forms part of the “full share path name” when SMB clients connect.

SharingSMBAddBasicExample
FIG 3 SMB Share Example

Click SUBMIT to save the configuration to Sharing › Windows Shares (SMB).

Go to Services and toggle SMB. Set Start Automatically when you want the share to become accessible immediately after FreeCORE boots.

On a Windows 10 system, open the File Browser.

WindowsFileBrowser
FIG 4 Windows 10 File Browser

In the navigation bar, enter \\ and the FreeCORE system name. When prompted, enter the FreeCORE user account credentials and begin browsing the dataset.

WindowsSMBShareConnected
FIG 5 Viewing the SMB Dataset

Unix-like (NFS)

  • FreeCORE dataset to share.
  • Client systems might require additional packages like nfs-common.

Go to Sharing › Unix Shares (NFS) and click ADD.

SharingNFSAdd
FIG 6 Creating a new NFS share

Use the file browser to select the dataset to be shared and click SUBMIT. When prompted, click ENABLE SERVICE to immediately begin sharing the dataset.

On a Unix-like system, open a command line. Enter showmount -e IPADDRESS, replacing IPADDRESS with your FreeCORE system address:

tmoore@ChimaeraPrime:~$ showmount -e 10.238.15.194
Export list for 10.238.15.194:
/mnt/pool1/testds (everyone)

Now make a local directory for the NFS mount:

tmoore@ChimaeraPrime:~$ sudo mkdir nfstemp/

Finally, mount the shared directory:

tmoore@ChimaeraPrime:~$ sudo mount -t nfs 10.238.15.194:/mnt/pool1/testds nfstemp/

From here, cd into the local directory and view or modify the files as needed.

Block Shares (iSCSI)

Block sharing is a complicated scenario that requires detailed configuration steps and knowledge of your network environment. A simple configuration is beyond the scope of this getting started guide, but detailed articles are available in iSCSI Shares.

With simple sharing done, FreeCORE is now installed, accessible, and able to receive or share data over your network. Now it is time to protect the FreeCORE storage by setting up data backups.