detachfileset

Detaches one or more filesets from the global namespace.

Read syntax diagramSkip visual syntax diagram
>>-detachfileset--+--------+--+---------+--+------+------------->
                  +- -?----+  '- -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 continue the detach operation even if there are open files in the fileset and suppresses any warning messages.
fileset_name
Specifies the names of one or more filesets to detach.
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 detach.

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

The specified fileset must not have nested filesets. You must detach any nested filesets before detaching the fileset.

Unless you specify the –f parameter, there must not be any open files or any locks on files in the fileset.

The directory to which the fileset was attached is deleted after this operation is complete.

A Windows® client does not allow a detachfileset command without the -f parameter for 30 minutes if any file has been accessed in that fileset recently.

Example

Detaching a fileset The following example detaches the fileset named cnt_A:
sfscli> detachfileset cnt_A
Are you sure you want to detach fileset cnt_A? [y/n] Y
Fileset cnt_A  detached from directory sanfs/homes.

Parent topic: Administrative commands

Related tasks
Detaching a fileset

Related reference
autofilesetserver
attachfileset
chfileset
lsfileset
mkfileset
reportfilesetuse
rmfileset
setfilesetserver
statfileset

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