Resizing disks - ASM mulpath
Posted by satish on
URL: http://erman-arslan-s-oracle-forum.114.s1.nabble.com/Resizing-disks-ASM-mulpath-tp7113.html
Hi Erman,
we are using RAC and maultipathing
Our version 12.1.0.2
we have a planned activity of Resizing Of ASM Disks.Our storage administrator requested us to give the correct disk names,so that he can cross check before extending.
To get correct disks we looked into ASM as follows
select g.name
, d.path
, d.os_mb
, d.total_mb
from v$asm_diskgroup g
, v$asm_disk d
where g.group_number = d.group_number
and g.name = 'FRADG'
/
NAME PATH OS_MB TOTAL_MB
---------- --------------- ---------- ----------
FRADG ORCL:ARCHDISK1 102398 102396
FRADG ORCL:ARCHDISK5 102398 102396
FRADG ORCL:ARCHDISK4 102398 102396
FRADG ORCL:ARCHDISK3 102398 102396
FRADG ORCL:ARCHDISK2 102398 102396
SQL>
[gridprod@node1dev]$ ls -l /dev/oracleasm/disks/ARCH*
brw-rw---- 1 gridprod asmadmin 253, 69 Apr 23 2018 /dev/oracleasm/disks/ARCHDISK1
brw-rw---- 1 gridprod asmadmin 253, 76 Apr 23 2018 /dev/oracleasm/disks/ARCHDISK2
brw-rw---- 1 gridprod asmadmin 253, 75 Apr 23 2018 /dev/oracleasm/disks/ARCHDISK3
brw-rw---- 1 gridprod asmadmin 253, 77 Apr 23 2018 /dev/oracleasm/disks/ARCHDISK4
brw-rw---- 1 gridprod asmadmin 253, 78 Apr 23 2018 /dev/oracleasm/disks/ARCHDISK5
[gridprod@node1dev]$
This gives is the major and minor numbers for the disks – major number is 253 and minor numbers are 69,76,75,77,78
Then comparing these numbers against the devices listed in /dev/mapper and got the below output which is not clear to me
[gridprod@erpproddb1 dev]$ ls -l /dev/mapper/*ARCH*
lrwxrwxrwx 1 root root 8 Jun 22 2018 /dev/mapper/PRD-ARCH01 -> ../dm-19
lrwxrwxrwx 1 root root 8 Apr 23 2018 /dev/mapper/PRD-ARCH01p1 -> ../dm-69
lrwxrwxrwx 1 root root 8 Jun 22 2018 /dev/mapper/PRD-ARCH02 -> ../dm-17
lrwxrwxrwx 1 root root 8 Apr 23 2018 /dev/mapper/PRD-ARCH02p1 -> ../dm-76
lrwxrwxrwx 1 root root 8 Jun 22 2018 /dev/mapper/PRD-ARCH03 -> ../dm-20
lrwxrwxrwx 1 root root 8 Apr 23 2018 /dev/mapper/PRD-ARCH03p1 -> ../dm-75
lrwxrwxrwx 1 root root 8 Jun 22 2018 /dev/mapper/PRD-ARCH04 -> ../dm-21
lrwxrwxrwx 1 root root 8 Apr 23 2018 /dev/mapper/PRD-ARCH04p1 -> ../dm-77
lrwxrwxrwx 1 root root 8 Jun 22 2018 /dev/mapper/PRD-ARCH05 -> ../dm-22
lrwxrwxrwx 1 root root 8 Apr 23 2018 /dev/mapper/PRD-ARCH05p1 -> ../dm-78
[gridprod@node1dev]$
could you please help in getting the disknames to provide them to administrator
Thank you for the support