Includes or excludes a drive group from a Storage Domain.
drive_group ‑modify 
   { ‑driveGroup drive‑group‑id‑or‑fqn [,drive‑group‑id‑or‑fqn]...
       { ‑includeInStorageDomain storage‑domain‑id‑or‑fqn
             [{‑rebalanceVolumes | ‑noRebalanceVolumes}]
       | ‑excludeFromStorageDomain
             [‑priority {default | maximumSpeed | minimumImpact}]
       }
   | ‑cancelExcludeFromStorageDomain storage‑domain‑id‑or‑fqn
   }
   [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}]
   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 
         Only administrators with primary administrator or admin1 roles are authorized to run this command.
Terminates the drive group exclusion operations that are currently processing. Resets the storage domain to the state that it was in before the drive group exclusion command was initiated.
Specifies the fully qualified name (FQN) or unique identifier (ID) of one or more drive groups. When a Drive Enclosure is added to the Oracle FS System, the system automatically allocates the storage by generating one or more drive groups. The drive_group ‑list command displays the names of all drive groups that are defined on the Oracle FS System. The FQN consists of the name that the system generates preceded by a forward slash (/) character.
Migrates the data volumes from the drives in the drive group onto other storage in the Storage Domain. Use with the ‑priority option to specify the priority of the background processes that perform the exclusion.
Includes the specified drive group in the Storage Domain. You can specify that the Oracle FS System rebalance the volumes across all drive groups in the Storage Domain. Not rebalancing the volumes is the default.
Specifies that the existing logical volumes are not rebalanced after one or more drive groups are added to a Storage Domain. This action is the default.
Rebalances the existing volumes that reside on all of the drive groups in the Storage Domain after adding one or more drive groups to the Storage Domain.
The following global options can be used for fully formed fscli commands:
The command completes successfully.
The command returns with an error.
The session times out.
Inspects the validity of the command syntax, not the semantics. Used to test the structure of a command without running the command. Does not determine whether errors would be produced if you issue a structurally correct command with the input provided.
Directs the CLI to prompt you to supply a session key when you issue the command. The CLI displays Sessionkey: as the prompt. To obtain a session key, log in with the ‑returnKey option specified. After the session is established, the session key is displayed in STDOUT. If you request a session key, the ‑sessionkey option is required syntax for all commands that are issued in a given session. In environments with more than one Oracle FS System, the session key is used to determine to which Oracle FS System to direct the command for validation. Session keys are also used to establish two or more CLI sessions when using a shared administrator account.
Add the specified drive group to the specified storage domain without rebalancing the data volumes.
The fully qualified name (FQN) of the drive group: /ENCLOSURE01-DG001
The fully qualified name (FQN) of the storage domain: /OracleDatabase12c
$ fscli drive_group ‑modify ‑driveGroup /ENCLOSURE-1‑DG001 ‑includeInStorageDomain /OracleDatabase12c