setdefaultpool

Changes a user storage pool to the default storage pool, and changes the previous default storage pool to a regular, nondefault user storage pool.

Read syntax diagramSkip visual syntax diagram
>>-setdefaultpool--+----------+--+-----------+--+-pool_name-+--><
                   +- –?----+  '- –quiet-'  '- – -----'
                   +- –h----+
                   '- –help-'

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.
pool_name
Specifies the name of the storage pool to set as the default.
Specifies that you want to read the name of the storage pool to set as the default from stdin (for example, – << /work/stgpool_list.txt).

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

You cannot change the system storage pool using this command.

To disable the use of the default storage pool and make the current default storage pool a regular user storage pool, you can use the disabledefaultpool command.

Example

Set the default storage pool The following example changes the storage pool named default_stgpool to be the new default storage pool:
sfscli> setdefaultpool default_stgpool
Are you sure you want to set default_stgpool as the default pool? [y/n] Y
Pool default_stgpool is now the DEFAULT pool.

Parent topic: Administrative commands

Related reference
disabledefaultpool
chpool
lspool
mkpool
rmpool

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.