Setting up diskgroups in ASM

Hello -
I'm trying to setup diskgroups in an ASM instance, but get an error indicating the disks do not exist. I'm testing the setup of this using ASM on top of Unix file systems. I'm testing on Solaris 9. Do I reference a physical LUN on the SAN, or the logical Unix file system to create the diskgroups?
Thanks in advance!
Mike

Thank you for your response.
Here is the disk that I am trying to map:
/dev/dsk/c2t10d89s0 105433231 98527307 5851592 95% /u04
I set the asm_diskstring to '/dev/dsk/c2t10d89s0'
I then try to create the diskgroup as follows:
SQL> create diskgroup dgroup1
2 external redundancy
3 disk '/dev/dsk/c2t10d89s0';
create diskgroup dgroup1
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/dsk/c2t10d89s0' matches no disks
ORA-15025: could not open disk '/dev/dsk/c2t10d89s0'
ORA-15056: additional error message
SVR4 Error: 13: Permission denied
Additional information: 42
Additional information: 106104528
Additional information: 36
for the disk above, I have the following file system where I store Oracle data files:
'/u04/oradata/dbmike/phdv4'
I've also tried an asm_diskstring='/dev/dsk/c2t10d89s0:/u04', but still same error.
Thanks in advance for any ideas!
- mike

Similar Messages

  • How to add diskgroup in ASM on linux

    Hi All,
    I have installed oracle 10.2.0.4 through Oracle VM- template. I install this template on OEL 5 (oracle enterprise linux 5) update 2.
    10.2.0.4 template is readily avaible which I just extract and run. It install 10.2.0.4 with ASM for single instance.
    Now, I want to add more diskgroup as by default this template created two diskgroup in ASM, but when to go for path of that diskgroup it will showing only: ORCL:VOL1 as a "path"
    query:
    select path,redundancy,total_mb,free_mb,failgroup from v$asm_disk where mount_status='CACHED' and header_status='MEMBER' and mode_status='ONLINE' and state='NORMAL' order by path ;
    PATH          REDUNDA          TOTAL_MB FREE_MB FAILGROUP
    ORCL:VOL1     UNKNOWN 7506 5593      VOL1
    ORCL:VOL2     UNKNOWN 7491 5578      VOL2
    how can I find on which physical path this diskgroup is created liek "/dev/xvd"...or something like this???
    can any one suggest me how to add new diskgroup... I can't use GUI becuase its disable.

    Hi All,
    I have installed oracle 10.2.0.4 through Oracle VM- template. I install this template on OEL 5 (oracle enterprise linux 5) update 2.
    10.2.0.4 template is readily avaible which I just extract and run. It install 10.2.0.4 with ASM for single instance.
    Now, I want to add more diskgroup as by default this template created two diskgroup in ASM, but when to go for path of that diskgroup it will showing only: ORCL:VOL1 as a "path"
    query:
    select path,redundancy,total_mb,free_mb,failgroup from v$asm_disk where mount_status='CACHED' and header_status='MEMBER' and mode_status='ONLINE' and state='NORMAL' order by path ;
    PATH          REDUNDA          TOTAL_MB FREE_MB FAILGROUP
    ORCL:VOL1     UNKNOWN 7506 5593      VOL1
    ORCL:VOL2     UNKNOWN 7491 5578      VOL2
    how can I find on which physical path this diskgroup is created liek "/dev/xvd"...or something like this???
    can any one suggest me how to add new diskgroup... I can't use GUI becuase its disable.

  • How to add ASm diskgroup in ASM oracle 10.1.0.4.0

    Hi experts,
    We are using IBM AIX 5.3L OS on IBM Servers.
    Oracle Database EE 10G 10.1.0.4.0,
    RAC and ASM
    Presently There are 3 diskgroup (Filesystem) in my DB suppose
    +ABC
    +DEF
    +GHI
    Now I want to add a new Diskgroup (File system)
    Say
    +XYZ
    and I want to tranfer some file from OS to ASM so that these files are stored in
    +XYZ
    I m new to ASM plz suggest me in detail.
    Thanks and Regards,

    It depends on the type of file you are talking about, if an spfile, you can use a SQL command to add it in if the database already exists:
    SQL> create spfile='+XYZ/dbname/spfileDBNAME.ora' from pfile='/home/oracle/initdbname.ora'
    For other file types like datafiles, controlfiles, etc. you should use RMAN to move them from a "real" datafile into ASM:
    RMAN> restore controlfile from '/oracle/product/admin/${db}/control01.ctl';
    - take tablespace test offline first then...
    RMAN> backup as copy tablespace 'TEST' format '+XYZ';
    RMAN> switch tablespace 'TEST' to copy;
    - then set the tablespace online
    If non-Oracle files, it is possible to put them in/out ASM using XDB and FTP, but why?
    Cheers!
    Jay Caviness
    http://www.grumpy-dba.com

  • Find physical patch for diskgroup in ASM

    Hi Experts,
    We have a RAC database 10..20.4 in ASM in redhat system.
    there are two diskgroup as data1 and  fradisk1
    all of database backup files locate at fradisk1 diskgroup.
    Sys admin wants to copy ASM data into tape for system backup and ask me physical path for these data files in fradisk group.
    i can only get these info by asm_disk view
    ORCL:FRADISK1
    how to find orcl or exactly physical path for FRADISK1 diskgroup in system?
    Please advised me!
    Thanks very much!
    JIm

    Mufalani wrote:
    In 10g the way to do this task is setting up MML on RMAN, allocate a sbt_tape device channel and do the command:
    RMAN> backup recovery area;
    Cheers,
    MufalaniAgree !!
    In 10.2.0.4 it is not possible to physically backup ASM or its disks.
    That is, one could physically use 'dd' ( diskdump ) to dump a disk physically to tape. But that would not be restorable.

  • How to Create new diskgroup in ASM ?

    Hi experts,
    We are using IBM AIX 5.3L OS on IBM Servers.
    Oracle Database EE 10G 10.1.0.4.0,
    RAC and ASM
    Presently There are 3 diskgroup (Filesystem) in my DB suppose
    +ABC
    +DEF
    +GHI
    Now I want to add a new Diskgroup (File system)
    Say
    +XYZ
    and I want to tranfer some file from OS to ASM so that these files are stored in
    +XYZ
    I m new to ASM plz suggest me in detail.
    Thanks and Regards,

    Cool_DBA wrote:
    Hi experts,
    We are using IBM AIX 5.3L OS on IBM Servers.
    Oracle Database EE 10G 10.1.0.4.0,
    RAC and ASM
    Presently There are 3 diskgroup (Filesystem) in my DB suppose
    +ABC
    +DEF
    +GHI
    Now I want to add a new Diskgroup (File system)
    Say
    +XYZ
    and I want to transfer some file from OS to ASM so that these files are stored in CREATE DISKGROUP XYZ NORMAL REDUNDANCY
    FAILGROUP controller1 DISK
    '/devices/a1' NAME diskA1 SIZE 250G FORCE,
    '/devices/a2',
    '/devices/a3'
    FAILGROUP controller2 DISK
    '/devices/b1',
    '/devices/b2',
    '/devices/b3';
    Use RMAN to copy the datafile or tablespace from OS to your ASM Disk Group
    RMAN> backup as copy tablespace test format '+XYZ';
    RMAN> switch tablespace test to copy; (Updates controlfile to use new location)
    SQL> select file_name from dba_data_files where tablespace_name='TEST';
    (check to see
    Y can delete the

  • Create diskgroup in ASM

    hi,
    i invoked asmca command in $prompt and i tried to create disk group....
    i have two raw storage devices located under /dev/raw/raw1 and /dev/raw/raw2 .......
    how can i discover those two raw devices and create disk group in ASM configuration
    please help me......

    with these two devices , i want to create asm with redundancy-normalYou can run DBCA and there you can select ASM option and you will see that it has detected your raw devices and now you can create the diskgroup with normal redundancy. Alternatively you can login to ASM using SQLPLUS and use following command to create disk group
    CREATE DISKGROUP disk_group_1 NORMAL REDUNDANCY
      FAILGROUP failure_group_1 DISK
        '/devices/diska1' NAME diska1,
        '/devices/diska2' NAME diska2
      FAILGROUP failure_group_2 DISK
        '/devices/diskb1' NAME diskb1,
        '/devices/diskb2' NAME diskb2;Reference
    http://www.oracle-base.com/articles/10g/AutomaticStorageManagement10g.php
    and i need to disk-disk mirrorNormal redundancy is two way mirroring and same as your demand.
    if i disconnect one disk and i connect to other server DB should be upYou mean you want to unplug this disk and plug into another server to create a copy of this database residing on this disk? Why going towards this complexity, simply create a clone of your database using other methods. I am not sure (probably you can't) you can plug this disk to other server and other ASM will be able to read this mirrored copy of database because metadata of this disk will tell ASM that this is a mirror of a normal redundancy and hence may not allow you to utilize this disk.
    Salman

  • New diskgroup in ASM

    Hi,
    I have an ASM storage of 300 GB
    And i have created two diskgroups namely group1 and group2.
    Group1 - 150 GB
    Group2 - 150 GB
    Now in group1 i have 50 gb free space
    in group2 i have 50 gb free space
    Now can i combine these freespace to create a new disk group?
    Is this possible?
    If so Can anyone tell me how to do that?
    Thanks in advance.
    Regars,
    Prem

    Not really, What is your disk/LUN size used in Disk group 1 & 2.
    If the disk size is 50GB or Less than that, then you can remove one disk from each disk group and use those disks to create new disk group.
    Hope this helps.

  • Move disk devices between diskgroup  in ASM SAN

    Hi Experts,
    We have a 4 nodes oracle 11.1 RAC with 10.2.04 database at red hat 5.1 Linux
    there are two diskgroup to support database. data1 and data2.
    data1 is for data files as 500G and data2 is for FRA as 1.7T.
    in the back, 4 candidate disks to support data1 group and other 8 support data2 group
    At the present, manager request to one devices to data 1 from data2.
    How can we user EM ( or other way) to move one device to data1 from data2 diskgroup without damage database.
    Please help me. this is emergency resuest due to data1 diskgroup without space and SA can not add a space in there right now.
    Thanks very much
    Jim

    No, you won't loose any data assuming you have enough space on other disks to move the data from the disk that is being dropped. Once run the drop command, asm automatically start rebalance process and it will start moving data from the disk that is being dropped to other available disks. I would give few mins to ASM to finish the rebalance process. You can check the reblance process by running the follwonig query. If the query results to nothing or zero records that means ASM is not doing any rebalances.
    select * from v$asm_operation
    you can also check the following query to check the disks
    desc v$asm_disk
    select * from asm_disk (or pick the fields you want to view such as name, status, header_status, mount_status, etc)

  • How to drop the last diskgroup in ASM 11g?

    Hello,
    I installed an ASM instance and created a DATA diskgroup using the Oracle installer. I would like to drop the diskgroup and re-create it using partitions instead of disk devices in order to use ASMLib.
    I have not found a way to get rid of the DATA diskgroup yet. How do I get rid of it?
    [+ASM@asm]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Sep 3 20:12:05 2010
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> DROP DISKGROUP data INCLUDING CONTENTS;
    DROP DISKGROUP data INCLUDING CONTENTS
    ERROR at line 1:
    ORA-15039: diskgroup not dropped
    ORA-15027: active use of diskgroup "DATA" precludes its dismountI used the following for data_0000 - data_0005, thinking it would be a good idea to drop each disk before dropping the diskgroup - which worked, although I had to use force for data_0000;
    SQL> alter diskgroup data drop disk data_0006;
    ... etc...
    SQL> alter diskgroup data drop disk data_0000 force;It all looks a bit weired now:
    SQL> select name, header_status, path from v$asm_disk;
                        MEMBER        /dev/sda
    _DROPPED_0000_DATA  UNKNOWN
    DATA_0001   MEMBER        /dev/sdb
    DATA_0002   MEMBER        /dev/sdc
    DATA_0003   MEMBER        /dev/sdd
    DATA_0004  MEMBER         /dev/sde
    DATA_0005   MEMBER        /dev/sdf
    SQL> alter diskgroup data dismount force;
    Diskgroup altered.
    SQL> alter diskgroup data mount;
    Diskgroup altered.
    SQL>

    Thanks for the reply.
    Unfortunately I cannot use EM since I do not have any database installed that uses the ASM instance yet, and to my knowledge ASM alone does not provide a web console.
    Anyway, I finally just manged to drop the diskgroup. Normally a diskgroup needs to be mountedto be dropped, but the force clause can be used for a diskgroup that is dismounted. So I tried it with the diskgroup dismounted... and it worked.
    SQL> alter diskgroup data dismount force;
    SQL> drop diskgroup data force including contents;
    Diskgroup dropped.
    Thanks!
    Edited by: Markus Waldorf on Sep 3, 2010 6:13 PM

  • ORA-15063: ASM discovered an insufficient number of disks for diskgroup

    Hello DBAs,
    I have encountered this problem. I am using storage vendor snapshot capability. On my first node, I have 2 disks for ASM diskgroups. ORCL:DATA belongs to DATA diskgroup and ORCL:FLASH belongs to FLASH diskgroup. After making the snapshots of these two disks, I mapped them to my second host which already has ASM instance. I ran /etc/init.d/oracleasm scandisk and listdisks I see two disks. But when I start up ASM instance I get this error:
    SQL> startup
    ASM instance started
    Total System Global Area 130023424 bytes
    Fixed Size 2019032 bytes
    Variable Size 102838568 bytes
    ASM Cache 25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "FLASH"
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA"
    Of course, I have the asm_diskstring and asm_diskgroups parameter set in my init+ASM.ora file. The ASM version is identical across both hosts. I guess my question would be, is it possible to do this? Do I need to re-create the ASM disks using /etc/init.d/oracleasm? Any help is much appreciated.
    Thanks,
    TD

    What is your configuration?
    If you have AIX and EMC san, then refer to this metalink note: 467702.1
    In my case, it was HP-UX and HP san EVA8200. But our problem was two different disks were presented to the two nodes, with same names by the unix admin/san admin guys.
    Before they could figure out the problem, I had done a lot of research for few days to figure this out. Another problem I noticed in some cases was improper permissions. Either the db software owner didn't have permissions to the asm disks, or if the owner of both software was same, then the actual permissions/ownership of the shared raw devices was different on the two nodes.
    Hope this helps. And I will appreciate once you fix the problem if you can also update this forum with your solution. That will help the community in future.
    Thanks

  • How to remove an old ASM Diskgroup

    Hi
    I am in the process of converting an 11g database to use ASM.
    To start with I installed a 10g ASM instance because that was the only version we had, only to realise afterwards that an 11g database is incompatable with a 10g ASM instance. By this time I had marked the disk for ASM and assigned it to a diskgroup (ASMDG1).
    I have now removed the 10g install and am attempting to set up an 11g ASM instance. Unfortunately the installer still recognises the original Diskgroup and the fact that the disk is still assigned to it.
    What do I need to do to drop the original diskgroup and free up my ASM disk for the new 11g install?
    I am running on Redhat 5 and, in this case, Oracle 11.2.
    Thanks
    Simon

    Simon Tann wrote:
    Hi
    I am in the process of converting an 11g database to use ASM.
    To start with I installed a 10g ASM instance because that was the only version we had, only to realise afterwards that an 11g database is incompatable with a 10g ASM instance. By this time I had marked the disk for ASM and assigned it to a diskgroup (ASMDG1).
    I have now removed the 10g install and am attempting to set up an 11g ASM instance. Unfortunately the installer still recognises the original Diskgroup and the fact that the disk is still assigned to it.
    What do I need to do to drop the original diskgroup and free up my ASM disk for the new 11g install?
    I am running on Redhat 5 and, in this case, Oracle 11.2.
    Thanks
    Simondelete the existing disk and create the new disk for 11g installation and try the installation again.
    /etc/init.d/oracleasm deletedisk
    Good Luck.

  • 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

  • Data Guard: db_file_name_convert/log_file_name_convert when using ASM/OMF

    All,
    I have a call currently open with Oracle regarding the setting of the parameters db_file_name_convert and log_file_name_convert in a data guard environment. We use ASM / OMF for storage and file naming and my question is basically do these parameters have to be set. The documentation says they do where the file structure is different between PRIMARY and STANDBY.
    I have successfully tested failover and switchover without these parameters. I have also added a new tablespace on the PRIMARY and watched it create a new OMF datafile on standby when the logs are switched.
    I just can't see a reason for setting them when using ASM / OMF.
    I'm hoping someone can enlighten me here because I'm getting nowhere whith support. The following is our Data Guard setup:
    PRIMARY
    DB_NAME=IBSLIVE
    DB_UNIQUE_NAME=IBSLIVE
    ASM Disk Groups:
    +PRODDATA (Data Files, Control Files, Redo Logs)
    +PRODFLASH (Archive Logs, Flashback Logs, RMAN backups)
    +PRODLOGS (Multiplexed Control & Redo Logs)
    STANDBY
    DB_NAME=IBSLIVE
    DB_UNIQUE_NAME=IBSDR
    ASM Disk Groups:
    +DRDATA (Data Files, Control Files, Redo Logs)
    +DRFLASH (Archive Logs, Flashback Logs, RMAN backups)
    +DRREDO (Multiplexed Control & Redo Logs)
    Many Thanks,
    Ian.

    Ian,
    I'm having similar thoughts.
    I have created a new instance with files in asm under +datadisk/obosact (this is the smae name as primary)
    I then modify the db_unique_name from obosact to obosactdr as is required for standby to work
    When I recover (duplicate target database for standby; ) I find that the files are in datadisk/obosactdr not in the datadisk/obosact area
    I found this reference http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf
    4. Connect to the ASM instance on one standby host, and create a directory within the DATA disk group that has the same name as the DB_UNIQUE_NAME of the standby database. For example: SQL> ALTER DISKGROUP data ADD DIRECTORY '+DATA/BOSTON';
    This step seems to indicate that the location of the files is determined by the db_unique_name not the db_file_name_convert paramenter
    DId you ever resolve the issue?

  • How do I map Hitachi SAN LUNs to Solaris 10 and Oracle 10g ASM?

    Hi all,
    I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
    for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
    My question is this:
    How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
    I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
    I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
    I cannot find this critical piece of information ANYWHERE!!!!
    Thanks for your help!

    Yes that is correct however due to use of Solaris 10 MPxIO multipathing software that we are using with the Hitachi SAN it does present an extra layer of complexity and issues with ASM configuration. Which means that ASM may get confused when it attempts to find the new LUNs from the Hitachi SAN at the Solaris OS level. Oracle Metalink note 396015.1 states this issue.
    So my question is this: how to configure the ASM instance initialization parameter asm_diskstring to recognize the new Hitachi LUNs presented to the Solaris 10 host?
    Lets say that I have the following new LUNs:
    /dev/rdsk/c7t1d1s6
    /dev/rdsk/c7t1d2s6
    /dev/rdsk/c7t1d3s6
    /dev/rdsk/c7t1d4s6
    Would I set the ASM initialization parameter for asm_diskstring to /dev/rdsk/c7t1d*s6
    as correct setting so that the ASM instance recognizes my new Hitachi LUNs? Solaris needs to map these LUNs using pseudo devices in the Solaris OS for ASM to recognize the new disks.
    How would I set this up in Solaris 10 with Sun multipathing (MPxIO) and Oracle 10g RAC ASM?
    I want to get this right to avoid the dreaded ORA-15072 errors when creating a diskgroup with external redundancy for the Oracle 10g RAC ASM installation process.

  • Create Diskgroup Fails

    Count not mount the diskgroup.
    SQL> alter diskgroup stag_data mount;
    alter diskgroup stag_data mount
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup
    "STAG_DATA"
    Could not add the disk, since it is not mounted. (Catch 22)
    SQL> ALTER DISKGROUP stag_data add disk '/dev/rdsk/c1txxxxxxxxs6';
    ALTER DISKGROUP stag_data add disk '/dev/rdsk/c1txxxxxxxxs6'
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15001: diskgroup "STAG_DATA" does not exist or is not mounted
    SQL> show parameter asm_diskstring
    NAME TYPE VALUE
    asm_diskstring string
    SQL> select name, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME STATE TYPE TOTAL_MB FREE_MB
    STAG_DATA DISMOUNTED 0 0
    STAG_FLASH MOUNTED EXTERN 102093 102000
    Oracle Metalink solution was to
    1) Drop and recreate the raw devices.
    Note: Recreate the raw devices is required in order to remove completely the ASM metadata.
    dd if=/dev/zero of=/dev/rdsk/<device_name> bs=1024 count=100
    dd if=/dev/zero of=/dev/rdsk/<device_name> bs=8192 count=2560
    But this did not fix this issue. Any Thoughts
    Thanks
    -Prasad

    How do i remove invalid disk names and where is this info stored in the ASM.
    export ORACLE_SID=+ASM1
    SQL> startup
    ASM instance started
    Total System Global Area 130023424 bytes
    Fixed Size 2028368 bytes
    Variable Size 102829232 bytes
    ASM Cache 25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15024: discovered duplicately numbered ASM disk 0
    SQL> select name, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME STATE TYPE TOTAL_MB FREE_MB
    STAG_DATA DISMOUNTED 0 0
    STAG_FLASH MOUNTED EXTERN 102093 101759
    SQL> alter system set asm_diskstring='/dev/rdsk/c1t500*';
    System altered.
    SQL> alter diskgroup stag_data mount;
    Diskgroup altered.
    SQL> select name, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME STATE TYPE TOTAL_MB FREE_MB
    STAG_DATA MOUNTED EXTERN 95625 92541
    STAG_FLASH MOUNTED EXTERN 102093 101759
    Now i want to drop the invalid member of the diskgroup. But could not drop it.
    SQL> ALTER DISKGROUP STAG_DATA drop DISK '/dev/rdsk/c0t50060E800043A501d247s6';
    ALTER DISKGROUP STAG_DATA drop DISK '/dev/rdsk/c0t50060E800043A501d247s6'
    ERROR at line 1:
    ORA-01948: identifier's name length (35) exceeds maximum (30)
    SQL> ALTER DISKGROUP STAG_DATA drop DISK 'c0t50060E800043A501d247s6';
    ALTER DISKGROUP STAG_DATA drop DISK 'c0t50060E800043A501d247s6'
    ERROR at line 1:
    ORA-15032: not all alterations performed
    ORA-15054: disk "C0T50060E800043A501D247S6" does not exist in diskgroup
    "STAG_DATA"
    SQL> shutdown
    ASM diskgroups dismounted
    ASM instance shutdown
    SQL> startup
    ASM instance started
    Total System Global Area 130023424 bytes
    Fixed Size 2028368 bytes
    Variable Size 102829232 bytes
    ASM Cache 25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15024: discovered duplicately numbered ASM disk 0
    Diskgroup is invalid on every reboot. Where is this info stored in ASM
    Thanks
    -Prasad

Maybe you are looking for

  • Can a mba use an imac as an external display

    I have a PowerPC G5 iMac running Leopard and I'd like to use it as an external display for my new 2011 MacBook Air running Lion. Is this possible? What cable would be used? Any need for additional software?

  • Standby question

    Hi experts , i have a simple question ..Can we convert a logical standby to physical standby ? Yes or No, if yes how .. if no please let me.. please help

  • Camera live video feed to mac?

    My camera outputs a HDMI live video feed. Can I desplay this on my IMAC 21.5'' 2011. I want to use my camera as a stop motion capture device so essentially it would be a webcam. Can you help Oliver. My camera is a Sony Cyber shot HX200V.

  • Total Number of IDocs in SLA Reporting

    Hi, can anyone tell me, how to add the total number of IDOCs to the SLA Reporting? Thank you Timm

  • TP only works from OS level

    Hello, we have a strange problem regarding tp. When trying to import a transport from the STMS I always get the following error in the tp Systemlog ERROR: No connect due to DbSl Load Lib Failure ERROR: environment variable dbms_type is not set. ERROR