Add a disk to a data disk (asmexternal)

Source: Internet
Author: User

Add a disk to a data disk (asmexternal)

1. Create a disk and access both nodes. 2. Check the cluster status [grid @ rac1 ~] $ Crsctl status res-t release name target state server STATE_DETAILS restart Local Resources within ora. DATA. dg ONLINE rac1 ONLINE rac2 ora. FRA. dg ONLINE rac1 ONLIN E online rac2 ora. LISTENER. lsnr ONLINE rac1 ONLINE rac2 ora. asm ONLINE rac1 Started ONLINE rac2 Started ora. eons ONLINE rac1 ONLINE rac2 ora. gsd OFFLINE rac1 OFFLINE rac2 ora. net1.network ONLINE rac1 ONLINE rac2 ora. ons ONLINE rac1 ONLINE rac2 ---------------------------------------------------------------------- ---------- Cluster Resources ---------------------------------------------------------------------------------- ora. orcl. db 1 ONLINE rac1 Open 2 ONLINE rac2 Open ora. rac1.vip 1 ONLINE rac1 ora. rac2.vip 1 ONLINE rac2 3. check disk GROUP_NUMBER GROUP_NAME name path state TOTAL_MB ------------ ---------- ---------------------- ---------------- -------- ------------ 3 FRA/dev/raw/ra W5 NORMAL 8192 2 DATA/dev/raw/raw4 NORMAL 8192 1 CRS CRS_0002/dev/raw/raw3 NORMAL 3072 1 CRS CRS_0001/dev/raw/raw2 NORMAL 3072 1 CRS CRS_0000/ dev/raw/raw1 NORMAL 30724. add disk SQL> alter diskgroup data add disk '/dev/raw/raw6/'name data2; Diskgroup altered.5. view disk status GROUP_NUMBER GROUP_NAME name PATH STATE TOTAL_MB ----------------------------------------------------------------------------- --- 0 DATA DATA2/dev/raw/raw6 NORMAL 8192 5 FRA/dev/raw/raw5 NORMAL 8192 0 DATA/dev/raw/raw4 NORMAL 8192 0 CRS CRS_0002/dev/ raw/raw3 NORMAL 3072 0 CRS CRS_0001/dev/raw/raw2 NORMAL 3072 0 CRS CRS_0000/dev/raw/raw1 NORMAL 30726. cluster status [grid @ rac2 ~] $ Crsctl status res-t release name target state server STATE_DETAILS restart Local Resources within ora. DATA. dg ONLINE rac1 ONLINE rac2 ora. FRA. dg ONLINE rac1 ONLIN E online rac2 ora. LISTENER. lsnr ONLINE rac1 ONLINE rac2 ora. asm ONLINE rac1 Started ONLINE rac2 Started ora. eons ONLINE rac1 ONLINE rac2 ora. gsd OFFLINE rac1 OFFLINE rac2 ora. net1.network ONLINE rac1 ONLINE rac2 ora. ons ONLINE rac1 ONLINE rac2 ---------------------------------------------------------------------- ---------- Cluster Resources available ora. orcl. db 1 ONLINE rac1 Open 2 ONLINE rac2 Open ora. rac1.vip 1 ONLINE rac1 ora. rac2.vip 1 ONLINE rac2 OK!

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.