2.6.29 missing asm/swab.h

cdrom.h ends up sourcing it up the header chain.
In file included from /usr/src/linux-2.6.29-ARCH/include/linux/byteorder/little_endian.h:12,
                 from /usr/include/asm/byteorder.h:79,
                 from /usr/src/linux-2.6.29-ARCH/include/linux/cdrom.h:15,
                 from mythcdrom-linux.cpp:3:
/usr/src/linux-2.6.29-ARCH/include/linux/swab.h:6:22: error: asm/swab.h: No such file or directory
I fixed the error with:
touch /usr/src/linux-2.6.29-ARCH/include/asm-x86/swab.h
My guess is that there's no hardware override for swab, at least in x86_64.
Ben

ben123 wrote:
cdrom.h ends up sourcing it up the header chain.
In file included from /usr/src/linux-2.6.29-ARCH/include/linux/byteorder/little_endian.h:12,
                 from /usr/include/asm/byteorder.h:79,
                 from /usr/src/linux-2.6.29-ARCH/include/linux/cdrom.h:15,
                 from mythcdrom-linux.cpp:3:
/usr/src/linux-2.6.29-ARCH/include/linux/swab.h:6:22: error: asm/swab.h: No such file or directory
I fixed the error with:
touch /usr/src/linux-2.6.29-ARCH/include/asm-x86/swab.h
My guess is that there's no hardware override for swab, at least in x86_64.
Ben
I've got a
/usr/src/linux-2.6.29-ARCH/arch/x86/include/asm/swab.h

