How to identify which disk rawdevice is named as VOL1 in ASM OS level

Hi friends,

creation of the disk using the ASMLIB
I want to know which drive is named as VOL1, VOL2, VOL3 etc. LINUX operating system.

I know using v$ asm_disk we can query name, path, status, tag, etc...

I want to know what raw device disk is named or configured as VOL1 (LINUX) operating system

Thanks in advance.

Rajesh.

Published by: rajeysh on June 3, 2010 15:49

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>

It's answering your question. :-)

Tags: Database

Similar Questions

  • How to identify which instance is associated with what earphone

    Hi all
    I have created a DB instance. Suppose that named 'B '. but there is already another this DB instance. Named 'A '.
    Then, I created a listener instance DB 'B '.

    Now, my what, is that HOW can I identify which instance is associated with what listener.

    (2) if I create listener can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.
    I tried to ask people of my answer. but not convinced.
    Please help me for this.
    Thanks in advance

    See the listener.ora file. It is usually $ORACLE_HOME/network/admin/listener.ora

    You can see what listener is associated with a file.

    Details will generally be 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 can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.
    I tried to ask people of my answer. but not convinced.
    >

    A listener is used when a client wants to connect to the database server. If you connect directly to the server without using the name of the instance, then you can connect even if you stop the service.

    Check it,

    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 name of the instance, while connectineg
    you get the error like that,

    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 name of the @ganesh instance.

    G.

  • 5520 photosmart all-in-one: how to identify which cartridge needs replacing on 5520

    My computer showed me the message that the printer ink is running low.  I open the printer to replace the cartridge, but I don't see what cartridge, color or black, that has to be changed.  On my previous printer, low cartridge has been identified by a flashing light.

    How will I know which cartridge to replace?

    Hello

    Since the home printer screen, tap ink icon (symbol of gout).

    Kind regards.

  • How to identify which windows is my serial number?

    I lost my HD and bought a new.
    I have the license in my computer, I have the number but where I say which windows is erased (vanished).
    Have I not any place can I put my serial number and tell me what windows is?

    See you soon

    There is no site to put product keys in to see what they are.

    If you have a genuine Microsoft Vista DVD, it gives you the opportunity to enter your product key during the installation to determine the version that is installed.

    If you are unable to do this, contact the manufacturer of the computer.

    See you soon. Mick Murphy - Microsoft partner

  • How to identify which Satellite A60 I have?

    Help! Can someone tell me what model I have? I know as an A60 - en, but there is no model like that, it s is this series this series A60-220 or or any combination of different numbers.
    Help!

    It's Satellite Pro A60.
    If you need some info on equipment or you have any other questions please let us know.

  • How to identify which switch in the Panel called the function?

    Here I have some 192 switches and 192 leds corresponding to each switch,

    If a switch is on(say 10th) consequence (10th) led should light up.

    I want to use the same function for all pairs of led switch.

    all I could do was to check the switch in a loop and then set the individual leads, but I find it very little effective way to do it.

    int switchOnOff (int, int int event control panel CVICALLBACK,
    void * callbackData, int eventData1, int eventData2) is the function.

    None of these arguments I can use it to extract what (the unique id for this turnout) switch called the function so that I can pass corresponding led glow?

    It occurred to me now that the table is not necessary at all: you can simply assign to each switch the corresponding ID led the callbackData, so that the code is even simpler than my previous:

    // At panel load:
    SetCtrlAttribute (panelHandle, PANEL_SWITCH1, ATTR_CALLBACK_DATA, (void *)PANEL_LED1);
    ...
    SetCtrlAttribute (panelHandle, PANEL_SWITCH192, ATTR_CALLBACK_DATA, (void *)PANEL_LED192);
    
    // In the control callback
    GetCtrlVal (panel, control, &sts);
    SetCtrlVal (panel, (int)callbackData, sts);
    

    To answer your last question, "Management Board" means immediately after the call to LoadPanel.

  • 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

  • Is there an easy way to identify the type of disk required by the optical drive in my computer? How to identify DVD + compared to a DVD player?

    At home, my wife and I have two computers four desktop computers and laptops.  I often bring the laptop I got from my employer to use when I travel or work at home. Is there an easy way to identify the type of optical drive required by the optical drive in a computer?  How to identify DVD + compared to a DVD player?  I have never the disk right when I need to burn something.  Thank you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/which-CD-or-DVD-format-should-I-use

    Should which CD or DVD format I use

    The above should help you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD

    General information on CD burning.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to identify a virtual disk inside a windows 2008 VM

    I created a data store ISCSI 1.98 TB for one of my VM Windows 2008. I've added four virtual disks size still 300 GB to this Windows 2008 virtual machine and now I need to extend one of the specific disks. How to identify the interface of the VM virtual disk.

    In windows, I know what drive it is how can disc 8 but I know which drive is 8 on the change settings tab? I thought I knew what disk I was growing, and it wasn't the right one. Is there a tool on the market that do that?

    Thank you

    You will need to open the properties of the disk (left) rather than any partition on this disk.

    André

  • HOW can I identify which instance is associated with what listener

    Hi all
    I have created a DB instance. Suppose that named 'B '. but there is already another this DB instance. Named 'A '.
    Then, I created a listener instance DB 'B '.

    Now, my what, is that HOW can I identify which instance is associated with what listener.

    (2) if I create listener can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.
    I tried to ask people of my answer. but not convinced.
    Please help me for this.
    Thanks in advance

    856376 wrote:
    Hi all
    I have created a DB instance. Suppose that named 'B '. but there is already another this DB instance. Named 'A '.
    Then, I created a listener instance DB 'B '.

    Now, my what, is that HOW can I identify which instance is associated with what listener.

    A listener is able and sufficient to deal with all the instances running on the computer. You are supposed never to create a listener instance. So in your case, the other instance B would be also recorded with the already present litener as well as the existing instance.

    (2) if I create listener can also created service. If I stopped that service and then I can fire the query or Login again, WHAT will be the expected result.

    Have you tried looking in this area and see what would be the expected result?

    Services are a means through which handles things. And when the service would cease, it means that this particular thing also will not work. Now, do you understand what the listener is actually used for? It is intended to listen for incoming connection requests. So if you turned it OFF, you cannot send to your db.

    I tried to ask people of my answer. but not convinced.

    Before asking people, please read the documentation that covers all these things in a large part. Check it out at http://tahiti.oracle.com.

    HTH
    Aman...

  • How to identify the OCR disk, disk to vote

    Champion Hi,
    There is a confusion for the OCR and voting disk.
    Where my CAR is running and there are 3 partitions for OCR so GROSS.
    and I don't know which partition is for what purpose? How to identify them were leaving which are for OCR, voting disk?

    Kind regards
    Shitesh Shukla

    Hello

    try using this:
    crsctl query css votedisk
    and
    OCRCHECK
    OCRCONFIG

  • What is the order of the removal of the songs to an iPod Classic syncing > somehow my laptop has started the process of synchronization without my knowledge and removed approximately 2,000 songs of my iPod classic.  How can I identify which were delete

    What is the order of the removal of the songs to an iPod Classic syncing > somehow my laptop has started the process of synchronization without my knowledge and removed approximately 2,000 songs of my iPod classic.  How can I identify which were deleted songs?  I always manually move files to prevent this.  I'm on Windows 10.

    Has no way to know that...

    If your library iTunes music fits on the storage space of 160 GB of your iPod classic, you just set to automatically sync your entire library of music.  Then, it won't matter which has been removed and which do not get deleted, because your iPod music library is the same as your library iTunes music.  And iTunes it keeps this way, every time your iPod connection (or click sync , if already connected).

    If you don't want "everything" in your iTunes library on your iPod (understandable), you can create a playlist in your iTunes library with all the songs you want on the iPod.  Then, set to automatically synchronize the playlist to iPod.  Instead of manually managing iPod, you manually manage playlist in your iTunes library.  The iPod has no need to be connected.  The next time you connect the iPod (or click sync , if already connected), iTunes will update the iPod with the same changes.  The big advantage is, if something happens like what you describe, or needs to restore iPod (erased) or even if break you your iPod (and get a new), need you a few mouse clicks to solve the problem.  Just set it up to sync the same playlist once again, which exists in your library iTunes (not only on the iPod).

    You can post back for more information about how to use automatic synchronization to do what you want more easily, go ahead.

  • How can I identify which drivers to download for my laptop?

    How can I identify which drivers to download for my laptop?

    Hello

    Download software and drivers

    Use the following steps to download the software, drivers and updates from HP or Microsoft by using Windows Update.
  • How to clean my disk overloaded space in C drive? Almost complete. Says "low disk space". Thank you in advance.

    How to clean my disk overloaded space in C drive?  Almost complete.  Says "low disk space".  Thank you in advance.

    I'd be interested to see a report of Disk Defragmenter. Open Disk Defragmenter and click analysis. Select view report, and then click Save as and save. Now find VolumeC.txt in your My Documents folder. Open the file, and place the cursor anywhere in the file, select Edition, select all to select all the text and copy and paste into the body of your message. To do this, before you run Disk Defragmenter because it is more informative.

    Follow a few basic maintenance note.

    1.5 the tool provided in Windows to remove unwanted temporary files is disk cleanup. To access this tool select Start, all programs, accessories, System Tools, cleaning disk to emptying your trash, delete temporary Internet files and other selected options. I recommend also you click Other Options, System Restore and delete all but the last system restore point. You must then run Disk Defragmenter.

    1.6 using the system restore option is most appropriate when your system is slow and you need to increase the free disk space on your C partition. If you have errors that could be solved by using the system restore to your system settings back to before that the error occurred initially, do not use this option.

    1.7. If more than one person uses the computer and they have their own user log you need to run Disk Cleanup in each user profile that you want to delete all the unwanted files.

    1.8. a better alternative program to disk cleanup is cCleaner. The freeware version works well for a home user and must be downloaded from Piriform program provider:
    http://www.CCleaner.com/download

    1.9. When you open cCleaner you will see four large icons to the left of the window. Here's cleaner them, registry, tools, and Options. For routine maintenance, you normally acceding Cleaner (this is not the mentioned registry cleaner later). When using for the first time only, you can accept the default settings.

    1.10. some observations on the parameters. On my computer, I do not have the boxes before the passwords saved selected. In a less secure environment, you could check this option and set cCleaner to run automatically when the computer starts. You also cannot check the boxes in front of shortcuts from the Start Menu, desktop shortcuts and historical form. You must check the boxes according to your needs. Bad first time options causes irritating no disasters.

    1.11. the second icon that you see when you open cCleaner's registry. A reserve many experienced users have about cCleaner, it's that it comes with a registry cleaner. This tool should not be used. By using a registry cleaner, but it is the case, provides significant benefits and there is always the risk of creating insoluble system errors, which cannot be resolved by reinstalling the operating system and all that that implies. You will avoid any possible problem of not not by clicking on the Save icon.

    1.12 the third icon that you see when you open cCleaner is tools. If you click this icon, it gives you access a routine plus service options. The first two tools are uninstalled and commissioning. I do not use these tools, preferring to use other software options. The third tool is the restoration of the system, which is covered in the next paragraph. The fourth tool is Wiper Drive and you will find reviews about this tool later

    1.13 removing the system restore points can be important if you have little free disk space. The ability to delete them is one of the tools options. You can selectively remove those created in less important moments. This makes it easier to hold the restore points for long periods without keeping large unwanted files, whose inflexible approach to disk cleanup fails to offer.

    1.14. you can't remove the last restore point using the cleaning disc or cCleaner. If the last restore point contains malicious software, you can turn off and then turn on system restore. This has the disadvantage that restore all points are removed when you want to keep more restore points that are not infected. How to get round this problem is to create a new restore point when you are satisfied with your computer is free of malware and then remove the infected restore point.

    1.15. in normal circumstances, you probably rarely need to use Driver wiper. However, there are situations like if you gave the computer to someone else, then the tool may be useful. Please note that the wiper Drive, opening, generates a warning message, which should not be dismissed lightly. Using wiper Drive for the wrong reason could have serious consequences.

    1.16 the fourth icon is labeled Options. Many configuration options are available here. You can configure cCleaner to run when start you but remember that this will slow down the boot. Another setting allows you to include or exclude cookies. Yet another allows files named to exclude.

  • 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

