LCTL-NODEMAP_SET_FILESET(8)

NAME
lctl-nodemap_set_fileset - add a fileset to a nodemap

SYNOPSIS
[[deprecated]] lctl nodemap_set_fileset or
[[deprecated]] lctl nodemap set_fileset --name NODEMAP --fileset SUBDIRECTORY

DESCRIPTION
Note: Since Lustre 2.16.56, this command is deprecated and only affects the primary fileset. It is likely to disappear altogether in a future Lustre release. Adding and deleting filesets should now be handled by lctl nodemap_fileset_{add/del} , respectively.

nodemap_set_fileset adds FILESET to the specified NODEMAP. The SUBDIRECTORY must begin with '/'. Clients belonging to NODEMAP will be automatically presented the corresponding SUBDIRECTORY when mounting. This means these clients are doing an implicit subdirectory mount on the subdirectory represented by the defined SUBDIRECTORY.

OPTIONS

--name NODEMAP
    The name of the nodemap that this fileset should be associated with.

--fileset SUBDIRECTORY
    The fileset to restrict the clients to. The fileset must begin with '/'.

EXAMPLES
Set and remove a fileset to nodemaps:
    # lctl nodemap_set_fileset --name tenant1 --fileset '/dir1'
    # lctl nodemap_set_fileset --name admins --fileset ''

AVAILABILITY
lctl nodemap_set_fileset is part of the lustre(7) filesystem package since release 2.9.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-idmap(8), lctl-nodemap-del-range(8), lctl-nodemap-fileset-add(8), lctl-nodemap-fileset-del(8), lctl-nodemap-modify(8) lctl-nodemap-new(8),