Use the DELETE FILESPACE command to delete file spaces from the server. Files that belong to the specified file space are deleted from primary and copy storage pools.
Use the DELETE FILESPACE command to:
The DELETE FILESPACE command creates a server process that deletes one or more file spaces as a series of batch database transactions, thus preventing a rollback or commit for an entire file space as a single action. If the DELETE FILESPACE process is canceled or if a system failure occurs, a partial deletion can occur. In this case, a subsequent DELETE FILESPACE command for the same node or owner can delete the remaining data.
Privilege Class
To issue this command, you must have system privilege, unrestricted policy privilege, or restricted policy privilege for the policy domain to which the client node is assigned.
Syntax
>>-DELete FIlespace--nodename--filespacename--------------------> .-Type--=--ANY---------------. .-Wait--=--No-------. >---+----------------------------+--+-------------------+-------> '-Type--=--+-ANY----------+--' '-Wait--=--+-No--+--' +-Backup-------+ '-Yes-' +-ARchive------+ +-SPacemanaged-+ '-Server-------' >----+----------------------+---------------------------------->< '-OWNer--=--ownername--'
Parameters
This name is case-sensitive. It must be entered exactly as it is known to the server. To determine the correct capitalization for the file space to be deleted, use the QUERY FILESPACE command.
You can use a pattern-matching expression to specify this name. All matching file space names are included.
To delete space-managed files (files migrated from HSM client nodes), you must specify TYPE=SPACEMANAGED.
To delete files archived on the target server, you must specify TYPE=SERVER.
If you specify DELETE FILESPACE nodename * TYPE=ANY, all backed-up and archived files in all file spaces for that node will be deleted. File spaces will only be deleted if they do not contain files migrated from an HSM client.
Note: | You cannot specify Wait=Yes from the server console. |
Examples
Task 1
Delete the file space named C_Drive that belongs to the client node HTANG.
Task 2
Delete all files migrated from client node APOLLO (that is, all space-managed files).
Related Commands
Table 75. Commands Related to DELETE FILESPACE
Command | Description |
---|---|
CANCEL PROCESS | Cancels a background server process. |
QUERY ACTLOG | Searches for and displays messages from the server activity log. |
QUERY FILESPACE | Displays information about data in one or more filespaces that belong to a client. |
QUERY OCCUPANCY | Displays file space information by storage pool. |
QUERY PROCESS | Displays information about one or all background server processes. |
REMOVE NODE | Removes a client from the list of registered nodes for a specific policy domain. |
RENAME FILESPACE | Renames a client filespace on the server. |