ASM Disk offline - State hung

Hey in my ASM configuration I setup this
Disk Path ASM Name Failure Group
/dev/raw/raw4 Data1 FG1_Data [on SAN1]
/dev/raw/raw5 Data2 FG2_Data [on SAN2]
/dev/raw/raw6 Reco1 FG1_Reco [on SAN1]
/dev/raw/raw7 Reco2 FG2_Reco [on SAN2]
all good.
My I switched off SAN1. A query on v$asm_disk shows disk DATA1 & RECO1 as offline - hung state.
I did in the asm instance in sqlplus:
ALTER DISKGROUP DATA DROP DISK data1; -> success
ALTER DISKGROUP RECO DROP DISK reco1; -> success
ALTER DISKGROUP DATA ADD failgroup DATA3 '/dev/raw/raw4'; -> success
ALTER DISKGROUP RECO ADD failgroup RECO3 '/dev/raw/raw6'; -> success
The query on v$asm_disk stills show the DATA1 and RECO1 - but DATA3 and RECO3 as well.
Is it right, that the "old" entries will disappear, once the ASM instance is restarted ? I can´t do this at the moment.
In generell - why went the ASM disks to offline ?
SAN1 was switched off for about 5 minutes - and was then switched back on.
Is this expected behaviour ?

Hi Chris,
as long as the information is still partially valid, the devices will be displayed in v$asm_disk. Main reason is: Some Oracle processes still have handles open on these devices, and as long as they exist the devices can still be seen.
A Restart of ASM + database will definitely remove these entries (if they cannot be seen by the operating system).
Regarding your other question: Oracle can only detect if a device is going offline (errors in the database and asm alter log). If a device goes online again, Oracle does not check this (this would be a major overhead to rescan lets say every minute to see if a disk is back online).
Hence you have to reinclude the dropped/offlined disks yourself.
Depending on the version (10g or 11g) and depending on the diskgroup compatibility level for rdbms a disk can simply be returned into the diskgroup (11g - alter diskgroup <dg> set disk <disk> online) and resilvered or have to be reincluded into the ASM instance (no resilvering, but a complete rebalance 10g: alter diskgroup <dg> add disk <disk> to failgroup <fg> [force])
Sebastian

