Smb/Cifs Shared Resource Configuration; Add A Share (Standalone Server) - Dell DX6000 Deployment Manual

Dell dx object storage file gateway deployment guide
Hide thumbs Also See for DX6000:
Table of Contents

Advertisement

Dell DX Object Storage – File Gateway Deployment Guide
Administrators can configure the shared resources manually outside of the Dell-supported resources,
but it is without Dell support.
IMPORTANT:
CFS mounts created by cfs-admin cannot persistently store ownership and permission
settings. For example, when the owner and group of the /mnt/share_name resource is changed from
the default (root, root) and/or the permissions of the mount are changed from the default to some
other preferred security setting, the changes will not persist if the CFS resource is dismounted and
remounted. The original default settings will prevail. To work around this limitation, create a folder
(directory) inside the mount point that will become the root of the CIFS and/or NFS share. Ownership
and permission settings on that folder will remain persistent.

SMB/CIFS Shared Resource Configuration

Specific configuration requirements of SMB/CIFS shared resources on a CFS server depend on whether
the server is configured for local authentication or as a member server in an Microsoft Windows Active
Directory security context (domain).
BEFORE YOU BEGIN: Did you set up Stand-alone Server (Workgroup Authentication)?

Add a Share (Standalone Server)

IMPORTANT:
Make sure that the system is configured as Standalone Server. Do not continue with this
procedure if the system is not a Standalone Server.
1. Run the following command to open the /etc/samba/smb.conf file.
#vi /etc/samba/smb.conf
2. Add a share stanza to the file as shown here:
[share_name]
comment = Share1
path = /mnt/share_name/toplevel
read only = No
use sendfile = Yes
NOTE: Replace the share_name with an appropriate name. Dell recommends using the same
name as was used to create the CFS mounted resource. The toplevel directory must be created
within the CFS mount point because it creates the share-point for CIFS and NFS use.
3. Create the toplevel directory.
# mkdir –p /mnt/share_name/toplevel
4. Set file system ownership and group ownership for the user and group that will have write access to
the shared resource.
# chown –R myname:users /mnt/share_name/toplevel
# chmod –R ug+rw,o-rwx /mnt/share_name/toplevel
# find /mnt/share_name/toplevel –type d –exec chmod g+sx {} \;
Page 57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dx object storage

Table of Contents