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.

Similar Messages

  • 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

  • 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

  • Using RMAN restore the database on a new host in ASM

    Hello All,
    I am trying to restore a database without using RMAN database duplicate.  I want to do set new name for datafile and rename log file for online logs and change database name at last using NID.
    here are details
    source database - APSPROD / server - X
    target database -  EMERALD / Server -Y
    Compressed backup is copied to destination server and I am trying to restore database using RMAN. Here is my init.ora file
    cat initAPSPROD1.ora
    DB_NAME=APSPROD
    compatible=11.2.0.3
    sga_target=8G
    CONTROL_FILES='+DATA_DM01/EMERALD/controlfile/cntrl01.dbf','+RECO_DM01/EMERALD/controlfile/cntrl02.dbf','+DATA_DM01/EMERALD/controlfile/cntrl03.dbf'
    DB_BLOCK_SIZE=8192
    db_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD)
    log_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD,+RECO_DM01/APSPROD,+RECO_DM01/EMERALD)
    DB_RECOVERY_FILE_DEST='+RECO_DM01'
    DB_RECOVERY_FILE_DEST_SIZE=5500G
    So from above you can see that control file should be restored to +DATA_DM01/EMERALD and +RECO_DM01/EMERALD path.
    Question -
    when I am trying to restore control file. It creates an ASM alias name in +DATA_DM01/EMERALD/controlfile/cntrl01.dbf',+RECO_DM01/EMERALD/controlfile/cntrl02.dbf',' and +DATA_DM01/EMERALD/controlfile/cntrl03.dbf' but It creates fully Qualified ASM Filename  under +DATA_DM01/APSPROD and +RECO_DM01/
    Here is output
    RMAN> restore controlfile from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1
    2> ;
    Starting restore at 02-APR-14
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=+DATA_DM01/emerald/controlfile/cntrl01.dbf
    output file name=+RECO_DM01/emerald/controlfile/cntrl02.dbf
    output file name=+DATA_DM01/emerald/controlfile/cntrl03.dbf
    Finished restore at 02-APR-14
    output at ASM level
    SMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl02.dbf => +RECO_DM01/APSPROD/CONTROLFILE/current.17006.843826701
    ASMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > cd +RECO_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.17006.843826701
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > cd +DATA_DM01
    ASMCMD [+DATA_DM01] > cd EMERALD/CONTROLFILE
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3678.843826699
                                                   N    cntrl03.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843826701
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD/CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3678.843826699
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843826701
    How can I ensure that every thing gets created in +DATA_DM01/EMERALD/ or [+RECO_DM01/EMERALD??  similary for datafile restore even I have used set new file name ASM fully quilified OMF  datafile gets created under +DATA_DM01/APSPROD/
    ASMCMD [+DATA_DM01/EMERALD/DATAFILE]
    N    undots5_01.dbf => +DATA_DM01/APSPROD/DATAFILE/APPS_UNDOTS5.3669.843818269
    Thanks
    PV

    Even If I explicitly say
    rman target / nocatalog
    RMAN> restore controlfile  to '+DATA_DM01/emerald/controlfile/cntrl01.dbf' from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1';
    Starting restore at 02-APR-14
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=64 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 02-APR-14
    It create as alias name  +DATA_DM01/emerald/controlfile/cntrl01.dbf' pointing to +DATA_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843828927
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD
    ASMCMD [+DATA_DM01/APSPROD] > cd CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843828927
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] >

  • Best way to migrate ASM diskgroups to new diskgroups on new storage

    Hi, we are currently planning a Storage migration, and we have 2 node RAC 10gR2 so we need to know a better way to perform data migration from current ASM Diskgroups to new storage.
    Could anyone comment about this ?

    Connect new storage to host, add new disks to disk groups, remove old disks from diskgroups.

  • New disk in ASM

    Hi,
    on 10g R2 ,Unix HP and ASM 10.2
    a new filesystem would be added by system (Unix administrator) what should I do as DBA to :
    -see it in ASM ?
    -be able to create datafiles on it ?
    Thank you.

    Hi,
    First you will have to find the new disk with fdisk -l
    then you will have to create a partition, if not already done
    fdisk /dev/<your_disk>Use oracleasm to create a disk and scan for the disk on the other nodes
    oracleasm createdisk <DISKNAME> /dev/<your_disk>
    oracleasm scandisksto make sure the disk exist you can use
    oracleasm listdisksLog into ASM with sqlplus and run
    alter diskgroup <your_diskgroup_name> ADD DISK '/dev/<your_disk>';you can look at "http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmdiskgrps.htm#CHDBIFGA" for more info on how to admin ASM diskgroups.
    Regards.

  • After add (in a wrong way)  a new disk in ASM, cluster don´t start

    Hi,
    Environment:
    Oracle RAC 10gR2
    2 nodes windows 2003 advanced server (node1 called "database1" and node2 called "database2").
    ASM
    san storage
    Case:
    My client has tried to add a new disk (in a environment san) in ASM with the next steps:
    1. database1 and database2 are up.
    2. instance ASM1 from database is up and instance ASM2 from database2 is down (I don´t know why¿¿¿¿¿¿¿??????????).
    3. add a new disc from san storage to instance ASM1. At the end, a lot of errors show in screen due to  instance ASM2 was down.
    4. client tried to up +ASM2 and then , all the cluster crashed.
    5. reboot boths nodes database1 and database2 , and Windows 2003 Server don´t start well (hung up, due to services from oracle cluster are "automatically start"-
    6. disable oracle services in "not automatically start" and windows 2003 server start well.
    7. now oracle rac don´t start, ASM don start, instances don´t start ....
    what can I do? any idea?
    Regards.
    Laura

    Did you try to bring the U1 and it's associated ASM instance up while the other node is shutdown? Are you using Oracle clusterware?

  • How can I add a new controlfile in ASM?

    In the ASM,I can't copy any file.How Can I create a new online controlfile? Thanks!

    You can use "alter database backup controlfile to trace" command to get the control file contents.
    Now you can use create controlfile:
    1) If you use resetlogs, use file creation context form for specification of log files.
    2) If you use resetlogs, use file reference context.
    Why do you want to create a new control file. Is it for multiplexing purpose?
    Reference: Chapter-12 of Oracle database administrator guide 10gR2
    search for title "Creating a Control File in ASM" ...
    Hope this will help you.
    Regards,
    Neeraj

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • 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

  • 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

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

  • 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

Maybe you are looking for

  • Register updation - J1I5

    Dear Friends, 1. Whats are the classifications relevent for SD - whil updating the registers.... 2. Do we have any accounting impact after creation of ARE-1 specially in the case of Export under Rebate?     If so ....whats the A/C entries like? Cheer

  • Solman_problem_mgmt in Solman 4.0

    Hi, I am getting "page cannot be displayed" this error in transaction solman_problem_mgmt in Solman 4.0. Please tell me what settings i need to do.  I want to see how the screen looks like. please help me on this.

  • Spry Image Slideshow with Filmstrip- Filmstip thumbs loading incorrectly

    Hello, I am hoping someone will be able to help me. I loaded the Widget for the Spry Image Slideshow with Filmstrip. After reading several tutorials as that the product did not work correctly, I finally got the corrupted .js fixed (thanks Accustic Gr

  • Does FB for PHP no longer generate sample php class?

    Before on Flash 4 and 4.5 Now on FB4.5 for PHP... Does this mean we have 'do the arithmertic' to write the classes instead of just expanding off the generated code?

  • Alert: Broken Links on BI website

    On http://www.oracle.com/technetwork/topics/bi/articles/index.html, every link to every document is broken.