Configuring Export Settings on the Dataset
Add an NFS export configuration for the dataset.
Using the CLI
Use the oci dts nfs-dataset set-export command and required parameters to add an NFS export configuration for the dataset.
oci dts nfs-dataset set-export --name dataset_name --rw true --world true [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
For example:
oci dts nfs-dataset set-export --name nfs-ds-1 --rw true --world true
Settings NFS exports to dataset nfs-ds-1
{
"data": {
"datasetType": "NFS",
"name": "nfs-ds-1",
"nfsExportDetails": {
"exportConfigs": [
{
"hostname": null,
"ipAddress": null,
"readWrite": true,
"subnetMaskLength": null,
"world": true
}
]
},
"state": "INITIALIZED"
}
}
Here is another example of creating the export to give read/write access to a subnet:
oci dts nfs-dataset set-export --name nfs-ds-1 --ip 10.0.0.0 --subnet-mask-length 24 --rw true --world false
Settings NFS exports to dataset nfs-ds-1
{
"data": {
"datasetType": "NFS",
"name": "nfs-ds-1",
"nfsExportDetails": {
"exportConfigs": [
{
"hostname": null,
"ipAddress": "10.0.0.0",
"readWrite": true,
"subnetMaskLength": "24",
"world": false
}
]
},
"state": "INITIALIZED"
}
}