Skip to content

Instantly share code, notes, and snippets.

@dincosman
Created September 25, 2022 16:34
Show Gist options
  • Select an option

  • Save dincosman/9d41fecc3640a8ce61287951d1a875bb to your computer and use it in GitHub Desktop.

Select an option

Save dincosman/9d41fecc3640a8ce61287951d1a875bb to your computer and use it in GitHub Desktop.
Drop and recreate commans for grid disks.
CellCLI> drop griddisk DATA_CD_00_exacel13
CellCLI> drop griddisk RECO_CD_00_exacel13
CellCLI> create griddisk DATA_CD_00_exacel13 CELLDISK=CD_00_exaybsmcel13,size=423G,offset=32M
CellCLI> create griddisk RECO_CD_00_exacel13 CELLDISK=CD_00_exaybsmcel13,size=105.6875G,offset=423.046875G
SYS@+ASM1> alter diskgroup DATA add disk 'o/192.168.31.21/DATA_CD_00_exacel13' rebalance power 10;
SYS@+ASM1> alter diskgroup RECO add disk 'o/192.168.31.21/RECO_CD_00_exacel13' rebalance power 10;
CellCLI> drop griddisk DATA_CD_11_exacel13
CellCLI> drop griddisk RECO_CD_11_exacel13
CellCLI> drop griddisk MORE_CD_11_exacel13
CellCLI> create griddisk DATA_CD_11_exacel13 CELLDISK=CD_11_exacel13,size=423G,offset=32M
CellCLI> create griddisk RECO_CD_11_exacel13 CELLDISK=CD_11_exacel13,size=105.6875G,offset=423.046875G
CellCLI> create griddisk MORE_CD_11_exacel13 CELLDISK=CD_11_exacel13,size=29.125G,offset=528.734375G
SYS@+ASM1> alter diskgroup DATA add disk 'o/192.168.31.21/DATA_CD_11_exacel13' rebalance power 10;
SYS@+ASM1> alter diskgroup RECO add disk 'o/192.168.31.21/RECO_CD_11_exacel13' rebalance power 10;
SYS@+ASM1> alter diskgroup MORE add disk 'o/192.168.31.21/MORE_CD_11_exacel13' rebalance power 10;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment