Linux disk corresponds to disk in ASM diskgroup

Source: Internet
Author: User

Generally, DBA and SA must maintain a correspondence between the OS disk and the disk in the Oracle database ASM Group when managing the disk.
If SA is uncertain or DBA cannot be found, use the following method to find the corresponding relationship.

-------------------------------------- Split line --------------------------------------

Recommended reading:

How to change the password of ASM sys

How to copy data files in ASM to the Operating System

Restoration After all Oracle 11g rac asm disks are lost

Oracle 11g from entry to proficient in PDF + CD source code

Installing Oracle 11g R2 using RHEL6 ASM

Oracle 10g manual creation of the ASM Database

-------------------------------------- Split line --------------------------------------
 
Use Grid or Oracle to perform the following operations (pay attention to permissions)
$ Oracleasm listdisks
ASMDISK01
ASMDISK02
 
Use the following command line to find the OS disk corresponding to ASMDISK01:
 
$ Oracleasm querydisk-d ASMDISK01
Disk "ASMDISK01" Is a valid ASM disk On device [8, 17]
 
Find the disk for major and min in/dev.
 
$ Ls-l/dev/* | grep 8, | grep 17
Brw-rw ---- 1 root disk 8, 17 Apr 16
 
Now you know the corresponding ASMDISK01, devsdb1.
 
The above is a method, but it is not the best method. The best aspect is to know
V $ asm_disk and v $ asm_diskgroup.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.