Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ASM disk to PHYSICAL DISK (RAW slice)

3439544Apr 28 2017 — edited Apr 28 2017

Have an Oracle installation with ASM used to manage .

I am in need of defining the underlying RAW file system that the DB files reside on. I have issued the following command  “show parameter asm_diskstring" but, it points to the /dev/oracleasm/disks/* which contain files of BLOCK type.

This are not the REAL files. How do I itenfify the underlying RAW file system. I have suggested a query will this give me what I need :

[root@orcldb2 ~]# /etc/init.d/oracleasm querydisk DATA01

Disk "VOL1" is a valid ASM disk on device [8, 97]

[root@orcldb2 ~]# ls -l /dev | grep 8, | grep 97

brw-rw----   1 root disk 8,      81 Nov  4 13:02 sdg1

Output from :-

   asm_diskstring='/dev/oracleasm/disks/*'

SELECT NAME,PATH FROM v$asm_disk;

NAME PATH

-------------------- -------------------------

DATA01 ORCL:DATA01

DATA02 ORCL:DATA02

DATA06 ORCL:DATA06

So then ran the folowing :-

for i in `/etc/init.d/oracleasm listdisks`; do

  /etc/init.d/oracleasm querydisk -p $i; echo -e ""

done

Which returned the /dev/mapper/asmvg00-data01 etc.

But it turns out these contain BLOCK type files still. So the following reply was provided by the

infrastrucure on the way the disks are sliced up

"Our infrastructure is configured in a way the VMware presents a data store to the VM then we use Linux

volume management to provide the disks directly to ASM."

So how can 2 questions does ASMLib run on RedHat6.8  and how do I extract the REAl RAW file/LUN's from the ASM ?

Would really aprreciate some help here

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2017
Added on Apr 28 2017
13 comments
2,506 views