Creating or using a unified file and object access storage policy

Use the following steps to create or use a unified file and object access storage policy.

  1. Run the following command to create a unified file and object access storage policy (and create a fileset):
    mmobj policy create sof-policy1 --enable-file-access

    The system output displays as follows:

    [I] Getting latest configuration from ccr
    [I] Creating fileset gpfs0:obj_sof-policy1
    [I] Creating new unique index and building the object rings
    [I] Updating the configuration
    [I] Uploading the changed configuration
  2. List the available storage policies using the mmobj policy list command and determine which policies are for unified file and object access by viewing the Functions column of the output:
    mmobj policy list --verbose

    The system output displays as follows:

    Index       Name          Deprecated  Fileset           Fileset Path                        Functions                Function Details
    ------------------------------------------------------------------------------------------------------------------------------------
    0           SwiftDefault              object_fileset    /ibm/cesSharedRoot/object_fileset
    11751509160 sof-policy1               obj_sof-policy1   /ibm/cesSharedRoot/obj_sof-policy1  file-and-object-access   regions="1"
    11751509230 mysofpolicy               obj_mysofpolicy   /ibm/cesSharedRoot/obj_mysofpolicy  file-and-object-access   regions="1"
    11751510260 Test19                    obj_Test19        /ibm/cesSharedRoot/obj_Test19                                regions="1"
  3. Use one of these storage policies to create data in a unified file and object access environment.
You must create export at the container level. From NFS or SMB, if you create a peer container, base containers that are created from NFS and SMB cannot be multiprotocol.