How to identify the ASM DiskGroup attached to which disks?

Hi guys,.

In RAC 11 GR 2, how to identify which ASM Diskgroup is attached to which disks... (OS is RHEL 5.4).

We could list ASM starts by,
*#oracleasm listdisks * but this command does not display the disks assigned to ASM DiskGroup.

Even for check location of OCR and voting disks only show Diskgroup name and not the actual discs.
$ocrcheck
$crsctl query css votedisk


(as in gr 10, 2 RAC, we entered /etc/rules.d/udev/60-raw-rules raw file mapping of the OCR, voting disk and other ASM Diskgroup)


Please help me, as long as the customer place, I could see LUN as assigned to the server and get is not an exact idea whose records have been used for OCR and voting disk DATA Diskgroup.


Thank you
Manish

And for this, you can use oracleasm querydisk. Using that you can identify which device marked for asm or not. for example you can see below the example.

[oracle@localhost init.d]$ sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 3 11:52:12 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select path from v$asm_disk;

PATH
--------------------------------------------------------------------------------
/dev/oracleasm/disks/VOL2
/dev/oracleasm/disks/VOL1

SQL> exit;

[oracle@localhost init.d]$ su
Password:
[root@localhost init.d]# /sbin/fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1305    10482381   83  Linux
/dev/sda2            1306        9401    65031120   83  Linux
/dev/sda3            9402        9662     2096482+  82  Linux swap / Solaris
/dev/sda4            9663        9726      514080    5  Extended
/dev/sda5            9663        9726      514048+  83  Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        4859    39029886   83  Linux
/dev/sdb2            4860        9729    39118275   83  Linux
[root@localhost init.d]# ./oracleasm querydisk /dev/sdb1
Device "/dev/sdb1" is marked an ASM disk with the label "VOL1"
[root@localhost init.d]# ./oracleasm querydisk /dev/sdb2
Device "/dev/sdb2" is marked an ASM disk with the label "VOL2"
[root@localhost init.d]# ./oracleasm querydisk /dev/sda1
Device "/dev/sda1" is not marked as an ASM disk
[root@localhost init.d]#

Also in windows:

C:\Documents and Settings\comp>asmtool -list
NTFS                             \Device\Harddisk0\Partition1           140655M
ORCLDISKDATA1                    \Device\Harddisk0\Partition2             4102M
ORCLDISKDATA2                    \Device\Harddisk0\Partition3             4102M
NTFS                             \Device\Harddisk0\Partition4           152617M

C:\Documents and Settings\comp>

answered by Alex.
Reference:-How to identify what disc rawdevice is named as VOL1 in ASM OS level

Happy new year.
Kind regards

Tags: Database

