LCTL-NODEMAP_ADD_IDMAP(8)

NAME
lctl-nodemap_add_idmap - define ID mappings for a nodemap

SYNOPSIS
lctl nodemap_add_idmap <--name name> <--idtype {uid|gid|projid}> <--idmap clientid:fsid>

DESCRIPTION
nodemap_add_idmap adds an identity mapping to a nodemap. Clients that are members of the given nodemap will have the identities of their users mapped accordingly.

OPTIONS
name is the name of the nodemap that this idmap should be added to. idtype is either "uid" or "gid" or "projid" depending on if it is a user ID or group ID or project ID that is to be mapped. idmap is the identity to map, and what it should be mapped to. The first digit is the ID of the user or group as it is on the client, and the second number is the ID that it should map to on the Lustre filesystem.

EXAMPLES
# lctl nodemap_add_idmap --name remotesite --idtype uid --idmap 2001:1001
# lctl nodemap_add_idmap --name remotesite --idtype gid --idmap 2002:1002
# lctl nodemap_add_idmap --name remotesite --idtype projid --idmap 33:1

AVAILABILITY
lctl is part of the Lustre(7) filesystem package.

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