LCTL-NODEMAP_DEL_IDMAP(8)

NAME
lctl-nodemap_del_idmap - delete an existing idmap from a nodemap

SYNOPSIS
lctl nodemap_del_idmap or
lctl nodemap del_idmap --name NODEMAP_NAME --idtype {uid|gid|projid} --idmap CLIENTID[-CLIENTID_END]:FSID[-FSID_END]

DESCRIPTION
nodemap_del_idmap deletes an idmap from a nodemap. Users or groups or projects in the nodemap with that ID will be squashed, if the trusted flag is not enabled.

OPTIONS

--name NODEMAP_NAME
    The name of the nodemap that this idmap should be deleted from.

--idtype {uid|gid|projid}
    Either "uid" or "gid" or "projid" depending on if it is a user or group or project ID mapping that is to be removed.

--idmap CLIENTID[-CLIENTID_END]:FSID[-FSID_END]
    The identity map to delete.

EXAMPLES
    # lctl nodemap_del_idmap --name remotesite --idtype uid --idmap 2001:1001
    # lctl nodemap_del_idmap --name remotesite --idtype gid --idmap 2002:1002
    # lctl nodemap_del_idmap --name remotesite --idtype projid --idmap 33:1
    # lctl nodemap_add_idmap --name othersite --idtype uid --idmap 0-999:9000

AVAILABILITY
lctl nodemap_del_idmap is part of the lustre(7) filesystem package since release 2.6.0

SEE ALSO
lustre(7), lctl-nodemap-activate(8), lctl-nodemap-add-idmap(8), lctl-nodemap-add-range(8), lctl-nodemap-del(8), lctl-nodemap-del-range(8), lctl-nodemap-modify(8) lctl-nodemap-new(8),