"ORACLE" ASM disk Group and delete disk member method

Source: Internet
Author: User

************************************************************************* * * * Original:blog.csdn.net/clark_xu Xu Changliang's Column************************************************************************

The first step is to close the library shutdown Immediate

The second step is to look at the DG Mount DiskGroup case

Sql> Show Parameter DiskGroup

Alter DiskGroup Dgdata Mount;

Third, see the path to the disk you want to delete

Select Name,total_mb/1024,free_mb/1024,path from V$asm_disk;

dgdata_0003 556 1347.5625/dev/raw/raw9

Fourth, check the usage of disk that needs to be deleted:

Select name,total_mb/1024,free_mb/1024 from V$asm_disk_stat

dgdata_0003 1556 1347.5625

Fifth step , view bare device mappings, multipath mappings, Memory mappings

/bin/raw/dev/raw/raw9/dev/mapper/oradata4

Multi-Path mapping

ORADATA4 (36005076307ffc3ff0000000000000103) dm-11 ibm,2107900

Storage mapping situation

Fb_vol_4 0103 1556 fb_p3p3 S7 S8

Sixth step,alter diskgroup dgdata drop disk ' dgdata_0003 ' rebalance Power 5 wait;

Seventh step, the monitoring data re-stripe operation view.

SELECT * FROM V$asm_operation

Eighth step, confirm that it has been deleted

Sql>select path,group_number,disk_number,mount_status,header_status,mode_status,state from V$asm_disk;

Add disk and delete similar:

Alter DiskGroup dgdata add disk '/dev/raw/raw9';

monitoring data re-striped Operation view.

SELECT * FROM V$asm_operation

Other than that

To create a disk group manually Dgfra:

Create DiskGroup Dgfra External redundancy disk '/dev/raw/raw8 ';

************************************************************************* * * * Original:blog.csdn.net/clark_xu Xu Changliang's Column************************************************************************

"ORACLE" ASM disk Group and delete disk member method

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.