Previous Topic: MDSKSCAN CommandNext Topic: MOVE2SFS Command


MODIFY Command

Use the MODIFY command to change user space allocation in any SFS file pool in which the user ID is already enrolled.

MODIFY userid [blocks [filepool]] [("Options"]

Options:
[FILE [filename]]
[MSG | NOMSG]
[STACK [FIFO | LIFO]]
[FIFO]
[LIFO]

Note: Options can be entered in any order.

Authorizations

You must be the SFS manager for the user ID and you must be authorized to allocate space in the affected file pools, or you must be an SFS administrator.

Definitions

userid

Specifies the user ID whose allocation limits to modify.

[blocks [filepool]]

Specifies the number of 4K blocks to allocate to the user ID in the indicated file pool. (A user ID can be allocated space from only one user storage group in a file pool. CA VM:Director allocates the space from the correct user storage group.)

The number of blocks can be either an absolute value (no leading sign) or a value that is relative to the current allocation (a leading + to increase the current allocation; a leading ‑ to decrease the current allocation). An absolute value (for example, 800) changes the user allocation to that number of blocks. A relative value (for example, +500 or ‑500) increases or decreases the current allocation by that number of blocks.

The default for filepool is your default file pool as defined in CA VM:Director.

[FILE [filename]]
[MSG | NOMSG]
[STACK [FIFO | LIFO]]
[FIFO]
[LIFO]

These options are explained in Common API Command Options.

Description

If you increase a user allocation, CA VM:Director checks that the allocation does not exceed your allocation limit in the affected user storage group, and that it does not exceed the user storage group’s own allocation limit. If it does, the request fails. For instance, if a particular SFS manager can only allocate 200 more blocks in a certain user storage group and you try to increase an allocation of 500 blocks to 800 blocks, your request will fail. Similarly, if there are only 150 blocks remaining to be allocated in a user storage group and you try to increase an allocation of 500 blocks to 800 blocks, your request will fail.

If you decrease a user allocation, CA VM:Director checks that the user still has enough space for the current data. If not, the request fails. For instance, suppose a user allocation is 800 blocks and 650 of those blocks are in use. If you try to decrease the allocation to 600 blocks, the request will fail.

You cannot enroll a user ID in a file pool through this command. If you want to enroll a user ID in a file pool, use the ENROLL command.

Return Codes and Error Messages

The following table lists return codes and error messages for the MODIFY command.

MODIFY Command: Return Codes and Error Messages

The following table describes the return code:

Return Code

Message Number

Text

18

0018E

INVALID OPTION option

99

0099I

command COMMAND CANCELED

7003

7003E

SFS ERROR REASON CODE code DURING operation FOR userid filepoolid

7012

7012E

serverid NOT AUTHORIZED IN FILE POOL filepoolid

7014

7014E

FILEPOOL NAME filepoolid is INVALID

7016

7016E

INVALID NUMBER OF BLOCKS blocksreq

7017

7017E

INVALID STORAGE GROUP NUMBER sgreq

7022

7022E

YOU ARE NOT AUTHORIZED TO MANAGE userid IN filepoolid

7023

7023E

INCOMPATIBLE ENTRIES field1 field2

7024

7024E

YOU ARE NOT AUTHORIZED TO MANAGE THIS USERID

7025

7025E

userid NOT YET ENROLLED in filepoolid

7026

7026E

NO CHANGE SPECIFIED FOR userid

7027

7027E

ERROR nn DURING MODIFY PROCESSING FOR userid

7065

7065E

FILE POOL filepoolid NOT RESPONDING TO REQUESTS

7066

7066E

userid NOT ENROLLED, LIMITS EXCEEDED FOR filepoolid STORAGE GROUP nn

7082

7082E

REQUIRED FIELD fieldname NOT PROVIDED

7083

7083E

FILESPACE ALLOCATION FOR userid NOW xx BLOCKS, yy(zz%) IN USE

7121

7121E

STORAGE GROUP MARKED ** IS THE DEFAULT FOR ENROLLMENT

7122

7122E

REMOVE AUTHORITY REQUEST CANCELLED

7131

7131E

YOU ARE TRYING TO DELETE TOO MUCH STORAGE FOR userid

Examples

Note: