My Oracle Support Banner

How to Dump or Extract a Raw Block From a File Stored in an ASM Diskgroup (Doc ID 603962.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.1.0.3 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

To provide a simple mechanism to extract a particular block from a datafile stored in an ASM diskgroup. 

When database files are stored in file systems or raw devices, it is possible to use dd command to extract the particular block from the particular file.



When database files are stored in ASM, this is not possible because external tools like dd command can not be execute directly on the ASM files.  In addition, in order to extract the block using dd command, is required to identify the specific location on the disk where  the block  is located.  This requires running extra steps that make the procedure complex and exposed to errors.

The procedure can be used to extract blocks from any file stored in ASM.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Dump the Block from Default Mirror
 Dump the Block from Mirror Copies
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.