Create a bucket for NFS using the ECS Portal

You can use the ECS Portal to create a bucket configured for use with NFS.

Prerequisites

  • This operation requires the Namespace Administrator or System Administrator role in ECS.
  • If you are a Namespace Administrator, you can create buckets in your namespace.
  • If you are System Administrator, you can create a bucket belonging to any namespace.

About this task

The steps provided here focus on the configuration you need to perform to make a bucket suitable for use by NFS. The bucket that you create is an S3 bucket that is enabled for file system use.

Steps

  1. In the ECS Portal, select Manage > Buckets > New Bucket.
  2. On the New Bucket page, in the Name field, type a name for the bucket.
  3. In the Namespace field, select the namespace that the bucket belongs to.
  4. In the Replication Group field, select a replication group or leave blank to use the default replication group for the namespace.
  5. In the Bucket Owner field, type the name of the bucket owner.
  6. On the Required page, in the File System field, click On.
    Once file system access is enabled, the fields for setting a default group for the file system/bucket and for assigning group permissions for files and directories that are created in the bucket are available.
  7. In the Default Bucket Group field, type a name for the default bucket group.
    This group is the group that is associated with the NFS root file system and with any files or directories that are created in the NFS export. It enables users who are members of the group to access the NFS export and to access files and directories.
    This group must be specified at bucket creation. If it is not, the group would have to be assigned later from the NFS client.
  8. Set the default permissions for files and directories that are created in the bucket using the object protocol.
    These settings are used to apply UNIX group permissions to objects created using object protocols.
    The S3 protocol does not have the concept of groups. Thus there is no opportunity for setting group permissions in S3 and mapping them to UNIX permissions. Hence, this provides a one-off opportunity for a file or directory created using the S3 protocol to be assigned to the specified default group with the permissions specified here.
    1. Set the Group File Permissions by clicking the appropriate permission buttons.
      You normally set Read and Execute permissions.
    2. Set the Group Directory Permissions by clicking the appropriate permission buttons.
      You normally set Read and Execute permissions.
  9. In the CAS field, do not enable CAS.
    NOTE: A bucket that is intended for use as NFS cannot be used for CAS. The CAS field is disabled when the File System field is enabled.
  10. Enable any other bucket features that you require.
    You can enable any of the following features on an NFS bucket:
    • Quota
    • Server-side Encryption
    • Metadata Search
    • Access During Outage
    • Read-Only Access During Outage
    • Bucket Retention Period

    For information about these settings, see Bucket settings.

    NOTE: A bucket that is compliance-enabled cannot be written to using the NFS protocol. However, data that are written using object protocols can be read from NFS.
  11. Click Save to create the bucket.