Dell Technologies ECS REST API

Search (SHIFT+S)




Add Exports

POST /object/nfs/exports

Creates an NFS export. Create a new NFS export and specify its parameters


Required Roles

This call has no restrictions.


Prerequisites

The following conditions must be met in order to call this operation.

  • Only authenticated users can create exports


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
object_nfs_export
id Represents the id of the export String
showBucketQuota If True, the hard quota on bucket (if set) wil be reported as the export size. If False, size of varray will be reported as export size. Boolean
path Represents the path of the export String
export-options     0-* Elements
host Represents the ip of the client. Use * to allow any client String
security Represents the security options for the host. This is comma(,) seperated list of security options for the export.

One of "r" or "rw" to specify if clients can read or readAndWrite to the export.

"authsys" to allow authSys/uid/gid type of authentication

"krb5" to allow kerberos authentication

"anonuid=user1@company.com" to specify that any client accessing the export gets mapped to user1@company.com object user.

"anongid=users" to specify that any client accessing the exports gets his group mapped to users

"root=user2@company.com" to specify that root user accessing the export gets mapped to user2@company.com object user.

e.g. rw,sys,krb5,anonuid=alice@company.com,anongid=users,root=bob@company.com

anonuid, anongid setting takes precedence over root_squash setting

String

Response Body

Response indicating success or failure of the create export operation