How to identify which rawdevice Disk Is named as VOL1 IN ASM from os level

Hi Friends,
disk creation using the ASMLIB
I want to know which disk is named as VOL1,VOL2,VOL3 etc,. from operating system LINUX .
i know using v$asm_disk we can query name,path, status, label, etc...
i want to know which raw device disk is named or configured as VOL1 from operating system(LINUX )
thanks in advance.
rajesh.
Edited by: rajeysh on Jun 3, 2010 3:49 PM

Well for this you can use oracleasm querydisk.Using this you can identify which device as marked for asm or not. for example you can see this below 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> this is answer your question. :-)

Similar Messages

  • How to identify which is rootsite/webapplication url and which are site collection url ?

    How to identify which is rootsite/webapplication url and which are site collection url underneath of web application using powershell script in following code?
    # Get site objects
    $webapplication = Get-SPWebApplication $siteUrl
    # Walk through each site in the site collection
    foreach($site in $webapplication.Sites)
    foreach($subWeb in $site.AllWebs)
    $_ = AddLevel123($subWeb.Url)

    Hi,
    Hope you wanted to know which API is Site collection (SPSite) and Sub site(SPWeb) 
    $webapplication.Sites = Site Collection (SPSite)
    and $site.AllWebs = Subsite (SPWeb)
    and see these links - to get webApplication URL
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e223b607-ab35-454a-a050-1db3005687e5/spwebapplication-url?forum=sharepointdevelopmentlegacy
    SPSite Url - SPSite.Url (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spsite.url.aspx)
    SPweb URl - SPWeb.URL (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.url.aspx)
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b4dfb645-69f4-4abd-947c-64ca42af3a26/script-to-get-list-of-sites-and-subsites
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • How to identify which videos

    I took a dozen or so short clips of an event. I know which three I want to combine and edit. But I can't figure out how to identify which they are in imovie in order to put those clips in my project. It shows them all as consecutive clips or frames, without file numbers or names.

    I'll try to explain better.
    A dozen clips or videos, 1 min to 5 min in length. In one case all along a mountain road.
    I want to produce a 5 min project or video with the best parts of 3 of those 12.
    All 12 have thumbnails almost identical (the dashboard across the bottom, roof line at the top)
    I only want to start editing the 3, not put all 12 in.
    How do I identify those 3?

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • How to identify Which ports are using in RAC setup?

    Hi,
    how to identify Which ports are using in RAC setup?
    Thnaks,

    [Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]

  • How to identify which DC to modify?

    I need to change the iView u201CChange Own Datau201D in ESS.
    ESS -> Employee search -> Change Own Data
    How to identify which DCs to modify in development configuration?
    Greatly appreciated for any comment/suggestion!

    Hi,
           The purpose of each DC is modifying different Iviews (Ex:you need to modify Change Own data like that some other needs to change some other Iview may be this Iview will be present in another DC).
    based on our requirement we need to modify different different DCs.
    yes you need to modify in the DC as i mentioned..
    Regards,
    Anil.

  • How to identify which key figure will the numeric pointer for deltas?

    Hi All,
    I have created a numeric pointer for generic extraction ? but how to identify which key figure will the numeric pointer will use for deltas ?
    how to identify the key figures which is suitable for numeric pointer. And the generic extraction is based upon the copa table?
    Can anyone suggest me how the numeric pointer works and how to identify deltas are carried out at numeric pointer?
    Thanks
    Pooja

    Pooja,
    If you are using a generic extractor which is based on COPA table, then numeric pointer may not be the suggested delta extraction mechanism. 
    A time stamp would be the better one to use.  In a time stamp, you can give a lower limit value of 300 seconds.. so that it will try to fetch the missed records.
    Moreover, a delta would be based on a character, preferably a time char.
    In your requirement, try to figure out the character on whichdeltas will be based.
    Sasi

  • How to identify which record(s) the user hasbeen checked

    i have a internal table in which first field is represented as check box in the output .
    like bellow
      loop at g_it_final into g_wa_final.
            write : 5 sy-tabix ,
                   20 g_wa_final-g_v_check as checkbox,
                   25 g_wa_final-TRKORR,
                   40 g_wa_final-AS4TEXT.
      endloop.
    now the user will select some records from the output checking the check box
    NOW the QUESTION is
    how to identify which record(s) the user hasbeen checked(selected) ?
    so that i can disply only the selected records in the secondary list.

    Hi,
    You will have to use the 'READ LINE' command within a loop to retrieve the data back into your program.
    You may want to use the HIDE command to ease the retrieval of the checkbox value.
    Check out the online help for both of these.
    Darren

  • How to identify which Internal order type is relevant for Budget manager

    Hi,
        How to identify which Internal order type is relevant for Budgeting i.e Budget Manager.
    regards,
    Rajesh

    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control
       in which it is defined whether mail be sent to budget manager against the budget profile(budget profile is assigned to order type).
    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control-maintain budget manager
    here budget manager is assigned to  order type
    assign me points if it is useful

  • How to identify which applicarion is using the DVD burner?

    How to identify which applicarion is using the DVD burner? Ot is not allow me to burn the DVDs genetrated in the Final Cut 7

    I think you'll find that the application is Final Cut Pro...  the message is bug.  I get a similar message when disconnecting external drives after using them with FCP (even when the project is no longer loaded.)
    As I mentioned above, the accepted workflow is to export the sequence to one of your hard drives using the Export>QuickTime Movie path with Settings:Current Settings and Make Movie Self-Contained checked like this:
    This gets you a high quality "master copy" which you open in Compressor for transcoding. You should use the DVD: Best Quality setting for the duration of your movie.
    this gets you the high quality MPEG-2 and AC-3 files for DVD Studio Pro authoring.
    If you've never used DVD Studio Pro before, you can use iDVD instead. For iDVD, you just drag and drop your "master" on iDVD and it takes it from there. Both make a very professional product.
    hope this helps.

  • How to identify which root certificate is used?

    How to identify which root certificate(on terminal) is used when a terminal is connecting to a https website?
    SecurityInfo.getServerCertificate() only returns the certificate send from the https server.
    But how could know the which local root certificate is used to verify the certificate send from the https server?
    Is there a method or class in MIDP 2.1?
    Thanks

    UP�Cthis question is urgent. Hope anyone can answer me!

  • How to identify which trace file is your backup controlfile trace in udump

    I have a 10.2.0.3 database on unix.
    I want to setup a job to run a script every night to backup the controlfile as text format.
    such as "alter database backup controlfile to trace".
    How my script can identify which trace file is the one just created for backup controlfile and copy the file to a backup disk?
    Thanks a lot!

    I thought it's
    alter database backup controlfile to trace as 'absolute path of any file where you want the control file in clear text format ';
    for ex. in Windows..
    alter database backup controlfile to trace as *'c:\temp\create_ORCL_control.sql'*;
    This way you will know where your job is going to backup controlfile to trace

  • How To Identify the OCR-disk,Voting Disk

    Hi Champ,
    There is one confusion for the OCR and Voting Disk.
    In case my RAC is up and Running and There are 3 RAW partitions for the OCR as well.
    and I dont know which partition is for which purpose?? how to Identify the partions which are for the OCR,Voting disk?
    Regards,
    Shitesh Shukla

    hi,
    try to use this:
    crsctl query css votedisk
    and
    OCRCHECK
    OCRCONFIG

  • How to identified which instance is associated with which Listener

    Hi all,
    i created one DB instance. suppose named as "B". but there is already another DB instance present. Named as "A".
    Then i created one listener for DB instace "B".
    Now my Que. is that HOW i can identify which instance is associated with which Listener,.
    2) if i create listener then a service also created. if i stopped that service and then can i fire query OR Login again, WHAT will be the expected result.
    I tried by asking people for my answer. but not satisfied.
    Please Help me For this.
    Thanks in Advance

    see the file listener.ora. path is usually, $ORACLE_HOME/network/admin/listener.ora
    You will see which listener is associated with which file,
    Details will be usually like this
    >
    LSNR1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = instance1)(PORT = 1666))
    LSNR2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = instance2)(PORT = 2666))
    >
    >
    if i create listener then a service also created. if i stopped that service and then can i fire query OR Login again, WHAT will be the expected result.
    I tried by asking people for my answer. but not satisfied.
    >
    A listener is used when a client wants to connect to the database server. If you are logging in directly on the server without using instance name, then you can login even if you stop the service.
    check this,
    C:\Windows\system32>lsnrctl stop
    LSNRCTL for 32-bit Windows: Version 10.2.0.3.0 - Production on 03-MAY-2011 23:06
    :22
    Copyright (c) 1991, 2006, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    C:\Windows\system32>sqlplus ganesh
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue May 3 23:06:36 2011
    Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from dual;
    D
    X
    SQL>But if you try to connect from a client, or use the instance name while connectineg
    you get the error like this,
    SQL> conn ganesh@ganesh
    Enter password: ******
    ERROR:
    ORA-12541: TNS:no listener
    Warning: You are no longer connected to ORACLE.
    SQL> If you see, I used the instance name @ganesh.
    G.

  • How to Identify which Source Row is causing a slowdown in the Indexing?

    Every so often the Indexing seems to hit a wall and we gaet a huge backlog of text files that need to be indexed. We get about 2 to 3 million files per day. Most of the time the problem gets resolved when we increase the degree parallel. How can we identify which text file is causing the problem?
    Regards

    I wonder if the problem is becuse of some bug when the DR$PENDING gets to zero rows. Apparently this causes the query on CTX_USER_PENDING to take a long time. I use that view to determine the partitions to pass to SYNC_INDEX procedure.
    select
    pnd_partition_name
    ,count(*)
    from ctx_user_pending
    where pnd_index_name = '<index_name>'
    group by
    pnd_partition_name
    /This takes about 5 seconds for tow rows with 335 and 13 rows.
    Tables DR$INDEX, DR$INDEX_PARTITION and DR$PENDING have had Statistics gathered
    This query has taken over 45 minutes.

Maybe you are looking for

  • Video live stream won't play

    My Maxx plays some live news videos and sometimes it does not depending on the site. I tried different video players like the MX and others to no avail. I tried on chrome And other browsers. Not sure which way to go with this. Any ideas would be much

  • Why do error comes when trying to use NI ISA GPIb and NI DAQ card (both PnP)together while they work well when one at a time?

    we configured gpib pnp and at-mio-64e3 cards (isa) in the same pc.gpib function was invoked to take the device to remote and listen mode.now when daq function getDeviceInfo is called the remote mode of the device is removed and after this it always s

  • Context Menu not displayed in KM for users except Administrator

    Hi Experts   Can you please suggest where the permission should be given in order to make context menu visible for users who are not super-administrators but are content admin?   We are facing issue with context menu not shown at all to the users.   

  • Two naive questions: change report templates and customization.

    I searched the forum but didn't have the luck to find the exact answer. 1) I've chosen the alternating row color template for one of my report, however I wanted to change it to another template, say standard. Is it possible, and where I may find the

  • Export animation via Scripting

    I need to export photoshop animation to my own format. Exporting as GIF image is not a solution. I need to access transformation details, change of opacity through the timeline in photoshop motion. How can I do this? Can this be done using a plugin?