Similar Messages

  • Missing ASM Disk.

    we had a crash on our server and now when I run /et/init.d/oracleasm listdisks, it doesn't find anything. /dev/oracleasm/disks is empty too.
    However, when I try and create a new disks it states dev/sde1 is already labeled an ASM device.
    Any suggestions?

    There are no rows in v$asm_diskgroup and when I try and startup +ASM1, I get the following error:
    ORA-15032: not all alterations performed
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "SPS"
    The disk is no longer present under /dev/oracleasm/disks, however, I am unable to create a new one (i.e. /etc/init.d/oracleasm createdisk DATA /dev/sde1) because it says /dev/sde1 is already labeled as an ASM disk.

  • Missing asm/page.h

    I'm trying to compile a piece of hardware that requires asm/page.h. That header is in neither /usr/include/asm nor /usr/include/asm-generic.

    `pacman -S linux-headers`

  • Startup of Clusterware with missing voting disk

    Hello,
    in our environment we have a 2 node cluster.
    The 2 nodes and 2 SAN storages are in different rooms.
    Voting files for Clusterware are in ASM.
    Additionally we have a third voting disk on a NFS server (configured like in this descripton: http://www.oracle.com/technetwork/products/clusterware/overview/grid-infra-thirdvoteonnfs-131158.pdf&ei=lzJXUPvJMsn-4QTJ8YDoDg&usg=AFQjCNGxaRWhwfTehOml-KgGGeRkl4yOGw)
    The Quorum flag is on the disk that is on NFS.
    The diskgroup is with normal redundancy.
    Clusterware keeps running when one of the VDs gets lost (e.g. storage failure).
    So far so good.
    But when I have to restart Clusterware (e.g. reboot of a node) while the VD is still missing, then clusterware does not come up.
    Did not find an indication if this whether is planned behaviour of Clusterware or maybe because I missed a detail.
    From my point of view it should work to start Clusterware as long as the majority of VDs are available.
    Thanks.

    Hi,
    actually what you see is expected (especially in a stretched cluster environment, with 2 failgroups and 1 quorum failgroup).
    It has to do with how ASM handles a disk failure and is doing the mirriong (and the strange "issue" that you need a third failgroup for the votedisks).
    So before looking at this special case, lets look at how ASM normally treats a diskgroup:
    A diskgroup can only be mounted in normal mode, if all disks of the diskgroup are online. If a disks is missing ASM will not allow you to "normally" mount the diskgroup, before the error situation is solved. If a disks is lost, which contents can be mirrored to other disks, then ASM will be able to restore full redundancy and will allow you to mount the diskgroup. If this is not the case ASM expects the user to tell what it should do => The administrator can issue a "alter diskgroup mount force" to tell ASM even though it cannot held up the required redundancy it should mount with disks missing. This then will allow the administrator to correct the error (or replaced failed disks/failgroups). While ASM had the diskgroup mounted the loss of a failgroup will not result in a dismount of the diskgroup.
    The same holds true with the diskgroup containing the voting disks. So what you see (will continue to run, but cannot restart) is pretty much the same like for a normal diskgroup: If a disk is lost, and the contents does not get relocated (like if the quorum failgroup fails it will not allow you to relocatore, since there are no more failgroups to relocate the third vote to), it will continue to run, but it will not be able to automatically remount the diskgroup in normal mode if a disk fails.
    To bring the cluster back online, manual intervention is required: Start the cluster in exclusive mode:
    crsctl start crs -exclThen connect to ASM and do a
    alter disgkroup <dgname> mount forceThen resolve the error (like adding another disk to another failgroup, that the data can be remirrored and the disk can be dropped.
    After that a normal startup will be possible again.
    Regards
    Sebastian

  • Trying to install Windows XP on Parallels...Error message! Help!

    I have a macbook pro and I am trying to install Windows XP via Parallels on it. The installation seemed to be working until I got an error message that said "The file ASMS can't be found. Insert your HP cd into the drive." and then it said something about typing in the location address manually... Please help! I checked and the ASMS file IS on the cd but Parallels doesn't seem to be recognizing it...

    I am also trying to install XP Pro, both with Boot Camp and Parallels, and meeting the missing asms file problem although I don't receive a missing HP card msg as I am using an original MS Win Pro installation disc. Instead I get a System Setup error log entry: ' I/O device error. Installation failed asms. D:\I386\asms. Component needed by Windows could not be installed.'
    Apple Tech Help suggested I probably had a faulty disc but online searches show this problem has existed for some years and affected both Mac and PC users. The latter seem to be able to solve the problem by tinkering with the Registry - but what about us Mac types? Any help would be much appreciated.

  • Oracle Internal Research深入研究Oracle内部原理

    <p align="left">&#20197;&#19979;&#26159;Maclean.Liu&#20010;&#20154;&#21407;&#21019;&#25110;&#24635;&#32467;&#30340;&#19968;&#20123;&#28145;&#20837;&#30740;&#31350;Oracle Internal&#20869;&#37096;&#21407;&#29702;&#30340;&#25991;&#31456;post&#21015;&#34920;:<u><br>
    </u></p>
    <br>
    <p align="left"><strong>Oracle Internal Event:10200 Consistent Read&#35786;&#26029;&#20107;&#20214;</strong></p>
    <p align="left"><strong>&#20102;&#35299;Oracle RAC Brain Split Resolution</strong></p>
    <p align="left"><strong>&#20102;&#35299;Oracle&#20869;&#26680;&#20195;&#30721;&#23618;&#30340;&#20316;&#29992;</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#20061;):&#32500;&#25252;MON_MODS$&#23383;&#20856;&#22522;&#34920;</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#20843;):Transaction Recover</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#19971;):&#28165;&#29702;IND$&#23383;&#20856;&#22522;&#34920;</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#20845;):Instance Recovery</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#20116;):Recover Dead transaction</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#22235;):&#32500;&#25252;col_usage$&#23383;&#20856;&#22522;&#34920;</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#19977;):&#28165;&#29702;obj$&#22522;&#34920;</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#20108;):&#21512;&#24182;&#31354;&#38386;&#21306;&#38388;</strong></p>
    <p align="left"><strong>&#20102;&#35299;&#20320;&#25152;&#19981;&#30693;&#36947;&#30340;SMON&#21151;&#33021;(&#19968;):&#28165;&#29702;&#20020;&#26102;&#27573;</strong></p>
    <p align="left"><strong>Know more about commit</strong></p>
    <p align="left"><strong>Find INTCOL#=1001 in col_usage$?</strong></p>
    <p align="left"><strong>Buffer Lock Mode and Compatibilities</strong></p>
    <p align="left"><strong>&#20851;&#20110;V$OPEN_CURSOR</strong></p>
    <p align="left"><strong>Advanced Diagnostic using oradebug dumpvar</strong></p>
    <p align="left"><strong>&#36824;&#21407;&#30495;&#23454;&#30340;cache recovery</strong></p>
    <p align="left"><strong>Oracle&#20869;&#37096;&#35270;&#22270;:x$targetrba</strong></p>
    <p align="left"><strong>Oracle&#20869;&#37096;&#35270;&#22270;:x$ktfbfe</strong></p>
    <p align="left"><strong>Oracle&#20869;&#37096;&#35270;&#22270;:x$ktfbue</strong></p>
    <p align="left"><strong>Only ARCH Bgprocess may create archivelog?</strong></p>
    <p align="left"><strong>Oracle Latch:&#19968;&#27573;&#25551;&#32472;Latch&#36816;&#20316;&#30340;&#20266;&#20195;&#30721;</strong></p>
    <p align="left"><strong>Who pulls the background process dbwr&rsquo;s trigger?</strong></p>
    <p align="left"><strong>&#22522;&#20110;&#34892;&#36319;&#36394;&#30340;ROWDEPENDENCIES ORA_ROWSCN&#20449;&#24687;</strong></p>
    <p align="left"><strong>Oracle&#38377;:Cache Buffers chains</strong></p>
    <p align="left"><strong>Latches and Tuning:Latches</strong></p>
    <p align="left"><strong>Latches and Tuning:Redo Log Buffer and Latches</strong></p>
    <p align="left"><strong>Latches and Tuning:Buffer Cache</strong></p>
    <p align="left"><strong>Latches and Tuning:The Library CacheOracle&#31561;&#24453;&#20107;&#20214;<img src="http://%5c%22static/image/smiley/qqbiaoqin/29.gif%5C%22" alt="">ata file init write</strong></p>
    <p align="left"><strong>How does RECORDLENGTH affect your exp speed?</strong></p>
    <p align="left"><strong>Oracle&#32593;&#32476;TNS&#21327;&#35758;&#20171;&#32461;(revised)</strong></p>
    <p align="left"><strong>logfile switch causes incremental checkpoint?</strong></p>
    <p align="left"><strong>Know more about redo log buffer and latches</strong></p>
    <p align="left"><strong>How does cpu_count parameter affect instance?</strong></p>
    <p align="left"><strong>How to trigger ORA-00600,ORA-7445 by manual</strong></p>
    <p align="left"><strong>Basics of C code within the Oracle kernel</strong></p>
    <p align="left"><strong>Know more about Oracle Latches</strong></p>
    <p align="left"><strong>Know more about Buffer Cache and Latch</strong></p>
    <p align="left"><strong>Know More About Libarary Cache and Latches</strong></p>
    <p align="left"><strong>Oracle&#20869;&#37096;&#35270;&#22270;:X$BH</strong></p>
    <p align="left"><strong>Know more about DML</strong></p>
    <p align="left"><strong>Known Oracle Internal Stack Call Meaning</strong></p>
    <p align="left"><strong>ASMM&#28145;&#20837;&#20102;&#35299;<strong>ASMM</strong></strong></p>
    <p align="left"><strong>sharedpool_reserved_pct or shared_pool_reserved_size with ASMM</strong></p>
    <p align="left"><strong>PL/SQL Virtual Machine Memory Usage</strong></p>
    <p align="left"><strong>Slide:&#28145;&#20837;&#20102;&#35299;Oracle&#33258;&#21160;&#20869;&#23384;&#31649;&#29702;ASMM by Maclean Liu</strong></p>
    <p align="left"><strong>Know GCS AND GES structure size in shared pool</strong></p>
    <p align="left"><strong>How does SGA/PGA allocate on AMM?</strong></p>
    <p align="left"><strong>&#29702;&#35299;Oracle&#22312;AIX&#24179;&#21488;&#19978;&#30340;&#20869;&#23384;&#20351;&#29992;</strong></p>
    <p align="left"><strong>Probe how does your PGA consume</strong></p>
    <p align="left"><strong>ora-4031 and &ldquo;obj stat memory&rdquo; component in Shared Pool</strong></p>
    <p align="left"><strong>&#30452;&#25509;&#36335;&#24452;&#35835;&#21462;&#23545;&#20110;&#24310;&#36831;&#22359;&#28165;&#38500;&#30340;&#24433;&#21709;</strong></p>
    <p align="left"><strong>How to make BBED(Oracle Block Brower and EDitor Tool) on Unix/Linux/Windows</strong></p>
    <p align="left"><strong>&#38544;&#34255;&#21442;&#25968;_high_priority_processes&#19982;oradism</strong></p>
    <p align="left"><strong>Oracle&#31561;&#24453;&#20107;&#20214;Enqueue CI:Cross Instance Call Invocation</strong></p>
    <p align="left"><strong>Oracle&#24120;&#29992;&#30340;&#20960;&#20010;&#29238;&#26643;</strong></p>
    <p align="left"><strong>ddl&#25805;&#20316;&#26159;&#21542;&#20250;&#20135;&#29983;undo?</strong><br>
    </p>
    <p><strong>kgl simulator&#65292;&#20849;&#20139;&#27744;simulator&#20197;&#21450;&#32531;&#20914;simulator&#30456;&#20851;&#35299;&#37322;</strong></p>
    <p><br>
    </p>
    <p>Oracle&#31561;&#24453;&#20107;&#20214;KJC:Wait for msg sends to complete<br>
    &#20102;&#35299;SYSDATE&#20989;&#25968;<br>
    Oracle&#31561;&#24453;&#20107;&#20214;kfk:async disk IO<br>
    Does Rman Backup benefit from Large Pool?<br>
    Oracle RAC Brain Split Resolution<br>
    Startup Upgrade&#20026;&#25105;&#20204;&#20570;&#20102;&#20160;&#20040;&#65311;<br>
    <br>
    &#20171;&#32461;dbms_registry PL/SQL&#31243;&#24207;&#21253;<br>
    Oracle&#20013;&#21487;&#20197;nologging&#25191;&#34892;&#30340;&#25805;&#20316;<br>
    Applying online patch on 11gr2<br>
    &#21033;&#29992;DBMS_ADVISOR.TUNE_MVIEW&#21253;&#29983;&#25104;&#29289;&#21270;&#35270;&#22270;&#21019;&#24314;&#35821;&#21477;<br>
    Oracle&#20013;&#21487;&#34987;&#24182;&#34892;&#21270;&#25191;&#34892;&#30340;SQL&#25805;&#20316;<br>
    Which SQL Operation May use Temp space?<br>
    Oracle Advanced Security:Column Encryption Overhead<br>
    Discover Your Missed ASM Disks<br>
    latch free:cache buffer handles&#36896;&#25104;&#30340;SQL&#24615;&#33021;&#38382;&#39064;<br>
    <br>
    <strong>Oracle Internal Event:10201 consistent read undo application&#35786;&#26029;&#20107;&#20214;<br>
    <br>
    &#20309;&#26102;&#20250;&#21457;&#29983;db file sequential read&#31561;&#24453;&#20107;&#20214;&#65311;<br>
    <br>
    &#25163;&#24037;&#27169;&#25311;Oracle&#25968;&#25454;&#22359;&#36923;&#36753;&#35769;&#35823;&#24341;&#21457;ORA-00600:[13013], [5001]&#19968;&#20363;<br>
    <br>
    ASM file metadata operation&#31561;&#24453;&#20107;&#20214;<br>
    &#20102;&#35299;Oracle&#21518;&#21488;&#36827;&#31243;&#19982;&#25968;&#25454;&#24211;&#25991;&#20214;&#30340;&#35835;&#20889;&#20851;&#31995;<br>
    <br>
    &#28145;&#20837;&#20102;&#35299;Oracle&#25968;&#25454;&#23383;&#20856;&#21319;&#32423;&#33050;&#26412;catupgrd.sql&#35843;&#29992;&#36807;&#31243;<br>
    <br>
    &#20102;&#35299;&#39640;&#27700;&#20301;&#19982;truncate<br>
    <br>
    Warning:Even Exadata has a wrong memlock setting</strong><br>
    <br>
    Script Diagnostic Oracle Locks<br>
    <strong>&#21033;&#29992;Cluster Verify Utility&#24037;&#20855;&#20307;&#39564;RAC&#26368;&#20339;&#23454;&#36341;<br>
    &#21033;&#29992;ProcDump&#24037;&#20855;&#35786;&#26029;Windows&#24179;&#21488;&#19978;&#30340;Oracle&#25968;&#25454;&#24211;&#24615;&#33021;<br>
    OPatch&#24037;&#20855;&#30456;&#20851;&#30340;&#29615;&#22659;&#21464;&#37327;</strong></p>

    谢谢liu一直以来这么热心的分享oracle知识 希望liu在原厂工作顺利,otn在liu的带领下成为oracle技术的基地

  • Strange issue in Oracle ASM on Two node RAC where in one ASM node shows all diskgroup while other node shows  missing node.

    We have Oracle datbase 11gR1 in RAC node with Oracle ASM.Recently our database server got crashed and we are trying to restore back services.
    Using Snapshot technologyBusiness copy we had synced all our disk on storage level. Post this when we are trying to start ASM instance on node 1 it is coming and showing all diskgroups but on other node it is throwing errot with missing e diskgroup.
    ORA-15032: not all alterations performed
    ORA-15040: diskgroup is incomplete
    ORA-15042: ASM disk "5" is missing
    Expert please share your views.
    Thanks,
    Tushar

    The I/O fabric layer on the other node failed to mount all storage LUNs - resulting in ASM being unable to mount a diskgroup as there are missing disks in that group.
    Rebooting is exactly what could be needed to reset the h/w and infrastructure used by that node, in order for it to see all the storage disks again. As node 1 sees all storage disks (and is working), the disk itself on the storage system is intact and usable.
    What is the o/s? What is the fabric layer? What is used on o/s for dealing with the I/O fabric layer?

  • ORA-15042: ASM disk "2" is missing from group number "1"

    Hi,
    I'm working on an Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Automatic Storage Management option.
    Into the ASM I had 3 diskgroups:
    - ARCHIVELOG (4 disks)
    - ONLINELOG (1 disks)
    - DATA (10 disks)
    When I try to startup the ASM instance I got:
    A-15042: ASM disk "2" is missing from group number "1"The diskgroup won't be mounted.
    I would like to remove that disk and later add a new one.
    I can I do that?
    I'm not able to mount the ARCHIVELOG diskgroup.
    I tried the command
    SQL> alter diskgroup archivelog drop disk ARCH3 force;
    alter diskgroup archivelog drop disk ARCH3 force
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15001: diskgroup "ARCHIVELOG" does not exist or is not mountedThanks in advance,
    Samuel
    Edited by: Samuel Rabini on Jan 10, 2012 4:11 PM

    As that database is on AWS, I tried this:
    - drop diskgroup archivelog
    - detach of those 4 disks
    - create new 4 disks
    - attach new disks
    - assign those disks to ASM with oracleasm utilty
    - create diskgroup archivelog
    It worked.
    But because I was on AWS and more because it was the ARCHIVELOG diskgroup.
    What would I had to do if it was the DATA diskgroup?
    Thanks

  • ASM install onto LVM: What am I missing?

    Hii all,
    First, I am new to ASM. I've gone through one install, where they had raw devices set up and it was smooth.
    However, I've gotten onto a box (test) where I want to set up Oracle with ASM...trouble is, there are no raw volumes or available disk space to partition out. There are only 2 partitions, one is for /boot, the other is completely given over to LVM.
    Now...I can get on there and allocate some new logical volumes, and not format them (kind of an lvm raw?), or whatever. Can I aim ASM at those? Any pointers or links about doing this?
    Thanks in advance,
    cayenne
    Edited by: cayenne on Mar 17, 2009 9:51 AM

    Hi all,
    Following up on this. I created some logical volumes. I did NOT format them. I installed the ASM library drivers. But, I can't get things to work.
    I tried to do the create command :
    /etc/init.d/oracleasm createdisk DISK1 /dev/rootvg/oraw1
    But would get errors...(sorry, that VM got blown away before I could post thing, so missing the exact error, trying to reset up now to reproduce exact error). The error was complaining that it was a proper type disk....
    Is there some special trick to setting up logical volumes to be used by ASM that I'm missing?
    I'm following this guide: http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/pre_install.htm#BABCAEHE
    For now, we are stuck with using 10G.
    Do I have to format the LV's first? I was hoping that ASM would treat these 'raw' LV's and true raw devices?
    Thanks in advance,
    cayenne

  • ORA-15100: invalid or missing diskgroup name in 11g ASM

    We have 11g R2 DB and 11g ASM installed on linux server, it was working till morning,due to some maintenance we rebooted server, then i am trying to bring up asm instance, its falling with below error.
    [oracle@adg dbs]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 16 16:15:57 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Automatic Storage Management option
    SQL> startup force pfile='/u01/app/11.2.0/grid/dbs/init+ASM.ora';
    ASM instance started
    Total System Global Area 284565504 bytes
    Fixed Size 1336036 bytes
    Variable Size 258063644 bytes
    ASM Cache 25165824 bytes
    ORA-15110: no diskgroups mounted
    SQL> show parameter string
    NAME TYPE VALUE
    asm_diskstring string DATA, DATA1
    SQL> shut immediate
    ORA-15100: invalid or missing diskgroup name
    ASM instance shutdown
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Automatic Storage Management option
    [oracle@adg dbs]$ vi init+ASM.ora
    [oracle@adg dbs]$ /etc/init.d/oracleasm listdisks
    DISK1
    DISK2
    [[root@adg ~]# /etc/init.d/oracleasm scandisks
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    ERROR: diskgroup RECOVERY_AREA was not mounted
    NOTE: cache deleting context for group RECOVERY_AREA 2/625504078
    ORA-15032: not all alterations performed
    ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
    ERROR: ALTER DISKGROUP RECOVERY_AREA MOUNT /* asm agent */
    Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc ; (incident=8105):
    ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
    Incident details in: /u01/app/oracle/diag/asm/+asm/+ASM/incident/incdir_8105/+ASM_rbal_6520_i8105.trc
    ERROR: ORA-600 in COD recovery for diskgroup 1/0xfe086f4c (DATA)
    ERROR: ORA-600 thrown in RBAL for group number 1
    Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc:
    ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
    Errors in file /u01/app/oracle/diag/asm/+asm/+ASM/trace/+ASM_rbal_6520.trc:
    ORA-00600: internal error code, arguments: [kfrcGetNRB05], [1], [340], [], [], [], [], [], [], [], [], []
    RBAL (ospid: 6520): terminating the instance due to error 488
    Tue Aug 16 15:47:03 2011
    ORA-1092 : opitsk aborting process
    Tue Aug 16 15:47:04 2011
    Instance terminated by RBAL, pid = 6520
    Tue Aug 16 15:51:08 2011
    Starting ORACLE instance (normal)

    I tried already.
    SQL> select disk_number, name, label, path, mount_status,HEADER_STATUS, state from v$asm_disk
    2 ;
    DISK_NUMBER NAME LABEL
    PATH
    MOUNT_S HEADER_STATU STATE
    1 DISK2
    ORCL:DISK2
    CLOSED MEMBER NORMAL
    0 DISK1
    ORCL:DISK1
    CLOSED MEMBER NORMAL
    DISK_NUMBER NAME LABEL
    PATH
    MOUNT_S HEADER_STATU STATE
    SQL> alter diskgroup recovery_area mount;
    alter diskgroup recovery_area mount
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup
    "RECOVERY_AREA"
    SQL>
    here is alert log information
    ==================
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/11.2.0/grid/dbs/arch
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =0
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Automatic Storage Management option.
    Using parameter settings in client-side pfile /u01/app/11.2.0/grid/dbs/init+ASM.ora on machine adg.xxxx.com
    System parameters with non-default values:
    large_pool_size = 12M
    instance_type = "asm"
    remote_login_passwordfile= "EXCLUSIVE"
    asm_diskstring = ""
    asm_power_limit = 1
    diagnostic_dest = "/u01/app/oracle"
    Tue Aug 16 16:32:26 2011
    PMON started with pid=2, OS id=11558
    Tue Aug 16 16:32:26 2011
    VKTM started with pid=3, OS id=11560 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Tue Aug 16 16:32:26 2011
    GEN0 started with pid=4, OS id=11564
    Tue Aug 16 16:32:26 2011
    DIAG started with pid=5, OS id=11566
    Tue Aug 16 16:32:26 2011
    PSP0 started with pid=6, OS id=11568
    Tue Aug 16 16:32:26 2011
    DIA0 started with pid=7, OS id=11570
    Tue Aug 16 16:32:27 2011
    MMAN started with pid=8, OS id=11572
    Tue Aug 16 16:32:27 2011
    DBW0 started with pid=9, OS id=11574
    Tue Aug 16 16:32:27 2011
    LGWR started with pid=10, OS id=11576
    Tue Aug 16 16:32:27 2011
    CKPT started with pid=11, OS id=11578
    Tue Aug 16 16:32:27 2011
    SMON started with pid=12, OS id=11580
    Tue Aug 16 16:32:27 2011
    RBAL started with pid=13, OS id=11582
    Tue Aug 16 16:32:27 2011
    GMON started with pid=14, OS id=11584
    Tue Aug 16 16:32:27 2011
    MMON started with pid=15, OS id=11586
    Tue Aug 16 16:32:27 2011
    MMNL started with pid=16, OS id=11588
    ORACLE_BASE from environment = /u01/app/oracle
    Tue Aug 16 16:32:27 2011
    SQL> ALTER DISKGROUP ALL MOUNT
    Tue Aug 16 16:34:23 2011
    SQL> alter diskgroup recovery_area mount
    NOTE: cache registered group RECOVERY_AREA number=1 incarn=0x100b432b
    NOTE: cache began mount (first) of group RECOVERY_AREA number=1 incarn=0x100b432b
    Tue Aug 16 16:34:24 2011
    NOTE: Loaded library: /opt/oracle/extapi/32/asm/orcl/1/libasm.so
    Tue Aug 16 16:34:24 2011
    ERROR: no PST quorum in group: required 2, found 0
    NOTE: cache dismounting (clean) group 1/0x100B432B (RECOVERY_AREA)
    NOTE: dbwr not being msg'd to dismount
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 1/0x100B432B (RECOVERY_AREA)
    NOTE: cache ending mount (fail) of group RECOVERY_AREA number=1 incarn=0x100b432b
    kfdp_dismount(): 2
    kfdp_dismountBg(): 2
    ERROR: diskgroup RECOVERY_AREA was not mounted
    NOTE: cache deleting context for group RECOVERY_AREA 1/269173547
    ORA-15032: not all alterations performed
    ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
    ERROR: alter diskgroup recovery_area mount
    Tue Aug 16 16:34:53 2011
    SQL> alter diskgroup recovery_area mount
    NOTE: cache registered group RECOVERY_AREA number=1 incarn=0xc86b4331
    NOTE: cache began mount (first) of group RECOVERY_AREA number=1 incarn=0xc86b4331
    Tue Aug 16 16:34:53 2011
    ERROR: no PST quorum in group: required 2, found 0
    NOTE: cache dismounting (clean) group 1/0xC86B4331 (RECOVERY_AREA)
    NOTE: dbwr not being msg'd to dismount
    NOTE: lgwr not being msg'd to dismount
    NOTE: cache dismounted group 1/0xC86B4331 (RECOVERY_AREA)
    NOTE: cache ending mount (fail) of group RECOVERY_AREA number=1 incarn=0xc86b4331
    kfdp_dismount(): 4
    kfdp_dismountBg(): 4
    ERROR: diskgroup RECOVERY_AREA was not mounted
    NOTE: cache deleting context for group RECOVERY_AREA 1/-932494543
    ORA-15032: not all alterations performed
    ORA-15017: diskgroup "RECOVERY_AREA" cannot be mounted
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "RECOVERY_AREA"
    ERROR: alter diskgroup recovery_area mount

  • ASM Instance down in Solaris due to missing ocr.loc file

    We had to restart our solaris machine due to a hardware failure.
    When i tried to start to ASM instance, i got the error.
    SQL> startup mount;
    ORA-29701: unable to connect to Cluster Manager
    The css daemons were not started. I checked it using
    $ ps -ef | grep css
    After logging in as ROOT and setting Oracle's bin directory in its path, i tried to run
    #./localconfig . But i didn't succeed.
    Then I came to know that you can start css by executing init.cssd script in ($ORACLE_HOME/css/admin)
    /u01/oracle/10g/css/admin
    $ ./init.cssd start
    ./init.cssd: /var/opt/oracle/ocr.loc: cannot open
    There is no such file called ocr.loc in this location. I confirmed it by
    So I looked for /var/opt/oracle/ocr.loc
    $ file /var/opt/oracle/ocr.loc
    /var/opt/oracle/ocr.loc: cannot open: No such file or directory
    What do i do?

    Boutet,
    Before you go ahead and restore the OCR, for that matter even to restore it successfully, you would need to restore/recreate the file /var/opt/oracle/ocr.loc. This file has the location of the OCR file, without this file, you will not be able to restore the OCR.
    The contents of the ocr.loc file would be something like this (I am including this information so that you may like to use it to recreate the file, in case you lost the original one).
    cat /etc/oracle/ocr.loc
    ocrconfig_loc=/<path>/cdata/localhost/local.ocr
    local_only=TRUE
    Hope this help.
    Thanks
    Chandra Pabba

  • Looking for information on the below questions on ASM

    Scenario: (Oracle 10g on Windows 2003 with EMC storage)
    ASM Partition table crashed for LUN 20 on 18th July
    DB was up and running till 23rd July (New LUN (LUN 36) was presented and the RMAN backup used to restore the data that were residing on the corrupt LUN)
    End of the day everything screwed up and the complete grid (4 nodes) was rebuild.
    Links:
    As mentioned in the link: http://www.exforsys.com/forum/oracle-database/487-what-asm-instance-oracle.html
    "The ASM instance is only involved during the creation or deletion of files and when disk configurations change (such as dropping or adding a disk). When these types
    of changes occur, the ASM instance automatically rebalanced the disks and provides the necessary information to refresh the extent map in the SGA of the database
    instance. Of course, this process requires that the ASM instance run concurrently with the database instance, and only shut down after the database instance is
    closed."
    As mentioned in the link: http://www.orafaq.com/wiki/ASM_FAQ#ASM_disk_header.2Fsuperblock_backups.3F
    "ASM disk headers (super-blocks) cannot be backed up and restored in Oracle 10g. By implication, if you use EXTERNAL REDUNDANCY and a single disk's header is
    accidentally overwritten, the entire disk group will have to be restored."
    As mentioned in the link: http://www.datadisk.co.uk/html_docs/oracle/asm.htm
    "ASM is a special instance that does not have any data files, there is only ASM instance one per server which manages all ASM files for each database. The instance
    looks after the disk groups and allows access to the ASM files. Databases access the files directly but uses the ASM instance to locate them. If the ASM instance is
    shutdown then the database will either be automatically shutdown or crash. "
    With the above scenario and the documents provided in the links above, I am unable to get the complete picture of what went wrong. Will be great if some one could
    through more light on the below questions. (Note: we have multiple vendor engaged managing different part of this outage and unable to get the real fact of what went
    wrong)
    1, The ASM had given the details of the disk to the DB, and the DB is managing the disk directly. Also the DB and the ASM instance were up and running till 23rd is
    what i understand going by the details given in the above links, in this scenario how can we confirm that the partition table is corrupt / missing. Is their a way to
    check the same?
    2, ASM disk headers (super-blocks) cannot be backed up, that means that it can not be read directly. Then is it possible to say that the ASM disk header is corrupt /
    missing?
    3, If the ASM disk header / partition table of LUN 20 is corrupt on 18th, can the DB run till 23rd without any issue? will the ASM & DB does not crash?
    4, ASM will strip the data across the available LUN's, will it not be able to rebuild the data on the newly presented LUN 36 instead of using RMAN backup to rebuild the
    data? or is the ASM not configured as it should be done. (WE have multiple LUN's presented to this Grid)
    Edited by: 880333 on Aug 19, 2011 12:35 AM

    What relation with the Oracle Forms product ?
    Francois

  • Move ASM disks with database from one server to another?

    I have a 11.2.0 ASM with a 11.2.0 database on two internal disks on server1. The disks are not in any raid or volume manager configuration, i.e. they are just two disks. The disks were physically removed from server1 and installed on server2, which is the same hardware, OS, patch level etc, in the same target position. Installed the 11.2.0 rdbms and grid infrastructure binaries on server2; changed the raw disk partition ownership to oracle and started asmca. asmca does not see the disks.
    My question, is this possible and if so, what am I missing?

    I did not manually create an ASM instance and try to add the diskgoup. My understanding is, if you use asmca then it starts an ASM instance, if one is not already running, and lets you configure your diskgroup. This is what I am trying to do, with no luck (asmca does not see the disks)I may be totally wrong here but afaik dbca creates the ASM instance. ASMCA is just for adding disks or diskgroups......
    Did you try to create an ASM instance with dbca? When doing so do not put your disks in there - this will create a new disk group.....
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • 10g Grid (RAC) on Linux with ASM and OCR?

    I was trying to install 10g on Linux with ASM. The docs are not terribly clear on this, but I'd like to have the Oracle Cluster Registry (OCR) on one of my four ASM disks, rather than dedicate space to OCFS. I have 4 18.2 GB drives setup with ASM now. Is there a way to do this?
    I guess the other thing I could do is to cut the ASM disks into two partitions. One, say 200MB and the other the rest. I'd put OCFS for OCR on the 200MB partition on one of the disks. The large partition on each of the rest of the disks would be dedicated to ASM.
    What am I missing? I feel it must be something obvious. I'd rather have the OCR on the ASM, so that I don't have to deal with it...
    Thanks!
    Jeff

    Hi.
    There shouldn't be a problem with this provided you use a 32-bit OS on the 64 bit machine. RAC doesn't care about the chipset, so long as the same OS is used, but I don't thinkit will support one node on 32 bit and one on 64 bit, since they are actually separate distributions.
    Of course, I've never tried it so I can't be sure :)
    Cheers
    Tim...

  • 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.

Maybe you are looking for