From: Shanmugam, Satheesh B <>
Date: Wed, 21 Nov 2012 11:43:32 +0000
Message-ID: <>

Thanks for response. Let me try to explain what the issue here. We have ASM disk group created with LUNS from different SAN frame. Now as per our standard the diskgroup should have LUNs from same SAN frame. I was thinking getting LUN id will give me some clue. Anyone has better solution than this? Regards,
Satheesh Shanmugam

-----Original Message-----
From: GG [] Sent: Tuesday, November 20, 2012 9:07 PM To: Shanmugam, Satheesh B
Subject: Re: LUN ID

W dniu 2012-11-20 16:16, Shanmugam, Satheesh B pisze:
> We have created asm disk using asmlib and assigned to the diskgroups. This was done a while back. Is there a way now to get LUN ID of these disks? We are in linux running grid.
> Regards,
> Satheesh Shanmugam


Troubleshooting a multi-node ASMLib installation [ID 811457.1] On existing or freshly labelled systems, you can identify and verify the LUNs, scsi IDs and ASM volume labelling on each cluster node with the following command:

|#*blkid|grep sd.*oracleasm|while read a b;do echo -n $a$b" scsi_id=";(echo $a|tr -d [:digit:]|tr -d [:]|cut -d"/" -f3|xargs -i scsi_id -g -s /block/{})done;*|

above is one long line .

Output :
|root_at_rmvsx1:~ # blkid|grep sd.*oracleasm|while read a b;do echo -n $a$b" scsi_id=";(echo $a|tr -d [:digit:]|tr -d [:]|cut -d"/" -f3|xargs -i scsi_id -g -s /block/{})done;| |/dev/sda1:LABEL="DATA0" TYPE="oracleasm"

|/dev/sdb1:LABEL="DATA0" TYPE="oracleasm"


This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates.

This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.

Please refer to for disclosures relating to European legal entities.-- Received on Wed Nov 21 2012 - 12:43:32 CET

Original text of this message