How To Resize ASM Disks in Exadata (Doc ID 1684112.1)
How To Resize ASM Disks in Exadata (Doc ID 1684112.1)
PowerView is Off Last Login: February 27, 2021 12:51 PM UZT Umer (Available) (1) Contact Us Help
Give Feedback... You have been directed to this document based on an ID match. Alternatively, click here to search on this phrase. Hide
Copyright (c) 2021, Oracle. All rights reserved. Oracle Confidential.
Goal Yes
No
Solution
Free up space on celldisks
Document Details
Reduce size of RECO disks in ASM
Reduce size of RECO disks in storage cells
Type:
Increase size of DATA disks in storage cells HOWTO
Status:
PUBLISHED
Increase size of DATA disks in ASM Last Major
Update: Aug 4, 2018
Conclusion Last Aug 20, 2020
Update: English
References
Language:
Related Products
APPLIES TO: Oracle Cloud Infrastructure -
Database Service
Oracle Database Exadata
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.1 [Release 11.2 to 12.1] Express Cloud Service
Oracle Database Cloud Schema Service - Version N/A and later Oracle Database Backup
Oracle Database Exadata Cloud Machine - Version N/A and later Service
Oracle Cloud Infrastructure - Database Service - Version N/A and later Oracle Database Cloud Exadata
Service
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Service
Information in this document applies to any platform. Show More
We start with the RECO griddisks with the size of 316.6875 GB: When Will the Rebalance
Complete [1477905.1]
# cellcli -e "list griddisk where name like 'RECO.*' attributes name, size" Bug 19695225 - Running Many
RECO_CD_00_exacell01 316.6875G Create or Alter Griddisk
RECO_CD_01_exacell01 316.6875G Commands Over Time Causes
RECO_CD_02_exacell01 316.6875G Cell Disk Metadata Corruption
... (ORA-600
[addNewSegmentsToGDisk_2])
and Loss of Cell Disk Content
To free up 88 GB, the new griddisks size will be 316.6875 GB - 88 GB = 228.6875 GB = 234176 MB.
[1991445.1]
1 of 4 27/02/2021, 5:18 pm
Document 1684112.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=54...
SQL> alter diskgroup RECO resize all size 234176M rebalance power 32; Exadata Database Machine and
Exadata Storage Server
Diskgroup altered. Supported Versions [888828.1]
Oracle Linux: ExaData DB Node
SQL> Reboots with stack: "Rcu_sched
Detected Stalls On CPUs/tasks:
Rds_send_remove_from_sock+"
The command will trigger the rebalance operation for disk group RECO. [2667184.1]
How To Collect Sosreport on
Monitor the rebalance with the following command: Oracle Linux [1500235.1]
Show More
SQL> select * from gv$asm_operation;
Once the command returns "no rows selected", the rebalance would have completed and all disks in disk group RECO should
show new size.
SQL> select name, total_mb from v$asm_disk_stat where name like 'RECO%';
NAME TOTAL_MB
---------------------- --------
RECO_CD_11_EXACELL01 234176
RECO_CD_10_EXACELL01 234176
RECO_CD_09_EXACELL01 234176
...
RECOC1_CD_03_EXACELL03 234176
36 rows selected.
SQL>
Resize the RECO griddisks on all storage cells. On storage cell 1, the command would be:
Now we have some free space on celldisks (show here on storage cell 1):
# cellcli -e "list celldisk where name like 'CD.*' attributes name, size, freespace"
We can now increase the size of DATA griddisks, and then increase all disks size of disk group DATA in ASM.
# cellcli -e "list griddisk where name like 'DATA.*' attributes name, size"
DATA_CD_00_exacell01 212G
DATA_CD_01_exacell01 212G
DATA_CD_02_exacell01 212G
...
Resize the DATA griddisks on all storage cells. On storage cell 1, the command would be:
2 of 4 27/02/2021, 5:18 pm
Document 1684112.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=54...
# cellcli -e "list griddisk where name like 'DATA.*' attributes name, size"
DATA_CD_00_exacell01 300G
DATA_CD_01_exacell01 300G
DATA_CD_02_exacell01 300G
...
Increase the size of all disks in disk group DATA, with the following command:
$ sqlplus / as sysasm
Diskgroup altered.
SQL>
Note that there was no need to specify the new disks size, as ASM will get that from the griddisks. The rebalance clause is
optional.
The command will trigger the rebalance operation for disk group DATA.
Once the command returns "no rows selected", the rebalance would have completed and all disks in disk group DATA should
show new size:
SQL> select name, total_mb/1024 "GB" from v$asm_disk_stat where name like 'DATA%';
NAME GB
------------------------------ ----------
DATA_CD_02_EXACELL01 300
DATA_CD_09_EXACELL01 300
DATA_CD_07_EXACELL01 300
...
DATA_CD_06_EXACELL03 300
36 rows selected.
SQL>
Conclusion
If there is free space in Exadata cell disks, increasing the disk group size can be accomplished in two steps - griddisk size
increase on all storage cells followed by the disk size increase in ASM. This requires a single ASM rebalance operation. If there is
no free space in celldisks, some space may be freed up from other disk group(s) as shown in the example.
Note that reducing starts with reducing the disks size in ASM, followed by reducing the griddisks size. The increase starts with the
griddisks size increase, followed by increasing the disks size in ASM.
REFERENCES
NOTE:1465230.1 - Resizing Grid Disks in Exadata: Example of Recreating RECO Grid Disks in a Rolling Manner
NOTE:1477905.1 - When Will the Rebalance Complete
Related
Products
Oracle Cloud > Oracle Platform Cloud > Oracle Cloud Infrastructure - Database Service > Oracle Cloud Infrastructure - Database Service
3 of 4 27/02/2021, 5:18 pm
Document 1684112.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=54...
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Exadata Express Cloud Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Backup Service > Oracle Database Backup Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Exadata Service
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Service
Oracle Database Products > Oracle Database Suite > Oracle Database > Oracle Database - Enterprise Edition > STORAGE
Oracle Cloud > Oracle Platform Cloud > Oracle Database Cloud Service > Oracle Database Cloud Schema Service
Oracle Cloud > Oracle Infrastructure Cloud > Oracle Cloud at Customer > Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine)
Keywords
ASM; CELLCLI; DISK; DISKGROUP; EXADATA; FREE SPACE; GRID; GRIDDISK; INFRASTRUCTURE; RACK; REBALANCE; RESIZE; STORAGE; SYSASM
Translations
English Source Chinese 简体中文 Japanese 日本語
Back to Top
Copyright (c) 2021, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
4 of 4 27/02/2021, 5:18 pm