rmfileset

Removes one or more empty, detached filesets and optionally the files in the filesets, including any FlashCopy® images.

Read syntax diagramSkip visual syntax diagram
>>-rmfileset--+--------+--+---------+--+-----+------------------>
              +- -?----+  '- -quiet-'  '- -f-'
              +- -h----+
              '- -help-'

     .--------------.
     V              |
>--+---fileset_name-+-+----------------------------------------><
   '- - --------------'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–quiet
Turns off confirmation messages for this command.
–f
Forces the metadata server to delete any files and directories before removing the filesets.
fileset_name
Specifies the names of one or more filesets to remove.
Specifies that in single-shot command mode you want this command to receive from the input stream (stdin) the names of one or more filesets to remove.

Prerequisites

You must have Administrator privileges to use the command.

You must be logged in to the operating system on the engine hosting the master metadata server to run this command.

Description

Unless you specify the –f parameter, the fileset must be detached and empty before it can be deleted.

You cannot remove the ROOT fileset or a fileset that is reference by the active policy.

Example

Remove a fileset The following example removes the fileset named cnt_A:
sfscli> rmfileset cnt_A
Are you sure you want to delete Fileset cnt_A? [y/n] Y
Fileset cnt_a was removed successfully.

Parent topic: Administrative commands

Related tasks
Deleting a fileset

Related reference
autofilesetserver
attachfileset
chfileset
detachfileset
lsfileset
mkfileset
reportfilesetuse
setfilesetserver
statfileset

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2