Similar Questions

  • Cannot create the ASM Diskgroup ORA 15020 and ORA-15018

    Hello team,

    Could not create the ASM diskgroup with the following error:

    SQL > create diskgroup redundancy data_asm1 external disk ' / dev/sdf *;

    create diskgroup redundancy data_asm1 external disk ' / dev/sdf. "

    *

    ERROR on line 1:

    ORA-15018: diskgroup cannot be created.

    ORA-15020: discovered in double disc ASM 'DATA_ASM1_0000 '.

    ASM Diskstring

    SQL > show parameter asm_diskstring

    VALUE OF TYPE NAME

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

    asm_diskstring string/dev/oracleasm/disks/DISK *, /dev / sd *

    Please let me know how to solve this problem

    Kind regards

    Hello

    check your disc diskgroup status grid +. display result

    1 res ora of $ crsctl State. GRID.dg or $ crsctl status res ora.grid.dg

    Note the distinction uppercase / lowercase of the crs resource

    2. run below as a user of the grid. (necessary to set SID = + ASM? If not already preset)

    ASMCMD > lsdg

    Tobi

  • How to stop the ASM

    How to stop the ASM 11 g, I have question smiler mentioned in the thread, I just want to know if this question or 11g feature.




    Unable to stop ASM 11 g R2

    Here, if your use of OCR in diskgroup in ASM, then no way to cpl using srvctl, you have to stop, the Group of cpl, This is reading, I got from oracle.

  • How can identify the real space in my SGPT123 Tablet?

    Hello

    How can identify the real space in my Xperia Tablet? I can see only 10.0 GB, if suppose has 16 GB, where's the rest?

    A space is medical, the Android operating system and recovery Partition.

  • C: drive is running out of space, even if I moved everything I could to the E: drive. How to identify the "space Eater"?

    I moved all my data to the other disk. I was installing new programs on the other disk. Yet, the space on drive C: (37 GB) keeps becoming 'used '. Free space now is 2%. How to identify the "space Monster" which takes more and more the training?

    37GB is size sorry for C:.  My minimum recommendation for everything that came out at the time of and after Windows Vista is 60 GB.

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

  • How iterate/identify the screens of the application stack

    Hi all

    1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.75
    2 opportunity BB JDE 4.7

    3. the request is:

    In my application I have screens showns one based on the click number, how can I display no matter which screen every time I required.i tell how fetch/identify the battery and display.

    Thanks in advance

    Ratna

    I donno what are your exact needs...

    If you want to load screens on selcting a menuitem from the GUI go to create menuItem.

    In the case depends on certain conditions of your application then just use

    try
      {
           UiApplication.getUiApplication().pushScreen(TestScreen);
      }
    
    catch(Exception e)
    {
    // PUSH screen fails because the screen was already pushed.
    // remove the screens from top of the required screen.
    while(UiApplication.getUiApplication().getActiveScreen() != TestScreen)
    
      {
         UiApplication.getUiApplication().popScreen();
      }
    }
    
  • How to identify the virtual copies (in my records) that have already been deleted a collection

    Hello!

    I keep looking for an answer to this anywhere on the web and 3 books, but can't find the answer...

    How to identify the virtual copies (in my records) that have already been deleted a collection?

    Here's the workflow, and where I'm stuck.

    1. I chose a picture and put it in a collection.

    2. I did a whole bunch of virtual photos in the collection copies that I tried different modifications.

    3. after and during a lot of changes, I have a lot of virtual copies removed from my collection because I decided against the changes after doing some comparisons.

    4. when I went the folders to select my next picture to work away and so to add to the collection, I discovered that each of my virtual copies was in the original folder, even if I had deleted from my collection.

    5. I really don't want these virtual copies deleted to be in my home folder.  They were virtual copies of trial and error and I wanted them to really just be thrown out.

    6. how to identify these virtual copies removed-from-the-collection in my folder?  File names all look the same, and besides, I want to be absolutely certain that I have selected the right ones.  Some of the changes were very minor and would be difficult to see without laboriously go through them one by one.

    Thank you very much!!

    Anne

    No easy answer on fixing the mess other than an individual inspection of the virtual copy can't watching the Images/Edit history to determine which ones that you no longer need.

    But to help prevent the problem in the future: when you are working from a collection, you must use ALT + return back to remove a copy of Photo or virtual catalog. With just the key DELETE or BACKSPACE only deletes the photo from the collection.

  • How to identify the iSCSI nodes?

    How to identify the iSCSI nodes?

    with IQN

  • How to identify the fonts used in text format?

    How to identify the fonts used in text format?

    Hi DSB.

    Open the document in Reader, go to the menu file-> properties, then click on the tag are. You will see a list of the fonts used in the document.

    Another option is to copy the text and paste it into MS Word, where you can simply move your mouse over the text to display the name of the font.

    Kind regards

    Nicos

  • How to identify the Protocol of network storage using PowerCli

    Hi all

    Does anyone know how to identify the network storage protocol using Powercli? If you do could you please point me in the right direction and appropriate controls to be used.

    Thank you.

    See you soon

    With the Get-EsxCli cmdlet, you get to many of the features esxcli.

    Something like that

    $esxcli = Get-EsxCli -VMHost MyEsx$esxcli.storage.core.path.list()
    

    You can use Select-Object to choose the specific properties of the returned objects.

    For example

    $esxcli = Get-EsxCli -VMHost MyEsx$esxcli.storage.core.path.list() | Select RuntimeName,Transport
    
  • How to identify the primary Parent of a shared node?

    We have a property that is set to Local defined, inherit,

    Suppose the 'Color' property and currently is the behavior in DRM

    Parent A - blue

    Child 1 - blue (inherited from Parent)

    Child 2 - color blue (inherited from Parent)

    Child 3-color blue (inherited from Parent)

    Parent B - Red

    Child 3 ~ part 1 - red color (inherited from Parent B)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    The customer has improved the requirement so that in the case of shared members 'color' is inherited from the primary parent like the example below.

    Parent B - Red

    Child 3 ~ action1 - blue (inherited from "Primary" Parent A)

    Child 4-color red (inherited from Parent B)

    Children 5 - red color (inherited from Parent B)

    I guess I'm going to need a new property like 'Primary colors' and I need to write a formula to calculate the color of base on the primary parent.  However, I do not know how to identify the "main Parent" a shared node we use version 11.1.1.2 N-Tier

    I'm looking for suggestions on how to calculate the value of the property you want.

    Any help will be greatly appreciated.

    Hello

    You can create a new property derived like u said and use instead of the property defined in your exports or anywhere where you have to refer to the color. The property set can be used just to take the user input.

    The new derived property should be a logic like that-

    If (PropValue (Core.SharedFlag_MDM),

    NodePropValue (PropValue (Core.PrimaryName_MDM), Custom.Colour)

    PropValue (Custom.Colour))

    Now, 11.1.1.2 I lost the memory of how the properties are referred to as - if they are just used with their names or namespaces is mentioned (Core. , custom.). You can change the formula accordingly to view properties

    Thus, if SharedFlag_MDM is True, then it will take the value of the property to its primary node, which is inherited from the primary parent and if the shared flag is False then it is just a varValeurProp on the node itself.

    I hope that answers you.

    Thank you

    Denzz

  • How to identify the serial number for the instalation?

    How to identify the serial number for adobe photoshop cs5?

    http://helpx.Adobe.com/x-productkb/global/find-serial-number.html

  • How to identify the expressions of folklore in the lot while reading File adapter

    Hello
    I have a bepl process to read data from a batch of 100 records text file and write in an Oracle EBS interface table.
    After the completion of the above, I have to call a partner link.
    Problem here is that, how to identify the expressions of folklore, so that I could call my link partner in BPEL.
    How do I get there? Any help is greatly appreciated.

    Hello

    You can implement a separate process, say FileNotificationProcess, you call the link partner, based on the batch Manager wsdl to $ORACLE_HOME/bpel/system/xmllib/jca/BatchManager.wsdl. This new process would be notified of different States of the file reading activity:
    # onBatchReadStart - indicates when a file is started to read
    # onBatchReadComplete - indicates when a file is done playing
    # onBatchReadFailure - tells when a record cannot be processed by the infrastructure of adapters.
    In your case, you would call the partnerlink when a notification of "onBatchReadComplete" is sent.

    In your main process to the file adapter, add the below property, so that the file adapter would inform the new process of the different stages of the processing of batch file.

    bpel://default|FileNotificationProcess
    

    This is described in detail in BPEL best practices guide page 3-18 http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf and the article excellent blog of anthony at http://blogs.oracle.com/reynolds/2008/06/more_on_batch_processing_in_bp.html.

    Kind regards
    Yohanna.
    http://www.prshanmu.com/articles/

  • How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?

    Mr President.

    How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?

    Concerning

    Normally at the height of the table control you need property autoheightRows -1 and then set height in the table like this inlinestyle

    height: 300px;

  • Anyone know how to solve the problem, when he says scratch disk is full?

    Anyone know how to solve the problem, when he says scratch disk is full? don't do anything :/

    Go to Edition > purge > all

    This will clear all of your history and Clipboard, thus freeing the scratch disk space.

Maybe you are looking for