MapR 5.0 Documentation : volume link remove


Removes the specified symbolic link. Permissions required: fc or m on the volume


Syntax

CLI

maprcli volume link remove
    -path <path>
    [ -cluster <clustername> ]

REST

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

Parameters



Parameter

Description

path

The symbolic link to remove. The path parameter specifies the link path and other information about the symbolic link, using the following syntax:
/link/[maprfs::][volume::]<volume type>::<volume name>

  • link - the symbolic link path
    *maprfs - a keyword to indicate a special MapR-FS link
  • volume - a keyword to indicate a link to a volume
  • volume type - writeable or mirror
  • volume name - the name of the volume
    Example:
    /abc/maprfs::mirror::abc

clustername

The cluster name.

Examples

Remove the link /abc:

CLI

maprcli volume link remove -path /abc/maprfs::mirror::abc

REST

https://r1n1.sj.us:8443/rest/volume/link/remove?path=/abc/maprfs::mirror::abc