This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CLI
No Format
maprcli volume create -name p1 -path /p1
maprcli volume create -name p1.c1 -inherit p1
maprcli volume create -name p1.c2 -path /p1/c2 -inherit p1
maprcli volume create -name p1.c3 -path /p1/c3
REST
No Format
https://10.10.82.26:8443/rest/volume/create?name=p1?&path=%2Fp1
https://10.10.82.26:8443/rest/volume/create?name=p1.c1?&inherit=p1
https://10.10.82.26:8443/rest/volume/create?name=p1.c2?&path=%2Fp1%2Fc2?inherit=p1
https://10.10.82.26:8443/rest/volume/create?name=p1.c3?&path=%2Fp1%2Fc3

In the following example, the p1.child volume normally inherits from the p1 parent volume properties because p1.child is mounted under p1 and allowgrant option is set to true on the parent volume. However, if the child volume doesn't want to inherit properties, then set the allowinherit option to false (default: true).

...

CLI
No Format
maprcli volume create -name p1 -path /p1 -allowgrant true
maprcli volume create -name p1.child -path /p1/p1.child -allowinherit false
REST
No Format
https://10.10.82.26:8443/rest/volume/create?name=p1?&path=%2Fp1?&allowgrant=true
https://10.10.82.26:8443/rest/volume/create?name=p1.child?&path=%2Fp1%2Fp1.child?&allowinherit=false


Create a volume with namespace container replicas

CLI
No Format
maprcli volume create -name testVol -nsminreplication 1 -nsreplication 2
REST
No Format
https://10.10.82.26:8443/rest/volume/create?name=testVol?&nsminreplication=1?&nsreplication=2