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

Skip to end of metadata
Go to start of metadata

Creates a link to a volume. Permissions required: fc or m on the volume.

Syntax

CLI

maprcli volume link create
    [ -cluster <clustername> ]
    -path <link path>
    -type <type>
    -volume <volume>

REST

http[s]://<host>:<port>/rest/volume/link/remove?<parameters>

Parameters

 

Parameter

Description

path

The -path parameter specifies the link path:
/link

Example:
/home/abc/.rw

type

The volume type: writeable or mirror.

volume

The volume name.

clustername

The cluster name.

Examples

Create a link to v1 at the path v1. mirror:

CLI

maprcli volume link create -volume v1 -type mirror -path /v1.mirror

REST

https://r1n1.sj.us:8443/rest/volume/link/create?path=/v1.mirror&type=mirror&volume=v1
  • No labels