LCTL-NODEMAP_FILESET_DEL(8)

NAME
lctl-nodemap_fileset_del - delete filesets from a nodemap

SYNOPSIS
lctl nodemap_fileset_del or
lctl nodemap fileset_del --name NODEMAP_NAME [--all] [--fileset SUBDIRECTORY]

DESCRIPTION
nodemap_fileset_del deletes all filesets or a specific fileset by its SUBDIRECTORY path from a nodemap, specified by its NODEMAP_NAME. The SUBDIRECTORY represents a relative path from the root of the Lustre file system. This operation can delete both primary and alternate filesets.

OPTIONS

-n, --name NODEMAP_NAME
    The name of the nodemap that one or all fileset should be deleted from.

-f, --fileset SUBDIRECTORY
    The fileset to be deleted specified by its path.

--all
    Indicates that all filesets should be deleted for a given nodemap. Alternatively, --fileset '*' can be used instead for the same effect. This option is mutually exclusive with --fileset.

EXAMPLES
Delete two different filesets from two different nodemaps:
    # lctl nodemap_fileset_del --name tenant1 --fileset '/dir1'
    # lctl nodemap_fileset_del --name tenant2 --fileset '/dir2'

Delete all filesets from a given nodemap:
    # lctl nodemap_fileset_del --name tenant1 --all
    # lctl nodemap_fileset_del --name tenant2 --fileset '*'

AVAILABILITY
lctl nodemap_fileset_del is part of the lustre(7) filesystem package since release 2.17.0.

SEE ALSO
lustre(7), lctl-nodemap-fileset-add(8), lctl-nodemap-fileset-modify(8), lctl-nodemap-new(8),