Oracle Error ORA-15117: command only operates on one diskgroup

Oracle Error Message

ORA-15117: command only operates on one diskgroup

Reason for the Error

An ALTER DISKGROUP, CREATE DISKGROUP, or DROP DISKGROUP command specified a list of diskgroups or the keyword ALL in a context where only a single diskgroup was permitted.

Solution

Issue separate ALTER DISKGROUP, CREATE DISKGROUP, or DROP DISKGROUP commands to accomplish the desired action.