Skip to content
Advertisements

find out which device mapped with oracle asm disk

Step 1 :

 

[oracle@asmoracle ~]$ /etc/init.d/oracleasm listdisks

DISK1
DISK2
DISK3
DISK4

 

Step 2 :

[oracle@asmoracle ~]$ /etc/init.d/oracleasm querydisk -d DISK1
Disk “DISK1” is a valid ASM disk on device /dev/sdc1[8,33]

The device noted here is (8,33), so go to

 

[root@asmoracle dev]# ls -l sd*
brw-r—– 1 root disk 8, 0 Aug 18 08:39 sda
brw-r—– 1 root disk 8, 1 Aug 18 08:39 sda1
brw-r—– 1 root disk 8, 2 Aug 18 08:39 sda2
brw-r—– 1 root disk 8, 16 Aug 18 08:39 sdb
brw-r—– 1 root disk 8, 17 Aug 18 08:39 sdb1
brw-r—– 1 root disk 8, 32 Aug 18 08:39 sdc
brw-r—– 1 root disk 8, 33 Aug 18 08:39 sdc1 (its belong to this device)
brw-r—– 1 root disk 8, 48 Aug 18 08:39 sdd
brw-r—– 1 root disk 8, 49 Aug 18 08:39 sdd1
brw-r—– 1 root disk 8, 64 Aug 18 08:39 sde
brw-r—– 1 root disk 8, 65 Aug 18 08:39 sde1
brw-r—– 1 root disk 8, 80 Aug 18 08:39 sdf
brw-r—– 1 root disk 8, 81 Aug 18 08:39 sdf1

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: