Forgot your password?    
+ Reply to Thread
Results 1 to 1 of 1

Thread: ASM Disk in HUNG state

  1. #1
    Expert Oracle Administrator
    Join Date
    Oct 2011
    Location
    New Delhi, India
    Posts
    427

    ASM Disk in HUNG state

    Here is what would happen if we try to drop the last disk from the failgroup(s).
    The disk will go to a HUNG state.
    The same situation would also take place if the drop a disk from a diskgroup that does not have enough disk space to complete the rebalance operation.


    1) We issued a drop for an ASM Disk

    2) While doing an RMAN restore Operation , we were not able to create a file on a disk

    Starting restore at 28-APR-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK

    RMAN-00571: ================================================== =========
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ================================================== =========
    RMAN-03002: failure of restore command at 04/28/2012 22:58:53
    ORA-19504: failed to create file "+DATAGROUP1"
    ORA-17502: ksfdcre:4 Failed to create file +DATAGROUP1
    ORA-15041: diskgroup space exhausted
    ORA-19600: input file is control file (/u05/app/oracle/oradata/orcl/control01.ctl)
    ORA-19601: output file is control file (+DATAGROUP1)
    3) We checked the disk state - it shows the ASM Disk in HUNG state

    SQL> select * from v$asm_disk;

    GROUP_NUMBER DISK_NUMBER COMPOUND_INDEX INCARNATION MOUNT_S HEADER_STATU MODE_ST
    ------------ ----------- -------------- ----------- ------- ------------ -------
    STATE REDUNDA
    -------- -------
    LIBRARY TOTAL_MB
    ---------------------------------------------------------------- ----------
    FREE_MB NAME FAILGROUP
    ---------- ------------------------------ ------------------------------
    LABEL
    -------------------------------
    PATH
    --------------------------------------------------------------------------------
    UDID
    ----------------------------------------------------------------
    PRODUCT CREATE_DA MOUNT_DAT REPAIR_TIMER READS
    -------------------------------- --------- --------- ------------ ----------
    WRITES READ_ERRS WRITE_ERRS READ_TIME WRITE_TIME BYTES_READ BYTES_WRITTEN
    ---------- ---------- ---------- ---------- ---------- ---------- -------------
    1 0 16777216 3915934485 CACHED MEMBER ONLINE
    HUNG UNKNOWN
    System 10236
    10142 DATAGROUP1_0000 DATAGROUP1_0000

    /dev/oracleasm/disks/VOL1
    4) HUNG state => the drop operation carried out was not successful.
    so we undrop the disks.

    SQL> alter diskgroup DATAGROUP1 undrop disks;

    Diskgroup altered.



    SQL> select * from v$asm_disk;

    GROUP_NUMBER DISK_NUMBER COMPOUND_INDEX INCARNATION MOUNT_S HEADER_STATU MODE_ST
    ------------ ----------- -------------- ----------- ------- ------------ -------
    STATE REDUNDA
    -------- -------
    LIBRARY TOTAL_MB
    ---------------------------------------------------------------- ----------
    FREE_MB NAME FAILGROUP
    ---------- ------------------------------ ------------------------------
    LABEL
    -------------------------------
    PATH
    --------------------------------------------------------------------------------
    UDID
    ----------------------------------------------------------------
    PRODUCT CREATE_DA MOUNT_DAT REPAIR_TIMER READS
    -------------------------------- --------- --------- ------------ ----------
    WRITES READ_ERRS WRITE_ERRS READ_TIME WRITE_TIME BYTES_READ BYTES_WRITTEN
    ---------- ---------- ---------- ---------- ---------- ---------- -------------
    1 0 16777216 3915934485 CACHED MEMBER ONLINE
    NORMAL UNKNOWN
    System 10236
    10142 DATAGROUP1_0000 DATAGROUP1_0000

    /dev/oracleasm/disks/VOL1
    We now try the operation that was earlier causing problems on account of exhausted disk space :

    5) Restore operation is now successful

    RMAN> restore controlfile from '/u05/app/oracle/oradata/orcl/control01.ctl';

    Starting restore at 28-APR-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK

    channel ORA_DISK_1: copied control file copy
    output filename=+DATAGROUP1/orcl/controlfile/current.260.781831057
    Finished restore at 28-APR-12

    RMAN>

+ Reply to Thread

Similar Threads

  1. ASM Diskgroup Disk Add , Drop and Rebalance operations
    By Hemant in forum RAC Installation, ASM Install , ASM Administration
    Replies: 0
    Last Post: 07-27-2012, 06:14 AM
  2. Voting Disk Backup and Recovery
    By Hemant in forum RAC Concepts and Administration
    Replies: 1
    Last Post: 05-24-2012, 06:48 PM
  3. Recover Corrupt/Missing OCR and Voting Disk with No Backup
    By devesh_ocp in forum RAC Concepts and Administration
    Replies: 0
    Last Post: 04-26-2012, 11:17 AM
  4. crs_stat -t shows unknown state of some resources
    By gaurav dutt in forum RAC Concepts and Administration
    Replies: 1
    Last Post: 03-23-2012, 12:59 PM
  5. Replies: 0
    Last Post: 01-23-2012, 10:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

DBA Lounge (P) Ltd. deals in Oracle Technologies on Consulting, Resourcing, Corporate Training


Online and corporate training available on Oracle Database 11g, Oracle 11g Real Application Cluster (RAC), Oracle Applications 11i/R12, Oracle Fusion Middleware 11g, Oracle Identity Management-OIM, Oracle Internet Directory 11g-OID, Oracle Business Intelligence Enterprise Edition-OBIEE, Oracle Golden Gate, Oracle Access Management-OAM, Oracle Internet Directory-ODS, Oracle Identity Analytics Architecture-OIA Statistics