Similar Messages

  • Disk removel state forcing ASM

    SQL> select name,state, free_mb from v$asm_disk;
    NAME STATE FREE_MB
    DBF_0003 FORCING 0
    DBF_0004 NORMAL 953
    DBF_0002 NORMAL 312
    DBF_0000 NORMAL 628
    DBF_0001 NORMAL 629
    how to remove disk 0003 which is still in forcing state.
    10.2.0. on win 2003(VMWare)

    Previously i did the following when the disk is in the hung state:
    SQL> select incarnation,state, free_mb from v$asm_disk;
    INCARNATION STATE FREE_MB
    0 HUNG 0
    4042430731 NORMAL 954
    4042430732 NORMAL 311
    4042430733 NORMAL 628
    4042430734 NORMAL 629
    SQL> alter diskgroup dbf drop disk DBF_0003 force;
    Diskgroup altered.
    SQL> select incarnation,state, free_mb from v$asm_disk;
    INCARNATION STATE FREE_MB
    0 FORCING 0
    4042430731 NORMAL 954
    4042430732 NORMAL 311
    4042430733 NORMAL 628
    4042430734 NORMAL 629
    SQL> startup force
    ASM instance started
    Total System Global Area 83886080 bytes
    Fixed Size 1247420 bytes
    Variable Size 57472836 bytes
    ASM Cache 25165824 bytes
    ASM diskgroups mounted
    SQL> select incarnation,state, free_mb from v$asm_disk;
    INCARNATION STATE FREE_MB
    0 FORCING 0
    4042417582 NORMAL 953
    4042417583 NORMAL 312
    4042417584 NORMAL 628
    4042417585 NORMAL 629
    SQL> alter diskgroup dbf drop disk dbf_0003 force;
    alter diskgroup dbf drop disk dbf_0003 force
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15071: ASM disk "DBF_0003" is already being dropped
    Edited by: user8664817 on Aug 11, 2009 12:25 AM

  • Shrinking ASM disk

    I just tried to resize an ASM disk and although the feedback was 'successful', there doesn't appear to have been any change.
    I was attempting to shrink disk DATA_0001 from 200G to 100G. Am I missing something obvious?
    SQL> select group_number, name, path, os_mb, total_mb, free_mb from v$asm_disk;
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
              0                      /dev/iscsi/rman11                   20489          0          0
              0                      /dev/iscsi/rmanB11                 102398          0          0
              0                      /dev/iscsi/rman1                    20490          0          0
              0                      /dev/iscsi/vote3                      300          0          0
              0                      /dev/iscsi/vote1                      300          0          0
              0                      /dev/iscsi/rmanP11                 204805          0          0
              0                      /dev/iscsi/vote2                      300          0          0
              0                      /dev/iscsi/rmanP1                  204810          0          0
              0                      /dev/iscsi/rmanB1                  102405          0          0
              1 DATA_0000            /dev/iscsi/db1                      10245      10245      10109
              2 FRA_0000             /dev/iscsi/flshbk1                  20490      20490      20465
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
              2 FRA_0001             /dev/iscsi/flshbkR1                409605     409605     409262
              1 DATA_0001            /dev/iscsi/dbR1                    204810     204810     202297
    13 rows selected.
    SQL> alter diskgroup data resize disk 'data_0001' size 100g;
    Diskgroup altered.
    SQL> select group_number, name, path, os_mb, total_mb, free_mb from v$asm_disk;
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
              0                      /dev/iscsi/rman11                   20489          0          0
              0                      /dev/iscsi/rmanB11                 102398          0          0
              0                      /dev/iscsi/rman1                    20490          0          0
              0                      /dev/iscsi/vote3                      300          0          0
              0                      /dev/iscsi/vote1                      300          0          0
              0                      /dev/iscsi/rmanP11                 204805          0          0
              0                      /dev/iscsi/vote2                      300          0          0
              0                      /dev/iscsi/rmanP1                  204810          0          0
              0                      /dev/iscsi/rmanB1                  102405          0          0
              1 DATA_0000            /dev/iscsi/db1                      10245      10245      10004
              2 FRA_0000             /dev/iscsi/flshbk1                  20490      20490      20465
    GROUP_NUMBER NAME                 PATH                                OS_MB   TOTAL_MB    FREE_MB
              2 FRA_0001             /dev/iscsi/flshbkR1                409605     409605     409262
              1 DATA_0001            /dev/iscsi/dbR1                    204810     204810     202402
    13 rows selected.The free_mb seems to have increased, but otherwise I can't see the effect of my change. Maybe I'm looking in the wrong place??
    I tried restarting the ASM instance but it made no difference.
    After resizing the disk in ASM I shrunk the disk volume in our storage array. ASM was of course down at the time.
    When I attempted to restart ASM I saw this ...
    SQL> startup
    ASM instance started
    Total System Global Area  283930624 bytes
    Fixed Size                  2158992 bytes
    Variable Size             256605808 bytes
    ASM Cache                  25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15036: disk '/dev/iscsi/dbR1' is truncatedNone of my diskgroups are mounted ...
    SQL> select group_number, name, state from v$asm_diskgroup;
    GROUP_NUMBER NAME            STATE
              0 DATA            DISMOUNTED
              0 FRA             DISMOUNTEDHere's the messages from the ASM instance alert log ...
    SQL> ALTER DISKGROUP ALL MOUNT
    NOTE: cache registered group DATA number=1 incarn=0x5f5e3343
    NOTE: cache began mount (not first) of group DATA number=1 incarn=0x5f5e3343
    NOTE: cache registered group FRA number=2 incarn=0x5f5e3344
    NOTE: cache began mount (not first) of group FRA number=2 incarn=0x5f5e3344
    WARNING::ASMLIB library not found. See trace file for details.
    NOTE: Assigning number (1,0) to disk (/dev/iscsi/db1)
    NOTE: cache dismounting group 1/0x5F5E3343 (DATA)
    NOTE: dbwr not being msg'd to dismount
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 1/0x5F5E3343 (DATA)
    NOTE: cache ending mount (fail) of group DATA number=1 incarn=0x5f5e3343
    kfdp_dismount(): 1
    kfdp_dismountBg(): 1
    NOTE: De-assigning number (1,0) from disk (/dev/iscsi/db1)
    ERROR: diskgroup DATA was not mounted
    NOTE: Assigning number (2,1) to disk (/dev/iscsi/flshbkR1)
    NOTE: Assigning number (2,0) to disk (/dev/iscsi/flshbk1)
    NOTE: cache dismounting group 2/0x5F5E3344 (FRA)
    NOTE: dbwr not being msg'd to dismount
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 2/0x5F5E3344 (FRA)
    NOTE: cache ending mount (fail) of group FRA number=2
    incarn=0x5f5e3344
    kfdp_dismount(): 2
    kfdp_dismountBg(): 2
    NOTE: De-assigning number (2,0) from disk (/dev/iscsi/flshbk1)
    NOTE: De-assigning number (2,1) from disk (/dev/iscsi/flshbkR1)
    ERROR: diskgroup FRA was not mounted
    ORA-15032: not all alterations performed
    ORA-15036: disk '/dev/iscsi/dbR1' is truncated
    ERROR: ALTER DISKGROUP ALL MOUNTAny clues?
    Thanks,
    Steve

    Thanks Markus. I changed the size of the volume back to the original and was able to restart the ASM instances on both nodes. I confirmed it saw the size as the original 200G.
    I then shut down ASM on the second node and issued the alter on the first node. Here's what happened ...
    SQL> select group_number, name, path, os_mb, total_mb, free_mb from v$asm_disk order by name;
    GROUP_NUMBER NAME       PATH                                OS_MB   TOTAL_MB    FREE_MB
               1 DATA_0000  /dev/iscsi/db1                      10245      10245      10004
               1 DATA_0001  /dev/iscsi/dbR1                    204810     204810     202402
               2 FRA_0000   /dev/iscsi/flshbk1                  20490      20490      20465
               2 FRA_0001   /dev/iscsi/flshbkR1                409605     409605     409262
               0            /dev/iscsi/rman1                    20490          0          0
               0            /dev/iscsi/rmanP1                  204810          0          0
               0            /dev/iscsi/rmanB1                  102405          0          0
               0            /dev/iscsi/rmanP11                 204805          0          0
               0            /dev/iscsi/rmanB11                 102398          0          0
               0            /dev/iscsi/rman11                   20489          0          0
    10 rows selected.
    SQL> alter diskgroup data resize disk 'data_0001' size 100g;
    alter diskgroup data resize disk 'data_0001' size 100g
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15130: diskgroup "DATA" is being dismounted
    ORA-15066: offlining disk "DATA_0001" may result in a data lossHere's the details from the alert log ...
    SQL> alter diskgroup data resize disk 'data_0001' size 100g
    NOTE: requesting all-instance membership refresh for group=1
    WARNING: cache read a corrupted block gn=1 dsk=1 blk=257 from disk 1
    NOTE: a corrupted block was dumped to /var/oracle/diag/asm/+asm/+ASM1/trace/+ASM1_ora_5295.trc
    ERROR: cache failed to read gn=1 dsk=1  blk=257 from disk(s): 1
    ORA-15196: invalid ASM block header [kfc.c:9133] [endian_kfbh] [2147483649] [257] [0 != 1]
    System State dumped to trace file /var/oracle/diag/asm/+asm/+ASM1/trace/+ASM1_ora_5295.trc
    NOTE: cache initiating offline of disk 1  group 1
    WARNING: initiating offline of disk 1.3688884620 (DATA_0001) with mask 0x7e
    NOTE: initiating PST update: grp = 1, dsk = 1, mode = 0x15
    kfdp_updateDsk(): 14
    Thu May 07 15:45:38 2009
    kfdp_updateDskBg(): 14
    ERROR: too many offline disks in PST (grp 1)
    Thu May 07 15:45:38 2009
    NOTE: halting all I/Os to diskgroup DATA
    Thu May 07 15:45:38 2009
    SQL> alter diskgroup DATA dismount force
    NOTE: active pin found: 0x0x6ddf6060
    NOTE: active pin found: 0x0x6ddf6168
    ERROR: ORA-15130 signalled during resize of diskgroup DATA
    Thu May 07 15:45:38 2009
    NOTE: membership refresh pending for group 1/0xdc0f1999 (DATA)
    kfdp_query(): 15
    kfdp_queryBg(): 15
    SUCCESS: refreshed membership for 1/0xdc0f1999 (DATA)
    ERROR: ORA-15130 thrown in RBAL for group number 1
    Errors in file /var/oracle/diag/asm/+asm/+ASM1/trace/+ASM1_rbal_5202.trc:
    ORA-15130: diskgroup "DATA" is being dismounted
    Errors in file /var/oracle/diag/asm/+asm/+ASM1/trace/+ASM1_rbal_5202.trc:
    ORA-15130: diskgroup "DATA" is being dismounted
    ORA-15032: not all alterations performed
    ORA-15130: diskgroup "DATA" is being dismounted
    ORA-15066: offlining disk "DATA_0001" may result in a data loss
    ERROR: alter diskgroup data resize disk 'data_0001' size 100g
    NOTE: cache dismounting group 1/0xDC0F1999 (DATA)
    NOTE: dbwr not being msg'd to dismount
    Thu May 07 15:45:41 2009
    Dirty detach reconfiguration started (old inc 6, new inc 6)
    List of nodes:
    0
    Global Resource Directory partially frozen for dirty detach
    * dirty detach - domain 1 invalid = TRUE
    10 GCS resources traversed, 0 cancelled
    Dirty Detach Reconfiguration complete
    Thu May 07 15:45:41 2009
    freeing rdom 1
    Thu May 07 15:45:41 2009
    WARNING: dirty detached from domain 1
    NOTE: cache dismounted group 1/0xDC0F1999 (DATA)
    kfdp_dismount(): 16
    kfdp_dismountBg(): 16
    NOTE: De-assigning number (1,0) from disk (/dev/iscsi/db1)
    NOTE: De-assigning number (1,1) from disk (/dev/iscsi/dbR1)
    SUCCESS: diskgroup DATA was dismounted
    SUCCESS: alter diskgroup DATA dismount force
    ERROR: PST-initiated MANDATORY DISMOUNT of group DATA
    Thu May 07 15:46:06 2009
    SQL> alter diskgroup data resize disk 'data_0001' size 100g
    ORA-15032: not all alterations performed
    ORA-15001: diskgroup "DATA" does not exist or is not mounted
    ERROR: alter diskgroup data resize disk 'data_0001' size 100gLooks like my earlier attempt has indeed screwed up something so even though the instances start OK and mount the diskgroup, I think there's a fair chance something would go splat sooner rather than later.
    As this is a test database, I think I'll cut my losses and rebuild the diskgroup then restore it from backup. I'm assuming the effort involved in correcting the corruption will be greater than rebuilding and restoring.
    Do you agree with this?
    Then I'll try again and hopefully get it right.
    Thanks for your help!!!
    Steve

  • DBCA Does Not Display ASM Disk Groups In 11.2.0.4

    DBCA trying to create a database with a different user oracle  than grid user. installed Grid infrastructure with user grid, and I was trying to create a database with user oracle (who’s the owner of oracle rdbms). But during this installation I wasn’t able to see any of my ASM disk. This is all under Oracle 11.2.0.4.
    what to check .. all appears ok .... at a loss at this point
    1.  asm up online   .... ok
    crs_stat -t
    Name           Type           Target    State     Host       
    ora.DATA.dg    ora....up.type ONLINE    ONLINE    sqls...r-pc
    ora.FRA.dg     ora....up.type ONLINE    ONLINE    sqls...r-pc
    ora....ER.lsnr ora....er.type ONLINE    ONLINE    sqls...r-pc
    ora.asm        ora.asm.type   ONLINE    ONLINE    sqls...r-pc
    ora.cssd       ora.cssd.type  ONLINE    ONLINE    sqls...r-pc
    ora.diskmon    ora....on.type OFFLINE   OFFLINE              
    ora.evmd       ora.evm.type   ONLINE    ONLINE    sqls...r-pc
    ora.ons        ora.ons.type   OFFLINE   OFFLINE              
    [grid@sqlservrer-PC ~]$
    2.
    2. Check your oracle binary mount point (option nosuid disable)  OK
    $ cat /etc/fstab
    UUID=f7fcc326-7c70-43ac-ba86-fe0805e1c57f /boot                   ext4    defaults        1 2
    /dev/mapper/VolGroup-loradata /oradata                ext4    defaults        1 2
    /dev/mapper/VolGroup-lorainist /orainst               ext4    defaults        1 2
    UUID=39c84d4c-6be8-4d4c-8d27-5762d2d1f7df swap                    swap    defaults        0 0
    tmpfs   
    3. ids  ok
    proc                   proc    defaults        0 0
    [grid@sqlservrer-PC ~]$ id oracle
    uid=500(oracle) gid=501(oinstall) groups=501(oinstall),500(dba),503(asmadmin),504(asmdba),505(asmoper)
    rid@sqlservrer-PC ~]$ id grid
    uid=501(grid) gid=501(oinstall) groups=501(oinstall),500(dba),503(asmadmin),504(asmdba),505(asmoper)
    4.
    4. Check  if file permissions in <Grid_home>/bin/oracle executable are set properly, it should be 6751.ok
    $ ls -l $ORACLE_HOME/bin/oracle
    -rwsr-s–x 1 grid oinstall 200678430 Jun 16 12:44 /app/11.2.0/grid/bin/oracle
    5.  ile or directory
    [grid@sqlservrer-PC ~]$ ls -alt $ORACLE_HOME/bin/oracle
    -rwsr-s--x 1 grid oinstall 209914513 Sep 17 20:02 /ora
    6. Check asm disk permissions, with two users it should be : grid — asmadmin
    $ ls -ltr /dev/oracleasm/disks/
    6.
    [grid@sqlservrer-PC ~]$ ls -altR /dev/oracleasm/disks
    /dev/oracleasm/disks:
    total 0
    brw-rw---- 1 grid asmadmin 8, 5 Sep 19 14:48 DATA1
    brw-rw---- 1 grid asmadmin 8, 6 Sep 19 14:48 FRA1
    brw-rw---- 1 grid asmadmin 8, 8 Sep 19 12:43 FRA2
    brw-rw---- 1 grid asmadmin 8, 7 Sep 19 12:42 DATA2
    drwxr-xr-x 1 root root        0 Sep 19 10:11 .
    drwxr-xr-x 4 root root        0 Sep 19 10:11 ..
    [grid@sqlservrer-PC ~]$
    5.

    Checked Metalink  apparently here is the answer.  There should be nothing wrong if you follow the above four(4)
    procedures and the output is good. Problem is when you click on ASM, click on OMF, then you have to click
    on the open pane several times before the window with Disk Groups appears.  Took 4 secs for it to appear.
    It will not be immediate.

  • Please Help - When I try to add ASM Disk to ASM Diskgroup it crashes Server

    We are using a Pillar SAN and have LUNS Created and are using the following multipath device: (I'm a DBA more then anything else... but I am rather familiar with linux .... SAN Hardware not so much)
    Device Size Mount Point
    /dev/dpda1 11G /u01
    The Above device is working fine... Below are the ASM Disks being Created
    Device Size Oracle ASM Disk Name
    /dev/dpdb1 198G ORCL1
    /dev/dpdc1 21G SIRE1
    /dev/dpdd1 21G CART1
    /dev/dpde1 21G SRTS1
    /dev/dpdf1 21G CRTT1
    I try to create to the first ASM Disk
    /etc/init.d/oracleasm createdisk ORCL1 /dev/dpdb1
    Marking disk "ORCL1" as an ASM disk: [FAILED]
    So I check the oracleasm log:
    #cat /var/log/oracleasm
    Device "/dev/dpdb1" is not a partition
    I did some research and found that this is a common problem with multipath devices and to work around it you have to use asmtool
    # /usr/sbin/asmtool -C -l /dev/oracleasm -n ORCL1 -s /dev/dpdb1 -a force=yes
    asmtool: Device "/dev/dpdb1" is not a partition
    asmtool: Continuing anyway
    now I scan and list the disks
    # /etc/init.d/oracleasm scandisks
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    # /etc/init.d/oracleasm listdisks
    ORCL1
    Here is whats going on in /var/log/messages when I run the oracleasm scandisks command
    # date
    Fri Aug 14 13:51:58 MST 2009
    # /etc/init.d/oracleasm scandisks
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    cat /var/log/messages | grep "Aug 14 13:5"
    Aug 14 13:52:06 seer kernel: dpdb: dpdb1
    Aug 14 13:52:06 seer kernel: dpdc: dpdc1
    Aug 14 13:52:06 seer kernel: dpdd: dpdd1
    Aug 14 13:52:06 seer kernel: dpde: dpde1
    Aug 14 13:52:06 seer kernel: dpdf: dpdf1
    Aug 14 13:52:06 seer kernel: dpdg: dpdg1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: printk: 30 messages suppressed.
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: sda : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sda : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sda: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sda: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sda: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sda:end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: Dev sda: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sda, logical block 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdb: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdb: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdb: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdb: sdb1
    Aug 14 13:52:06 seer kernel: SCSI device sdc: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sdc: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdc: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdc: sdc1
    Aug 14 13:52:06 seer kernel: SCSI device sdd: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdd: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdd: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdd: sdd1
    Aug 14 13:52:06 seer kernel: SCSI device sde: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sde: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sde: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sde: sde1
    Aug 14 13:52:06 seer kernel: SCSI device sdf: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdf: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdf: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdf: sdf1
    Aug 14 13:52:06 seer kernel: SCSI device sdg: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdg: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdg: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdg: sdg1
    Aug 14 13:52:06 seer kernel: SCSI device sdh: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdh: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdh: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdh: sdh1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: Buffer I/O error on device sdi, logical block 0
    Aug 14 13:52:06 seer kernel: sdi : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sdi : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sdi: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sdi: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sdi: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sdi:end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer last message repeated 4 times
    Aug 14 13:52:06 seer kernel: Dev sdi: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdj: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdj: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdj: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdj: sdj1
    Aug 14 13:52:06 seer kernel: SCSI device sdk: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sdk: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdk: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdk: sdk1
    Aug 14 13:52:06 seer kernel: SCSI device sdl: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdl: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdl: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdl: sdl1
    Aug 14 13:52:06 seer kernel: SCSI device sdm: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdm: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdm: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdm: sdm1
    Aug 14 13:52:06 seer kernel: SCSI device sdn: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdn: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdn: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdn: sdn1
    Aug 14 13:52:06 seer kernel: SCSI device sdo: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdo: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdo: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdo: sdo1
    Aug 14 13:52:06 seer kernel: SCSI device sdp: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdp: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdp: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdp: sdp1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: sdq : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sdq : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sdq: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sdq: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sdq: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sdq:end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer last message repeated 5 times
    Aug 14 13:52:06 seer kernel: Dev sdq: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdr: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdr: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdr: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdr: sdr1
    Aug 14 13:52:06 seer kernel: SCSI device sds: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sds: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sds: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sds: sds1
    Aug 14 13:52:06 seer kernel: SCSI device sdt: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdt: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdt: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdt: sdt1
    Aug 14 13:52:06 seer kernel: SCSI device sdu: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdu: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdu: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdu: sdu1
    Aug 14 13:52:06 seer kernel: SCSI device sdv: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdv: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdv: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdv: sdv1
    Aug 14 13:52:06 seer kernel: SCSI device sdw: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdw: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdw: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdw: sdw1
    Aug 14 13:52:06 seer kernel: SCSI device sdx: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdx: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdx: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdx: sdx1
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: sdy : READ CAPACITY failed.
    Aug 14 13:52:06 seer kernel: sdy : status=1, message=00, host=0, driver=08
    Aug 14 13:52:06 seer kernel: sd: Current: sense key: Illegal Request
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sdy: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sdy: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sdy: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sdy:end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer last message repeated 5 times
    Aug 14 13:52:06 seer kernel: Dev sdy: unable to read RDB block 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: end_request: I/O error, dev sdy, sector 0
    Aug 14 13:52:06 seer kernel: unable to read partition table
    Aug 14 13:52:06 seer kernel: SCSI device sdz: 21502464 512-byte hdwr sectors (11009 MB)
    Aug 14 13:52:06 seer kernel: sdz: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdz: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdz: sdz1
    Aug 14 13:52:06 seer kernel: SCSI device sdaa: 421476864 512-byte hdwr sectors (215796 MB)
    Aug 14 13:52:06 seer kernel: sdaa: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdaa: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdaa: sdaa1
    Aug 14 13:52:06 seer kernel: SCSI device sdab: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdab: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdab: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdab: sdab1
    Aug 14 13:52:06 seer kernel: SCSI device sdac: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdac: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdac: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdac: sdac1
    Aug 14 13:52:06 seer kernel: SCSI device sdad: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdad: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdad: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdad: sdad1
    Aug 14 13:52:06 seer kernel: SCSI device sdae: 43006464 512-byte hdwr sectors (22019 MB)
    Aug 14 13:52:06 seer kernel: sdae: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdae: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdae: sdae1
    Aug 14 13:52:06 seer kernel: SCSI device sdaf: 2107390464 512-byte hdwr sectors (1078984 MB)
    Aug 14 13:52:06 seer kernel: sdaf: Write Protect is off
    Aug 14 13:52:06 seer kernel: SCSI device sdaf: drive cache: write through w/ FUA
    Aug 14 13:52:06 seer kernel: sdaf: sdaf1
    Aug 14 13:52:06 seer kernel: scsi_wr_disk: unknown partition table
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sda, sector 0
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sdi, sector 0
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sdq, sector 0
    Aug 14 13:52:07 seer kernel: end_request: I/O error, dev sdy, sector 0
    Here's some extra info:
    # /sbin/blkid | grep asm
    /dev/sdc1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/sdk1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/sds1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/sdaa1: LABEL="ORCL1" TYPE="oracleasm"
    /dev/dpdb1: LABEL="ORCL1" TYPE="oracleasm"
    I have learned that by excluding devices in the oracleasm configuration file I eliminate those I/O errors in /var/log/messages
    # cat /etc/sysconfig/oracleasm
    # This is a configuration file for automatic loading of the Oracle
    # Automatic Storage Management library kernel driver. It is generated
    # By running /etc/init.d/oracleasm configure. Please use that method
    # to modify this file
    # ORACLEASM_ENABELED: 'true' means to load the driver on boot.
    ORACLEASM_ENABLED=true
    # ORACLEASM_UID: Default user owning the /dev/oracleasm mount point.
    ORACLEASM_UID=oracle
    # ORACLEASM_GID: Default group owning the /dev/oracleasm mount point.
    ORACLEASM_GID=oinstall
    # ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on boot.
    ORACLEASM_SCANBOOT=true
    # ORACLEASM_SCANORDER: Matching patterns to order disk scanning
    ORACLEASM_SCANORDER="dp sd"
    # ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
    ORACLEASM_SCANEXCLUDE="sdc sdk sds sdaa sda"
    # ls -la /dev/oracleasm/disks/
    total 0
    drwxr-xr-x 1 root root 0 Aug 14 10:47 .
    drwxr-xr-x 4 root root 0 Aug 13 15:32 ..
    brw-rw---- 1 oracle oinstall 251, 33 Aug 14 13:46 ORCL1
    Now I can go into dbca to create the ASM instance, which starts up fine...  create a new diskgroup, I see ORCL1 as a provision ASM disk I select it ...  Click OK
    CRASH!!!  Box hangs have to reboot it....
    I have gotten myself to exactly the same point right before clicking OK and here is what is in the ASM alertlog so far
    Fri Aug 14 14:42:02 2009
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/oracle/product/11.1.0/db_1/dbs/arch
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =0
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 11.1.0.6.0.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.1.0/db_1/dbs/spfile+ASM.ora
    System parameters with non-default values:
    large_pool_size = 12M
    instance_type = "asm"
    diagnostic_dest = "/u01/app/oracle"
    Fri Aug 14 14:42:04 2009
    PMON started with pid=2, OS id=3300
    Fri Aug 14 14:42:04 2009
    VKTM started with pid=3, OS id=3302 at elevated priority
    VKTM running at (20)ms precision
    Fri Aug 14 14:42:04 2009
    DIAG started with pid=4, OS id=3306
    Fri Aug 14 14:42:04 2009
    PSP0 started with pid=5, OS id=3308
    Fri Aug 14 14:42:04 2009
    DSKM started with pid=6, OS id=3310
    Fri Aug 14 14:42:04 2009
    DIA0 started with pid=7, OS id=3312
    Fri Aug 14 14:42:04 2009
    MMAN started with pid=8, OS id=3314
    Fri Aug 14 14:42:04 2009
    DBW0 started with pid=9, OS id=3316
    Fri Aug 14 14:42:04 2009
    LGWR started with pid=6, OS id=3318
    Fri Aug 14 14:42:04 2009
    CKPT started with pid=10, OS id=3320
    Fri Aug 14 14:42:04 2009
    SMON started with pid=11, OS id=3322
    Fri Aug 14 14:42:04 2009
    RBAL started with pid=12, OS id=3324
    Fri Aug 14 14:42:04 2009
    GMON started with pid=13, OS id=3326
    ORACLE_BASE from environment = /u01/app/oracle
    Fri Aug 14 14:42:04 2009
    SQL> ALTER DISKGROUP ALL MOUNT
    Fri Aug 14 14:42:41 2009
    At this point I don't want to click the OK until I am sure someone is in the office to reboot the machine manually if I do hang it again....  I hung it twice yesterday, however I did not have the devices excluded in the oracleasm configuration file as i do now
    Edited by: user10193377 on Aug 14, 2009 3:23 PM
    Well Clicking OK hun it again and I am waiting to get back into it, to see what new information might be gleened
    Does anyone have any ideas on what to check or where to look?????    Will update more once I can log back in

    Hi Mark,
    It looks like something is not correct with your raw device partition based on the error messages:
    Aug 14 13:52:06 seer kernel: Add. Sense: Logical unit not supported
    Aug 14 13:52:06 seer kernel:
    Aug 14 13:52:06 seer kernel: sda: test WP failed, assume Write Enabled
    Aug 14 13:52:06 seer kernel: sda: asking for cache data failed
    Aug 14 13:52:06 seer kernel: sda: assuming drive cache: write through
    Aug 14 13:52:06 seer kernel: sda:end_request: I/O error, dev sda, sector 0
    It could be a number of things. I would check with your vendor and Oracle support to see if the multipath software drive is supported and if there is a potential workaround for ASM. Sorry this is not quite the solution, but its what jumps to mind based on issues with multipath software and storage vendors for ASM with Linux and Oracle. Have you checked the validation matrix available on Metalink?
    Cheers,
    Ben

  • Creation of ASM disk for OUI

    I need to install a Oracle Database in order to install Enterprise Manager Cloud Control 12c.
    Need the database to use a ASM disk.
    I used the following command to create the disk, per the Oracle Database Installation Guide.
    #/usr/sbin/oracleasm createdisk DISK1 /dev/sdd1
    #oracleasm listdisks
    DISK1
    However, when running the OUI for Oracle Database 12c (understand 11.2.0.3 is certified for Cloud Control), step 7
    errors INS-30517 when attempting to select "Oracle Automatic Storage Management" for "Storage type".
    Researched the error at this location but no cause or action was provided.
    http://docs.oracle.com/cd/E16655_01/server.121/e26079/common_errormessages.htm
    INS-30517: Automatic Storage Management software is not configured on this system.
    The database install guide states that I need to ensure the "disk discovery string" is set the "ORCL:*" or is left empy ("") so the installer discovers these disks.
    It doesn't show how to confirm or change the settings.
    At this point I'm at a stopping point.

    All ASMLib installations require the oracleasmlib and oracleasm-support packages. The oracleasm kernel driver is included in the Oracle UEK kernel. Perhaps you are missing the oracleasmlib package. You can download it from:
    Oracle Linux: Oracle ASMLib | Oracle Technology Network
    Oracleasmlib is not necessary for ASM to work, but it contains software necessary for Linux oracleasm, including the /usr/sbin/oracleasm-discover utility, which the Oracle installer used in the previous 11g version to detect available ASM volumes.

  • INS-30508 Invalid ASM disks on 11.2.0.3 OL 6.2 grid standalone install

    New set of Dell servers R710s running OL 6.2 redhat compatible kernel
    $ uname -a
    Linux seoltpo-02 2.6.32-220.el6.x86_64
    Connected to EMC VNX5500 and using powerpath 5.6.0. Not a rac environment ... doing 11.2.0.3 base install of grid infrastructure for a standalone server.
    Not using ASMLIB.
    Disk permissions are correct as grid install begins ...
    brw-rw---- 1 grid oinstall 120, 704 Jul 26 21:18 emcpoweras
    brw-rw---- 1 grid oinstall 120, 720 Jul 26 21:18 emcpowerat
    brw-rw---- 1 grid oinstall 120, 736 Jul 26 21:18 emcpowerau
    brw-rw---- 1 grid oinstall 120, 752 Jul 26 21:18 emcpowerav
    brw-rw---- 1 grid oinstall 120, 768 Jul 26 21:18 emcpoweraw
    brw-rw---- 1 grid oinstall 120, 784 Jul 26 21:18 emcpowerax
    brw-rw---- 1 grid oinstall 120, 800 Jul 26 21:18 emcpoweray
    brw-rw---- 1 grid oinstall 120, 816 Jul 26 21:18 emcpoweraz
    GUI installer sees the powerpath LUNs after changing the Disk Discovery path ... for example ....
    INFO: ... discoveryString = /dev/emcpower*
    INFO: Executing [tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod, nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/emcpower*']
    with environment variables {XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, LANG=en_US.UTF-8, DISPLAY=191.4.0.79:0, PWD=/u01/software_install/11_2_base/grid, _=/u01/software_install/11_2_base/grid/install/.oui, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USER=grid, QTINC=/usr/lib64/qt-3.3/include, CLASSPATH=, G_BROKEN_FILENAMES=1, HOME=/home/grid, HOSTNAME=waoltpo-02, MODULESHOME=/usr/share/Modules, LESSOPEN=|/usr/bin/lesspipe.sh %s, LD_LIBRARY_PATH=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/../lib, ORACLE_HOME=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin, LOGNAME=grid, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SHELL=/bin/bash, CVS_RSH=ssh, SHLVL=2, HISTCONTROL=ignoredups, KDE_IS_PRELINKED=1, MAIL=/var/spool/mail/grid, QTDIR=/usr/lib64/qt-3.3, JAVA_HOME=, QTLIB=/usr/lib64/qt-3.3/lib, MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles, LS_COLORS=, LC_ALL=, KDEDIRS=/usr, HISTSIZE=1000, module=() {  eval `/usr/bin/modulecmd bash $*`
    }, LOADEDMODULES=, TERM=vt220, PATH=/usr/bin:/usr/ccs/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/etc/opt/emcpower/bin:/home/grid/bin:/u01/software_install/11_2_base/grid/install}
    INFO: Starting Output Reader Threads for process /tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweras grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerat grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerau grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerav grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweraw grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpowerax grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweray grid oinstall
    INFO: Parsing 40960 CANDIDATE /dev/emcpoweraz grid oinstall
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweru
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweru"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    *** Of course there are other LUNs not going to be part of ASM disk groups so it cannot read all of them initially.
    Somehow after first looking at the disks and seeing them the first time the permissions are changed back on the disks over to root:root as soon as the GUI sees the disks.
    You select the disks that you want in the GUI ( but the permissions have been changed already ) so click Next and wham INS 30508 ...
    The Install log shows that kfod is apparently scanning the disks a bunch of time ... but before the error appears install log sees that permissions have changed.
    Somehow actions caused from running the GUI are changing the permissions? Something is wrong somewhere ... powerpath ? 11.2.0.3 on this kernel version ? Seems very bizarre ...
    NFO: Executing [tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod, nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/emcpoweras','/dev/emcpowerat','/dev/emcpowerau','/dev/emcpowerav','/dev/emcpoweraw','/dev/emcpowerax','/dev/emcpoweray','/dev/emcpoweraz']
    with environment variables {XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, LANG=en_US.UTF-8, DISPLAY=191.4.0.79:0, PWD=/u01/software_install/11_2_base/grid, _=/u01/software_install/11_2_base/grid/install/.oui, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, USER=grid, QTINC=/usr/lib64/qt-3.3/include, CLASSPATH=, G_BROKEN_FILENAMES=1, HOME=/home/grid, HOSTNAME=waoltpo-02, MODULESHOME=/usr/share/Modules, LESSOPEN=|/usr/bin/lesspipe.sh %s, LD_LIBRARY_PATH=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/../lib, ORACLE_HOME=/tmp/OraInstall2012-07-28_03-19-37AM/ext/bin, LOGNAME=grid, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SHELL=/bin/bash, CVS_RSH=ssh, SHLVL=2, HISTCONTROL=ignoredups, KDE_IS_PRELINKED=1, MAIL=/var/spool/mail/grid, QTDIR=/usr/lib64/qt-3.3, JAVA_HOME=, QTLIB=/usr/lib64/qt-3.3/lib, MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles, LS_COLORS=, LC_ALL=, KDEDIRS=/usr, HISTSIZE=1000, module=() {  eval `/usr/bin/modulecmd bash $*`
    }, LOADEDMODULES=, TERM=vt220, PATH=/usr/bin:/usr/ccs/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/dell/srvadmin/bin:/etc/opt/emcpower/bin:/home/grid/bin:/u01/software_install/11_2_base/grid/install}
    INFO: Starting Output Reader Threads for process /tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweraz
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweraz"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: The process /tmp/OraInstall2012-07-28_03-19-37AM/ext/bin/kfod exited with code 0
    INFO: Waiting for output processor threads to exit.
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweray
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweray"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerax
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerax"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweraw
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweraw"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerav
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerav"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerau
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerau"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpowerat
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpowerat"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Parsing KFOD-00311: Error scanning device /dev/emcpoweras
    INFO: Parsing ORA-15025: could not open disk "/dev/emcpoweras"
    INFO: Parsing Linux-x86_64 Error: 13: Permission denied
    INFO: Parsing Additional information: 42
    INFO: Parsing Additional information: 12247695
    INFO: Parsing Additional information: 1598903119
    INFO: Output processor threads exited.
    SEVERE: [FATAL] [INS-30508] Invalid ASM disks.
    CAUSE: The disks [dev/emcpoweras, /dev/emcpowerat, /dev/emcpowerau, /dev/emcpowerav, /dev/emcpoweraw, /dev/emcpowerax, /dev/emcpoweray, /dev/emcpoweraz] were not valid.
    ACTION: Please choose or enter valid ASM disks.
    INFO: Advice is ABORT
    INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
    INFO: Completed validating state <CreateASMDiskGroup>
    INFO: Terminating all background operations
    INFO: Terminated all background operations
    INFO: Transition aborted
    INFO: Rolled back to state <CreateASMDiskGroup>
    Is there some kind of configuration steps I am missing somewhere?
    Yeah I know probably going to have to open an SR here but some of you guys around here are pretty sharp. Can I attach the whole install log here somehow?

    Well I am not exactly opposed to udev rules for the powerpath devices ... not that I know what that is exactly ... if this can fix my problem.
    I found an example or two from google ...
    It looks like on my OL 6.2 system there is a difference in the files ( rules I guess ) under /etc/udev/rules.d
    # *** OL 5.7 system below
    $ ls -ltr
    total 232
    -rw-r--r-- 1 root root 1088 Jun 6 2007 60-pcmcia.rules
    -rw-r--r-- 1 root root 58016 Jun 6 2007 60-libsane.rules
    -rw-r--r-- 1 root root 2319 Jul 14 2008 bluetooth.rules
    -rw-r--r-- 1 root root 114 Nov 5 2008 90-alsa.rules
    -rw-r--r-- 1 root root 1823 Nov 5 2008 85-pcscd_ccid.rules
    -rw-r--r-- 1 root root 316 Dec 8 2010 60-raw.rules
    -rw-r--r-- 1 root root 82 Jan 13 2011 90-hal.rules
    -rw-r--r-- 1 root root 77 Mar 25 2011 05-udev-pp.rules
    -rw-r--r-- 1 root root 292 May 11 2011 98-kexec.rules
    -rw-r--r-- 1 root root 143 Jun 7 2011 60-net.rules
    -rw-r--r-- 1 root root 331 Jun 9 2011 90-ib.rules
    -rw-r--r-- 1 root root 992 Jul 8 2011 40-multipath.rules
    -rw-r--r-- 1 root root 9366 Jul 22 2011 60-wacom.rules
    -rw-r--r-- 1 root root 107 Jul 22 2011 95-pam-console.rules
    -rw-r--r-- 1 root root 61 Jul 22 2011 90-dm.rules
    -rw-r--r-- 1 root root 471 Jul 22 2011 51-hotplug.rules
    -rw-r--r-- 1 root root 16732 Jul 22 2011 50-udev.rules
    -rw-r--r-- 1 root root 515 Jul 22 2011 05-udev-early.rules
    -rw-r--r-- 1 root root 175 Jul 22 2011 88-clock.rules
    # *** OL 6.2 system below
    $ ls -ltr
    total 64
    # *** OL 6.2 system below
    $ ls -ltr
    total 64
    -rw-r--r--. 1 root root 1914 Apr 27 2010 85-pcscd_ccid.rules
    -rw-r--r--. 1 root root 320 Jul 2 2010 90-alsa.rules
    -rw-r--r--. 1 root root 1060 Jul 24 2010 60-pcmcia.rules
    -rw-r--r--. 1 root root 1652 Nov 20 2010 60-fprint-autosuspend.rules
    -rw-r--r--. 1 root root 2486 Dec 23 2010 97-bluetooth-serial.rules
    -rw-r--r-- 1 root root 935 Mar 7 2011 95-dataeng-udev.rules
    -rw-r--r-- 1 root root 77 Mar 25 2011 05-udev-pp.rules
    -rw-r--r--. 1 root root 706 Mar 29 2011 56-hpmud_support.rules
    -rw-r--r--. 1 root root 6858 Mar 29 2011 40-hplip.rules
    -rw-r--r--. 1 root root 83 May 20 2011 90-hal.rules
    -rw-r--r--. 1 root root 316 Oct 13 2011 60-raw.rules
    -rw-r--r--. 1 root root 54 Dec 7 2011 99-fuse.rules
    -rw-r--r--. 1 root root 292 Dec 7 2011 98-kexec.rules
    -rw-r--r--. 1 root root 53 Dec 7 2011 91-drm-modeset.rules
    -rw-r--r--. 1 root root 789 Jul 19 07:28 70-persistent-cd.rules
    ??? So no file 50-udev.rules ... in the 6.2 system ??? But tons of stuff in the 5.7 system ...

  • Taking cluster disk offline made all other resources in the group to go offline.

    Hi,
    We have three node windows 2008 R2 failover cluster. When we tried to take one of the cluster disk offline from a application and services, it made all other resources in that application and services to go offline even though there was no dependency on
    this disk. I want to know why it made all other resources to go offline. Can some one clarify please? Is it a default behavior?
    Umesh

    "When we tried to take one of the cluster disk offline from a application and services, it made all other resources in that application and services to go offline even though there was no dependency on this disk."
    I'm a little unclear on your problem description.  You state you are taking a "disk offline from a application and services".  That implies the disk is necessary for the application and/or service, otherwise there is no way to take it
    offline from that application and/or service.  Then you state "there was no dependency on this disk".  If there was no dependency on the disk, how you could take it "offline from a application and services"?
    Using the Failover Cluster Manager consolde, select one of the resources that is going offline.  Click on the Resources tab at the bottom of the center window.  That resource does not show any dependency on the disk being taken offline? 
    Does it show dependency on any other resource that is dependent upon the disk you are taking offline?
    . : | : . : | : . tim

  • ASM Disk Mount Error

    Hi,
    I am consistently getting the following error since yesterday while mounting the ASM disk.
    1. I created the ASM disks successfully and created the appropriate ASM DiskGroups using asmca utility.
    2. I was able to see the diskgroups as mounted from asmcmd tool.
    3. All of a sudden, all the diskgroups were dismounted yesterday and I see the following error in the alert logs for all the
    diskgroups.
    4. This is using ASM11g
    As I exhausted all my avenues to fix, I have turned to you for further assistance. Please do the needful.
    SQL> /* ASMCMD */ALTER DISKGROUP DataVSPSI MOUNT
    NOTE: cache registered group DATAVSPSI number=3 incarn=0x7934bf5d
    NOTE: cache began mount (first) of group DATAVSPSI number=3 incarn=0x7934bf5d
    NOTE: Assigning number (3,0) to disk (ORCL:D01_VSP_SI)
    Thu Dec 27 17:38:29 2012
    NOTE: start heartbeating (grp 3)
    kfdp_query(DATAVSPSI): 11
    kfdp_queryBg(): 11
    NOTE: cache opening disk 0 of grp 3: D01_VSP_SI label:D01_VSP_SI
    NOTE: F1X0 found on disk 0 au 2 fcn 0.0
    NOTE: cache mounting (first) external redundancy group 3/0x7934BF5D (DATAVSPSI)
    NOTE: starting recovery of thread=1 ckpt=2.1 group=3 (DATAVSPSI)
    WARNING: IO Failed. group:3 disk(number.incarnation):0.0xeae44fae disk_path:ORCL:D01_VSP_SI
    AU:4 disk_offset(bytes):4333568 io_size:122880 operation:Read type:asynchronous
    result:I/O error process_id:32162
    WARNING: IO Failed. group:3 disk(number.incarnation):0.0xeae44fae disk_path:ORCL:D01_VSP_SI
    AU:4 disk_offset(bytes):4202496 io_size:131072 operation:Read type:asynchronous
    result:I/O error process_id:32162
    ORA-15080: synchronous I/O operation to a disk failed
    ERROR: ASM recovery failed to read ACD
    NOTE: cache initiating offline of disk 0 group DATAVSPSI
    NOTE: process 32162 initiating offline of disk 0.3940831150 (D01_VSP_SI) with mask 0x7e in group 3
    WARNING: Disk D01_VSP_SI in mode 0x7f is now being taken offline
    NOTE: initiating PST update: grp = 3, dsk = 0/0xeae44fae, mode = 0x15
    kfdp_updateDsk(): 12
    kfdp_updateDskBg(): 12
    ERROR: too many offline disks in PST (grp 3)
    WARNING: Disk D01_VSP_SI in mode 0x7f offline aborted
    Thu Dec 27 17:38:29 2012
    NOTE: halting all I/Os to diskgroup DATAVSPSI
    NOTE: crash recovery signalled OER-15130
    ERROR: ORA-15130 signalled during mount of diskgroup DATAVSPSI
    NOTE: cache dismounting (clean) group 3/0x7934BF5D (DATAVSPSI)
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 3/0x7934BF5D (DATAVSPSI)
    Also, I think the lower level disk is fine as I am able to write to the disk as follows :
    [oracle@rmanqa01 trace]$ dd of=/dev/sdp1
    Test Test
    0+1 records in
    0+1 records out
    10 bytes (10 B) copied, 4.97435 seconds, 0.0 kB/s
    [oracle@rmanqa01 trace]$ id
    uid=500(oracle) gid=500(oinstall) groups=6(disk),500(oinstall),501(dba),502(oper),503(asmadmin),504(asmdba),505(asmoper),506(horcm)
    [oracle@rmanqa01 trace]$ ls -l /dev/sdp1
    brw-rw---- 1 root disk 8, 241 Dec 28 11:59 /dev/sdp1
    [oracle@rmanqa01 trace]$
    The oracleasm also lists the disk D01_VSP_SI as follows :
    [root@rmanqa01 log]# /etc/init.d/oracleasm listdisks
    A01_VSP_SI
    ADSK01
    ARCH_AMS_SI
    D01_VSP_SI
    DATA_AMS_SI
    DDSK01
    DEMO_ARCH
    DEMO_DATA
    L01_VSP_SI
    RDSK01
    REDO_AMS_SI
    You have new mail in /var/spool/mail/root
    [root@rmanqa01 log]# /etc/init.d/oracleasm querydisk D01_VSP_SI
    Disk "D01_VSP_SI" is a valid ASM disk
    [root@rmanqa01 log]#
    kfed tool was giving proper data till yesterday.
    Today, I am getting the following :
    ./kfed read /dev/oracleasm/disks/D01_VSP_SI
    kfbh.endian: 84 ; 0x000: 0x54
    kfbh.hard: 101 ; 0x001: 0x65
    kfbh.type: 115 ; 0x002: *** Unknown Enum ***
    kfbh.datfmt: 116 ; 0x003: 0x74
    kfbh.block.blk: 1936020512 ; 0x004: T=0 NUMB=0x73655420
    kfbh.block.obj: 2147486324 ; 0x008: TYPE=0x8 NUMB=0xa74
    kfbh.check: 2886846267 ; 0x00c: 0xac11c73b
    kfbh.fcn.base: 0 ; 0x010: 0x00000000
    kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
    kfbh.spare1: 0 ; 0x018: 0x00000000
    kfbh.spare2: 0 ; 0x01c: 0x00000000
    ERROR!!!, failed to get the oracore error message
    [oracle@rmanqa01 bin]$
    Please help.
    Thanks
    V V
    Edited by: user13479556 on Dec 28, 2012 12:00 PM

    Thanks Berx for pointing that out.
    I deleted the ASM disks and the diskgroups and re-created a fresh and was able to start the ASM instance and mount the DGs.
    Now the mount is persistent, but the dbca fails with the following error in the alert log. Under what situations can this error be seen ?
    NOTE: Loaded library: System
    SUCCESS: diskgroup DATAAMSSI was mounted
    SUCCESS: diskgroup ARCHAMSSI was mounted
    ERROR: failed to establish dependency between database R3AMSSI and diskgroup resource ora.DATAAMSSI.dg*ERROR: failed to establish dependency between database R3AMSSI and diskgroup resource ora.ARCHAMSSI.dg*Mon Dec 31 20:25:25 2012
    SUCCESS: diskgroup LOGAMSSI was mounted
    Mon Dec 31 20:25:25 2012
    ERROR: failed to establish dependency between database R3AMSSI and diskgroup resource ora.LOGAMSSI.dg
    Mon Dec 31 20:25:25 2012
    Successful mount of redo thread 1, with mount id 784925673
    Completed: Create controlfile reuse set database "R3AMSSI"
    MAXINSTANCES 8
    MAXLOGHISTORY 1
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    Datafile
    '+DATAAMSSI/R3AMSSI/system01.dbf',
    '+DATAAMSSI/R3AMSSI/sysaux01.dbf',
    '+DATAAMSSI/R3AMSSI/undotbs01.dbf',
    '+DATAAMSSI/R3AMSSI/users01.dbf'
    LOGFILE GROUP 1 ('+LOGAMSSI/R3AMSSI/redo01.log') SIZE 51200K,
    GROUP 2 ('+LOGAMSSI/R3AMSSI/redo02.log') SIZE 51200K,
    GROUP 3 ('+LOGAMSSI/R3AMSSI/redo03.log') SIZE 51200K RESETLOGS
    Stopping background process MMNL
    Stopping background process MMON
    Starting background process MMON
    Starting background process MMNL
    Mon Dec 31 20:25:28 2012
    MMON started with pid=17, OS id=10452
    ALTER SYSTEM enable restricted session;
    Mon Dec 31 20:25:28 2012
    MMNL started with pid=18, OS id=10454
    alter database "R3AMSSI" open resetlogs
    RESETLOGS after incomplete recovery UNTIL CHANGE 945183
    Errors in file /u01/app/oracle/diag/rdbms/r3amssi/R3AMSSI/trace/R3AMSSI_ora_10434.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+LOGAMSSI/r3amssi/redo01.log'
    ORA-17503: ksfdopn:2 Failed to open file +LOGAMSSI/r3amssi/redo01.log
    ORA-15173: entry 'redo01.log' does not exist in directory 'r3amssi'
    Errors in file /u01/app/oracle/diag/rdbms/r3amssi/R3AMSSI/trace/R3AMSSI_ora_10434.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+LOGAMSSI/r3amssi/redo01.log'
    ORA-17503: ksfdopn:2 Failed to open file +LOGAMSSI/r3amssi/redo01.log
    ORA-15173: entry 'redo01.log' does not exist in directory 'r3amssi'
    Mon Dec 31 20:25:29 2012
    Checker run found 5 new persistent data failures
    Mon Dec 31 20:27:07 2012
    I can verify from asmcmd that the redologs mentioned above as missing is very much present in '+LOGAMSSI/R3AMSSI'
    Thanks
    V V

  • ASM disk added without scan on second node

    Hi All ,
    Oracle Version:11.2.0.3
    I need one help for one issue with ASM disk addition.
    It is a two node RAC and one disk group was filled.
    One disk was available as UNUSED001 and so we renamed it ran scan disk  and added the disk to the diskgroup on node1.
    But , as we did not run the scan disk on second node , the name is still showing as UNUSED001 and assigned to diskgroup so showing as MEMBER.
    Also, the renamed disk is also showing as MEMBER but not assigned with any diskgroup.
    Usually, when this heppens we have to reboot the node to fix the issue , but would like to get idea if this can be fixed without bouncing nodes.

    Hi ,
    + Probably that disk addition failed with ORA-15075 as same named device is not visible after renaming of disk.
      As this validation takes place after writing disk header ,it is showing as MEMBER.
    + Get downtime of cluster on 2nd node and run scandisks on 2nd node.
    + Now renamed disk should be showing up on node 2.
    + if showing up ,then validate .
    -- All expected diskgroups were mounted on both nodes or not
    sql> select inst_id,name,state from gv$asm_diskgroup;
    -- If mounted validate that renamed disk group_number and mount_status
    sql> col path for a30
    sql> select inst_id,group_number,path,mount_status from gv$asm_disk;
    + If group_number is 0 and mount_status is CLOSED ,then it is not part of any mounted diskgroup.
      Add that disk again with force option in same diskgroup.
    sql> alter diskgroup <diskgroup_name> add disk 'ORCL:<LABEL_NAME>' force;
    And allow rebalance to complete.
    Regards,
    Aritra

  • How to move or migrate whole directories between ASM disk groups?

    Hello everyone!
    I'm playing around with Oracle ASM and Oracle Database (11g R1), I'm a student. This is just for testing purposes.
    Computer specifications are:
    Processor: Intel Pentium 4 HT 3.00 Ghz.
    RAM Memory: 2 GB.
    Hard Disk: 250 GB
    O.S.: Windows XP Professional Edition SP 2.
    I installed Oracle ASM, I created an ASM disk group (+FRA), I installed Oracle Database and I created a testing database. The database is working properly over the ASM disk group. Days ago, I got help about the initialization parameters DB_CREATE_FILE_DEST, DB_CREATE_ONLINE_LOG_DEST_1, DB_CREATE_ONLINE_LOG_DEST_2 and DB_RECOVERY_FILE_DEST, based on their function, I created another 3 ASM disk groups (+FILES, LOG1, LOG2). Currently, the four initialization parameters are pointing to its corresponding ASM disk group. As you can deduce, at the installation moment of the Oracle Database I used the ASM disk group "+FRA" and inside it were created the directories: CONTROLFILE, DATAFILE, ONLINELOG, PARAMETERFILE, TEMPFILE and the SPFile.
    My point is I wanna move or migrate the directories DATAFILE, PARAMETERFILE, TEMPFILE and the SPFile to "+FILES", ONLINELOG and CONTROLFILE to "+LOG1" and "+LOG2", this way, the ASM disk group "+FRA" will contain the Flash Recovery Area only. What is the procedure to do this?
    Thanks in advance!

    user1987306 wrote:
    Hello everyone!
    My point is I wanna move or migrate the directories DATAFILE, PARAMETERFILE, TEMPFILE and the SPFile to "+FILES", ONLINELOG and CONTROLFILE to "+LOG1" and "+LOG2", this way, the ASM disk group "+FRA" will contain the Flash Recovery Area only. What is the procedure to do this?
    Thanks in advance!
    Hi,
    There are couple of approaches you can use, here is some of them
    - To move datafile, start the database in mount state
    RMAN > copy datafile '+FRA/xxx' to '+FILES1';
    SQL > alter database rename file '+FRA/xxx' to '+FILES1/xxx';
    - To move tempfile
    SQL > alter tablespace TEMP add tempfile '+FILES1' SIZE 10M;
    SQL > alter database tempfile '+FRA/xxx' drop;
    - To move onlinelog
    SQL > alter database add logfile member '+LOG1' to group 1;
    SQL > alter database add logfile member '+LOG2' to group 1;
    SQL > alter database drop logfile member '+FRA/xxx';
    - To move controlfile
    SQL > restore controlfile to '+FILES1' from '+FRA/xxx';
    update the spfile to reflect new location of controlfile
    Cheers

  • Rebuild ASM Disk - Copying multiple datafiles from one disk to another

    Hi,
    I have an environment of four 11GR2 Oracle databases on a Linux server. Each database has its own ASM disk.
    DB1 -> ASM_DISK1
    DB2 -> ASM_DISK2
    DB3 -> ASM_DISK3
    DB4 -> ASM_DISK4
    I need to rebuild one of the ASM disks (ASM_DISK1), but first I need to copy all of the datafiles to another disk (ASM_DISK2). I tried backing up the database using RMAN, but it was taking too long (nearly two days when I cancelled it). So now I am going to copy the files using ASMCMD CP command.
    Basically my task is as follows:
    1. Shutdown database.
    2. Copy all data from ASM_DISK1 to ASM_DISK2.
    3. Drop ASM_DISK1.
    4. Re-create ASM_DISK1.
    5. Copy all data back to ASM_DISK1.
    6. Start database.
    Database size is 700GB.
    I am using the below script to copy the files.
    Copy Script
    ================
    asmcmd ls +ASM_DISK1/DB1/DATAFILE >> asm_list.txt
    for FILENAME in `cat asm_list.txt`
    do
    asmcmd >> asm_LOG.log <<EOF
    cp ASM_DISK1/DB1/DATAFILE/$FILENAME ASM_DISK2/DB1_BACKUP/DATAFILE/$FILENAME.dbf
    EOF
    done
    ================
    I will then rename each file in the database like so:
    alter database rename file '+ASM_DISK1/DB1/DATAFILE/filename' to '+ASM_DISK1/DB1/DATAFILE/filename.dbf'
    My questions are as follows.
    Is this approach a valid solution?
    Will renaming the files during copy corrupt the files?
    When I copy the files back to the original disk after rebuild, then rename them, will the database be able to start?
    Rgs,
    Rob

    rgilligan_tnf wrote:
    Hi,
    I have an environment of four 11GR2 Oracle databases on a Linux server. Each database has its own ASM disk.
    DB1 -> ASM_DISK1
    DB2 -> ASM_DISK2
    DB3 -> ASM_DISK3
    DB4 -> ASM_DISK4
    I need to rebuild one of the ASM disks (ASM_DISK1), but first I need to copy all of the datafiles to another disk (ASM_DISK2). I tried backing up the database using RMAN, but it was taking too long (nearly two days when I cancelled it). So now I am going to copy the files using ASMCMD CP command.
    And how do you propose to update the controlfile to point to the new location?
    unless your datafiles are offline and/or the database is down, you will corrupt them and have an unusable database when you finish.
    how were you doing this with RMAN? Depending on the size of your database(700G), it very well could take some time. I have restored databases at a rate of >300G/hr from scratch. You will need to shutdown at some point to relocate the controlfiles and system and redo logfiles.
    Just curious, what is the problem with diskgroup ASM_DISK1 that you want to rebuild it?
    Basically my task is as follows:
    1. Shutdown database.
    2. Copy all data from ASM_DISK1 to ASM_DISK2.
    3. Drop ASM_DISK1.
    4. Re-create ASM_DISK1.
    5. Copy all data back to ASM_DISK1.
    6. Start database.
    Database size is 700GB.
    I am using the below script to copy the files.
    Copy Script
    ================
    asmcmd ls +ASM_DISK1/DB1/DATAFILE >> asm_list.txt
    for FILENAME in `cat asm_list.txt`
    do
    asmcmd >> asm_LOG.log <<EOF
    cp ASM_DISK1/DB1/DATAFILE/$FILENAME ASM_DISK2/DB1_BACKUP/DATAFILE/$FILENAME.dbf
    EOF
    done
    ================
    I will then rename each file in the database like so:
    alter database rename file '+ASM_DISK1/DB1/DATAFILE/filename' to '+ASM_DISK1/DB1/DATAFILE/filename.dbf'
    My questions are as follows.
    Is this approach a valid solution?
    Will renaming the files during copy corrupt the files?
    When I copy the files back to the original disk after rebuild, then rename them, will the database be able to start?
    Rgs,
    Rob

  • Dbca is not seeing ASM disks

    I am installing standalone Oracle Enterprise edition (11.2.0.1) database on OEL 6 (ed Hat Enterprise Linux Server release 6.4) with 2.6.39-400.24.1.el6uek.x86_64 kernel on vmware workstation 9.0.2.
    I installed grid infrastructure fine and was able to setup the asm instance. I have set up two asm disk groups with a member each.
    I installed rdbms home in separate home and now I am trying to create database with dbca and it is not seeing the ASM instance.
    Any idea why?
    $ id oracle
    uid=500(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(asmdba),54324(asmadmin)
    $ ls -l /u01/app/grid/product/11.2.0/gridhome/bin/oracle
    -rwsr-s--x 1 oracle oinstall 184285623 Jun 3 18:14 /u01/app/grid/product/11.2.0/gridhome/bin/oracle
    $ ls -l /u01/app/oracle/product/11.2.0/db_1/bin/oracle
    -rwxr-x--x 1 oracle oinstall 210823812 Jun 3 15:28 /u01/app/oracle/product/11.2.0/db_1/bin/oracle
    $ ls -l /dev/oracleasm/disks/
    total 0
    brw-rw---- 1 oracle oinstall 8, 17 Jun 4 23:52 DATA1
    brw-rw---- 1 oracle oinstall 8, 33 Jun 4 23:52 FRA1
    $ crsctl status res
    NAME=ora.LISTENER.lsnr
    TYPE=ora.listener.type
    TARGET=ONLINE
    STATE=ONLINE on linux1
    NAME=ora.cssd
    TYPE=ora.cssd.type
    TARGET=ONLINE
    STATE=ONLINE on linux1
    NAME=ora.diskmon
    TYPE=ora.diskmon.type
    TARGET=ONLINE
    STATE=ONLINE on linux1
    ASMCMD> lsdg
    State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
    MOUNTED EXTERN N 512 4096 1048576 51199 51147 0 51147 0 N DATA/
    MOUNTED EXTERN N 512 4096 1048576 51199 51147 0 51147 0 N FRA/
    ASMCMD>

    user9125881 wrote:
    I found solution to this
    http://surachartopun.com/2010/09/ora-29786-siha-attribute-get-failed.html
    Umm - not really - you are still using an uncertified combination of database and OS software - just because you managed to install the software does not mean it will work as advertised. As noted, you will have to use 11.2.0.3, or downgrade to OEL 5.x to use a certified combination
    HTH
    Srini

  • ASM disk monitor, IO etc

    It sounds like most of the third party tools will not support ASM usage, io stat etc., How well grid control be used and what is the best practice?

    Any help on setting up the thresold alerts in asm?
    1. I can query v$asm_diskgroup and find out how much % being used. How do I check the sql result value and send an email alert in Linux cron?
    2. What is the best practice to monitor disk usage in asm/linux?
    Thanks!

  • ASM Disk Group Showing Full at 50%

    Hi to all,
    I have two sets of ASM disk groups, one I use for the main datafiles and the other I use for recovery.
    The datafile ASM group is at 65% capacity. The Other "Recovery" Disk group became full at 50%, exactly half the size?!
    Why does the group perform like this. It should be full when the disks are full? And why does the other group perform normally?
    Has anyone else seen this problem before with ASM groups.
    If anyone needs any more details please just ask me a question about it.
    Thanks,
    Jamie.

    NAME PATH TOTAL_MB FREE_MB % Used DISK_NUMBER REDUNDA
    STATE
    DATA /dev/mapper/ASM1_V1p 35644 14389
    60 9 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM14_V1 35644 14381
    60 4 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM8_V1p 35644 14416
    60 16 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM18_V1 35644 14389
    60 8 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM16_V1 35644 14363
    60 6 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM10_V1 35644 14335
    60 0 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM4_V1p 35644 14415
    60 12 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM15_V1 35644 14403
    60 5 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM5_V1p 35644 14369
    60 13 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM13_V1 35644 14331
    60 3 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM2_V1p 35644 14393
    60 10 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM11_V1 35644 14443
    59 1 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM9_V1p 35644 14453
    59 17 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM17_V1 35644 14401
    60 7 NORMAL CONNECTED
    p1
    DATA /dev/mapper/ASM7_V1p 35644 14443
    59 15 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM3_V1p 35644 14342
    60 11 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM6_V1p 35644 14428
    60 14 NORMAL CONNECTED
    1
    DATA /dev/mapper/ASM12_V1 35644 14370
    60 2 NORMAL CONNECTED
    p1
    RECOVERY /dev/mapper/ASM19_V1 139996 139842
    0 0 NORMAL MOUNTED
    p1
    RECOVERY /dev/mapper/ASM22_V1 139996 139842
    0 2 NORMAL MOUNTED
    p1

Maybe you are looking for

  • SharePoint 2013 - Reporting ability help

    Hi everyone. Hopefully i have this thread in the right area, and i could not find anyone else asking this question. and my appologise if this may seem a silly question. my dilemma: At present im running enterprise version of SP 2013 (due to cost do n

  • Use PHP to convert html page to a pdf file for email

    I want to use my php scripts to send an email (with a pdf attachment) of the web page that is being viewed. My problem I have no way to convert the html page to a pdf file without the end user being prompted to (1) naming the file (2) saving it Is th

  • Pause & restart timeline with one button

    I have created a lengthy animation as a prop for a TV production. They want to be able to start and stop the animation at will using only the mouse without anything being seen on the screen. To do this I want to make an invisible button that covers t

  • "Device Manager is running in read-only mode because you are running it on a remote computer" when local

    Hello - since configuring a Windows Web Server 2008 R2 x64 to be hardened for an internet-facing deployment I receive this: "Device Manager is running in read-only mode because you are running it on a remote computer." when entering Device Manager. I

  • Taskflow Raise event foucs problem

    Hi, We are using Oracle ADF JDeveloper version 11.1.1.4 (released version) for our development. We have used several taskflows / reusable taskflows in our application. For most of the taskflows we have "raised events". However we are facing strange p