Maybe you are looking for

  • How to attach file icon to the properties of bookmarks?

    When I was with the Internet Explorer browser, I created icons (* .ico) for my files and bookmarks via the properties.When I migrated to the browser Firefox, bookmarks, and files have been restored, but without the .ico properties. I went to Firefox

  • Alternatives of normalization of volume to iVolume and SoundCheck

    Several years ago, I found there is not enough volume of SoundCheck standards capability when you play a large number of titles through the lists of reading, or simply hanging out 'all '.  I have about 7000 titles of my iTunes library, more of which

  • How to force Excel to open and update links

    I have a .xlsm for Excel Macro file I send data to and receive results based on that data are calculated. Some of these calculations are through a .xla link. NORMALLY when a man opens the file, the linkis opened and updated and everyone can go about

  • 15 - f039wm has no power after upgrade memory (or disk).

    After swapping the existing A-DATA 4 GB SODIMM and its replacement by a (Samsung) InnoDisk 8 GB M3SW - 8GSSDC0C - D, the laptop won't turn on, turn on or show any sign of life.  It gives me no opportunity to "quickly press ESC, then press F10." After

  • Wireless policy loses settings

    What we have is set up is the following: Certificate SSL automatically performed on server 03 pushed by a GPO to customers.RADIUS server with a shared secret with APs of Meru.WPA PEAP Mschapv2 authentication of security all sent via GPO. What happens