How to dump or extract a raw block from a file stored in ASM diskgroup
Last updated on JULY 19, 2011
Applies to:Oracle Server - Enterprise Edition - Version: 10.1.0.3 to 126.96.36.199 - Release: 10.1 to 11.2
Information in this document applies to any platform.
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.
$ dd if=<file name> of=<new file> bs=<block_size> skip=<block of interest> count=1
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms