Where partitions asm disks ?

16 Oct

Setelah lama install oracle 11g RAC, kadang – kadang kelupaan dimana ya letak partisi ASM disimpan di harddisk mana ?, di fdisk nggak kelihatan scanddisk juga nggak dapat, berikut tips untuk mengingatkan kembali letak asm disks

1. scandisks Oracleasm
[root@rac1 ~]# /etc/init.d/oracleasm scandisks
Scanning system for ASM disks: [ OK ]

2. listdisks Oracleasm
[root@rac1 ~]# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3

3. querydisk Oracleasm
[root@rac1 ~]# /etc/init.d/oracleasm querydisk VOL1
Disk “VOL1” is a valid ASM disk on device [8, 33]
[root@rac1 ~]# /etc/init.d/oracleasm querydisk VOL2
Disk “VOL2” is a valid ASM disk on device [8, 49]
[root@rac1 ~]# /etc/init.d/oracleasm querydisk VOL3
Disk “VOL3” is a valid ASM disk on device [8, 81]

4. list partition ?
[root@rac1 ~]# grep “8 33” /proc/partitions
8 33 524281243 sdc1
[root@rac1 ~]# grep “8 49” /proc/partitions
8 49 5238597 sdd1
[root@rac1 ~]# grep “8 81” /proc/partitions
8 81 1571669 sdf1

summary :
VOL1 /dev/sdc1
VOL2 /dev/sdd1
VOL3 /dev/sdf1

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: