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

Similar Messages

  • How to create a new ASM Diskgroup in Oracle 10g RAC?

    Hi,
    Our env is Oracle 10g R2 RAC on HP-UX. I want to create a new ASM Diskgroup. Please let me know if the following steps are ok to create a new ASM Diskgroup.
    1. Ensure the new Disk is visible in both ASM instances in RAC (v$asm_disk) and the header_status is 'CANDIDATE'
    2. From Node 1 ASM Instance issue the create diskgroup command.
    SQL> create diskgroup DATA2 external redundancy disk '/dev/rdsk/c4t0d5';
    3. Query v$asm_diskgroup and make sure the Diskgroup is created.
    4. Mount the DATA2 Diskgroup from Node 2 ASM Instance.
    5. Query v$asm_diskgroup and make sure the Diskgroup is visible from Node2 ASM instance.
    6. Ensure the header_status is 'MEMBER'.
    Rgds,

    correct.
    instead of using device file '/dev/rdsk/c4t0d5' you can create an alternate device file using mknod, which is called "asm_disk_xg" for example.
    check here: http://download.oracle.com/docs/cd/B19306_01/install.102/b14202/storage.htm#CDEECIHI
    hth

  • 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

  • ASM newly created diskgroup is not being used by RAC10GR2 Database

    Hi,
    I created new ASM diskgroup by using one of the RAC node through Grid control , it created new disk group successfully , I can see all the diskgroups in Grid control including newly created, but some how data is not moving into newly created diskgroup, all the diskgroups are mounted. Am i missing any post step , please help.
    Thanks
    MA
    Edited by: 901554 on Jan 26, 2012 9:39 AM

    Hi,
    Data is not balanced accross diskgroups. It's balanced accross disks within a diskgroup. What exactly are you trying to achieve here?

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

  • 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

  • Creating diskgroups and failure groups on windows

    Hi,
    I have a Windows 32-bit with two drives of C: and F:. I have an Oracle database that I like to migrate to ASM. I ran the utility localconfig.bat with the add option which successfully started CSS services and installed ASM and started it up.
    In DBCA I tried to create diskgroups but there is no way to do it. How can I create diskgroups and failure groups on windows?

    You have to use the ASMTOOLG (or asmtool) program to "mark" the disks for use with ASM. Once done, DBCA should recognize the disks.
    You might check out Julian Dykes powerpoint on installing RAC and ASM on Windows for more helpful info.
    Cheers!
    Jay Caviness
    http://www.grumpy-dba.com

  • How to create database with ASM

    HI
    How to create database with ASM?
    I install vmware workstation on window XP .On virtual machine install Linux 5 enterprise (Oracle) install.
    I install oracle DB software only. Also make 3 disk for ASM .
    1 -- When I want to install oracle DB with ASM . In this process candidate disks not show . Why?
    How I can see disks ..
    so I simple install oracle DB software only.
    2 -- Now I want to create database with ASM by DBCA .
    What process I will follow ?
    Please guide me
    Thanks

    Hi
    Steps to create database with ASM.
    1.Install oracle binary with active CRS(For single node installation CRS is activated when you run root.sh) .
    2.Create disk without file ssytem.
    3.Assign disk to raw .
    4.Change owner and permission to raw devices.
    5.Configure ASM manually or USing DBCA.
    Manually ASM Configuration.
    a.Create initialization parameter file and password file.
    b.Mandatory parameter is "instance_type=asm" as per your need configure rest of parameter like db_cache_size,large_pool_size,processes,remote_login_passwordfile,shared_pool_size etc..
    c.To discover disk configure "asm_diskstring=/dev/raw/raw*"
    Using DBCA to configure ASM.
    1.In storage type section choose ASM.It will ask for password of sysdba in 10g.
    2.ASM configuration window will open -> here it create disk group -> it shows all available ASM candidate disk automatical -> choose normal redundancy,external redundancy or high redundancy.
    ASM disk also can be conbfigured with ASMLIB .
    If ASM disk is configured you can start asm instance in nomount state and query to v$asm_disk to see all candidate disk.V$asm_disk only shows disk which is configured in asm_diskstrings.
    Hope this will help U,
    Tinku

  • 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

  • Create database in ASM

    Hi,
    in 10.2.0.4 , I create database (non ASM) by the following script :
    CREATE DATABASE DEVLPT10
    USER SYS IDENTIFIED BY oracle
    USER SYSTEM IDENTIFIED BY oracle
    LOGFILE GROUP 1 ('/home/oracle/oracle/instances/oradata/DEVLPT10/redo1/redo01.log') SIZE 15M,
    GROUP 2 ('/home/oracle/oracle/instances/oradata/DEVLPT10/redo2/redo02.log') SIZE 15M,
    GROUP 3 ('/home/oracle/oracle/instances/oradata/DEVLPT10/redo3/redo03.log') SIZE 15M
       maxdatafiles 254
       maxinstances 8
       maxlogfiles 32
       character set WE8ISO8859P15
       National Character Set UTF8
    DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/noyau/system_01.dbf' SIZE 2048
    SYSAUX DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/noyau/sysaux_01.dbf' SIZE 350M
    EXTENT MANAGEMENT LOCAL
    DEFAULT TABLESPACE BIG_TBS
    DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/donnees/big_tbs_01.dbf'
    SIZE 200M EXTENT MANAGEMENT LOCAL
    DEFAULT TEMPORARY TABLESPACE temp
    TEMPFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/temp/temp_01.dbf'
    SIZE 150M
    UNDO TABLESPACE undotbs1
    DATAFILE '/home/oracle/oracle/instances/oradata/DEVLPT10/undo/undotbs_01.dbf'
    SIZE 200M AUTOEXTEND ON MAXSIZE UNLIMITED;
    CREATE TABLESPACE BIG_TBS_IDX DATAFILE
      '/home/oracle/oracle/instances/oradata/DEVLPT10/indexes/BIG_TBS_IDX_01.DBF' SIZE 1024M AUTOEXTEND OFF
    LOGGING
    ONLINE
    PERMANENT
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K
    SEGMENT SPACE MANAGEMENT MANUAL;Now I'm going to create a DB in ASM. What does change in syntaxe for datafile path ?
    Suppose we want to have :
    +DGDATA_DB/mydb/datafile/sysaux....................
    Thank you.

    Try to replace each file name with +DGDATA_DB: Oracle should take care to create each control file, data file, temp file and redo log member in the right ASM directory.                                                                                                                                                                                                                                                                                                                                               

  • No member Disk displayed while creating Diskgroups for new ASM instance

    Have installed CRS
    Have installed DB software
    Invoked dbca to create asm instance
    Instance created
    Disk members not displayed for creating disk groups
    OS is Hp ux 11.23

    The most likely reason on HP/UX is the permissions on the devices, all the devices to be used by ASM (including the devices for alternate paths) should be set to oracle:dba (or what ever user ASM is installed under) and chmod to 664.

  • Can't create database using ASM (SOLVED)

    Hi all
    I'm trying to use ASM for the first time, on Oracle 10.2.0.1 on Solaris x64.
    I have installed the ASM instance into /opt/oracle/asm/10.2.0 and created disk groups. I have cssd running OK. I am able to start and stop the ASM instance without problems, and I can select from v$asm_diskgroup to confirm that disks are mounted OK.
    I have then installed Oracle EE separately into /opt/oracle/server/10.2.0. I first did a software only install, and now I am trying to create a DB.
    The problems come when I try to use this ASM instance to host a new database. I first tried to use DBCA to create a new database, but on database creation I got the following errors:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    I then told DBCA just to create the DB creation scripts, and I tried manually running these with SQL*Plus.
    When doing it with SQL*PLus, I initially got the same error as shown above. But then something changed (sorry, not sure what), and now the error I get is:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    I've put some debug info below, showing me succesfully connecting to the ASM instance and then attempting to create the DB using the db creation scripts, showing the error at the end. You can see that the oracle OS user is able to connect fine to ASM, then I swithc ORACLE_SID and ORACLE_HOME to the EE install and try to create the DB, at which point it apparently can't connect to ASM any more.
    I've tried the DB creation many times, and in between attempts I completely empty $ORACLE_HOME/admin/<dbname> and delete the files related to the attempted install from $ORACLE_HOME/dbs/ . I've also stopping/starting ASM, rebooting, and I've done the install of ASM and EE a couple of times over in case I made any mistakes in my earlier attempts.
    Any help would be much appreciated!
    Tom
    ##### CHECKING ASM
    oracle@neonrcom-db1:~$ uname -a
    SunOS neonrcom-db1 5.10 Generic_127128-11 i86pc i386 i86pc
    # css is running
    oracle@neonrcom-db1:~$ ps -ef | grep css
    oracle 498 1 0 21:46:40 ? 0:01 /opt/oracle/asm/10.2.0/bin/ocssd.bin
    # listener is running in the ASM instance
    oracle@neonrcom-db1:~$ ps -ef | grep tnsl
    oracle 1332 1 0 21:49:59 ? 0:00 /opt/oracle/asm/10.2.0/bin/tnslsnr LISTENER -inherit
    # ASM is only entry in /var/opt/oracle/oratab
    oracle@neonrcom-db1:~$ grep -v "^#" /var/opt/oracle/oratab
    +ASM:/opt/oracle/asm/10.2.0:N
    # I can connect to ASM fine, and it has diskgroups mounted.
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/asm/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='+ASM'
    oracle@neonrcom-db1:~$ sqlplus "sys as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 20:53:10 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> set line 150
    SQL> select name, block_size, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
    DBARCH1 4096 MOUNTED EXTERN 2096856 2096784
    DBLIVE1 4096 MOUNTED EXTERN 4193904 4193812
    #### Contents of init.ora for new DB
    db_create_file_dest=+DBLIVE1
    db_recovery_file_dest=+DBARCH1
    db_recovery_file_dest_size=2147483648
    ##### DB INSTALLATION ATTEMPT
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/server/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='NEONREL1'
    oracle@neonrcom-db1:~$ export PATH=$ORACLE_HOME/bin:$PATH
    oracle@neonrcom-db1:~$ /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/NEONREL1.sh
    You should Add this entry in the /var/opt/oracle/oratab: NEONREL1:/opt/oracle/server/10.2.0:Y
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 22:10:54 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    specify a password for sys as parameter 1
    Enter value for 1: xxx
    specify a password for system as parameter 2
    Enter value for 2: xxx
    specify a password for sysman as parameter 3
    Enter value for 3: xxx
    specify a password for dbsnmp as parameter 4
    Enter value for 4: xxx
    specify ASM SYS user password as parameter 6
    Enter value for 6: xxx
    Connected to an idle instance.
    SQL> spool /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/CreateDB.log
    SQL> startup nomount pfile="/opt/oracle/server/10.2.0/admin/NEONREL1/scripts/init.ora";
    ORACLE instance started.
    Total System Global Area 1.9294E+10 bytes
    Fixed Size 2054976 bytes
    Variable Size 2264925376 bytes
    Database Buffers 1.7012E+10 bytes
    Redo Buffers 14721024 bytes
    SQL> CREATE DATABASE "NEONREL1"
    2 MAXINSTANCES 8
    3 MAXLOGHISTORY 1
    4 MAXLOGFILES 16
    5 MAXLOGMEMBERS 3
    6 MAXDATAFILES 100
    7 DATAFILE SIZE 300M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    8 EXTENT MANAGEMENT LOCAL
    9 SYSAUX DATAFILE SIZE 120M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    10 SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE SIZE 20M AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    11 SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE SIZE 200M AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    12 CHARACTER SET AL32UTF8
    13 NATIONAL CHARACTER SET UTF8
    14 LOGFILE GROUP 1 SIZE 51200K,
    15 GROUP 2 SIZE 51200K,
    16 GROUP 3 SIZE 51200K
    17 USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    Message was edited by:
    tjobbins

    Update: I've worked out the difference between the two sets of errors I get.
    The basic error is this:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    However if my init.ora contains the line:
    control_files=/opt/oracle/server/10.2.0/dbs/cntrlNEONREL1.dbf
    then I instead get the second error:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    So basically these must be the same error, just in the second case I'm not trying to put the control file on the ASM so it fails at a different point.
    But both errors must be because of the same cause, I suppose.

  • Create space in ASM Instance

    Dear All,
    Here is the configuration we have:
    Primary Database: Oracle RAC (2 Nodes). 11g R1 RAC, 10g R2 Database using ASM (OS: Windows Server 2003)
    Data Guard: 10g R2 Database using ASM (OS: Windows Server 2003)
    We are getting the following errors in the alert log file of ASM Instance (Data Guard) - Data Gaurd mode is 'Max Performance':
    ORA-00270: error creating archive log +DG_DATAFILES_AND_FB/accelastdby/primary_arch_logs/arc32471_0721252017.002
    ORA-19504: failed to create file "+DG_DATAFILES_AND_FB/accelastdby/primary_arch_logs/arc32471_0721252017.002"
    ORA-17502: ksfdcre:4 Failed to create file +DG_DATAFILES_AND_FB/accelastdby/primary_arch_logs/arc32471_0721252017.002
    ORA-15041: diskgroup space exhausted
    Uopn checking the disk group DG_DATAFILES_AND_FB, free space is 0.
    What are the possible options to create more space on this disk group? Can we delete some files safely without any impact (for example: Archive logs which have been applied to database)?
    Thanks for your advice.
    Regards,
    Muhammad Riaz

    Hi,
    First you can add more disks to the diskgroup so you can get more space, ASM will do rebalance once new disks added.
    Second, It seems that your archivelog in dataguard were not deleted after being applied. You can delete the applied archivelog in dataguard, use RMAN is the best option
    Hope this helps
    Cheers
    FZheng

  • 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

  • Createing ACFS in ASM

    Hi,
    I am going to create ACFS filesystem in ASM having 2 node RAC 11.2.0.2.
    I could get the option of ASMCA which will create ACFS file system on disk group. Which looks very straight forward.
    But when I gone through some docs on ACFS [command line] it says to create the volume first [which is ADVM feature] and then create ACFS using ASMCMD>mkfs. I could not understand the why do we have to create volume in order to create ACFS? Also gone through the ADVM docs but did not understand what exactly it is and how it works?
    Is the volume created using ADVM is the logical structure? Becuase when I created volume using ADVM I could not do CD to particular volume.
    Can anyone explain the same to clear my fundas.
    Thanks...

    Hi,
    think of ASM as a logical volume manager.
    Like with every volume manager, you have to first create a volume, before you can put a filesystem onto it.
    It is the same here: You first have to create a volume inside your ASM diskgroup, that this volume gets "exported" to the OS. After you created a volume, you will find a volume under /dev/asm/<name>.
    This volume than can be used, to put any filesystem onto it, whatever you want.
    E.g. ext3. Or better the ACFS filesystem.
    Filesystems are formatted using mkfs (make file system command) from linux.
    In the special case of ACFS it is mkfs.ext3 (which by the way is not an asmcmd command, but a generall linux command).
    Now if you create ACFS via asmca, then the volume is created under the cover automatically. But if you look you will find the volume listed under the volume tab of ASMCA.
    Regards
    Sebastian

Maybe you are looking for