Oracle Automatic Storage Management -2

Hi Guys,

In this article I will continue to explain Oracle Automatic Storage Management. Before reading this article, I suggest you read the previous article. “Oracle Automatic Storage Management -1


When the Oracle ASM is used, the concept of Disk group enters our lives. As the name implies, we store our data in Disk Groups where one or more disks come together instead of a single disk.

As mentioned in the previous article, the ASM instance is different from the Oracle Database instances. When we query the smon process as follows, “+ ASM” instance is listed as an instance.

To connect to ASM Instances we create an ASM Instance profile:

After creating as above, we can set the profile as follows and we can now connect to ASM:

asmcmd is a tool that we perform and monitor many disk operations.

We can connect and see disk groups and sizes, free spaces etc with LSDG as follows:

We can also connect to ASM instances with “sqlplus / as sysasm” command and perform similar operations with queries.

You can add and remove disks to the ASM disk groups as follows.

First set the ASM profile:

Then we are connecting to the ASM Instance with the command “sqlplus / as sysasm”.

Run the following query to see disk groups in here:

If an ASM Disk has been mapped to the operating system(this is a storage-side operation.), they will appear in the following query. HEADER_STATUS = CANDIDATE are disks that could not be added.

Disks with HEADER_STATUS value CANDIDATE are disks that are not mapped to the operating system.

If you re-create a diskgroup you can use the following commands:

If we created a new diskgroup on a 2-node RAC system, we should not forget to mount the diskgroup on the second node.

Add the /dev/rhdisk12 disk to the RECO disk group:

We give the parallelism value of the rebalance operation and increase the speed of REBALANCE with the POWER parameter.

Set to 10 on busy systems can decrease performance in your databases.

If this parameter is not given, it takes the value of the ASM_POWER_LIMIT parameter by default.. ASM_POWER_LIMIT can take values from 0-11. The rebalance status can be monitored from the V$ASM_OPERATION view.

If this parameter is not given, it takes the value of the ASM_POWER_LIMIT parameter by default.

Apart from ASMCMD and sqlplus, you can also see disk groups and add and remove disk with asmca.

Add a disk with asmca:

A disk in the ASM disk group can be dropped as follows:

If the RAC is a database, all nodes should be checked and the same status should be seen in other nodes.

Drop a disk with asmca:


Mehmet Salih Deveci

I am Founder of IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için a mail atabilirsiniz.

3 thoughts on “Oracle Automatic Storage Management -2

  • May 7, 2019 at 9:05 am

    I appreciate, cause I found exactly what I was looking for. You have ended my four day long hunt! God Bless you man. Have a great day. Bye

  • May 12, 2019 at 4:45 am

    I needed to thank you for this very good read!! I absolutely loved every little bit of it. I have got you saved as a favorite to check out new stuff you post…|


Leave a Reply

Your email address will not be published. Required fields are marked *