ASM, Disk Hung: how remove??

Hi guys, I have a big issue to solve: I work on Solaris OS and Oracle 10.0.2 with ASM.
I can't delete a new (no tablespace are expanded till now) disk added to diskgroup (DGFC).
This is my situation:
select name, state FROM V$ASM_DISK where name like 'DGFC%';
NAME STATE
DGFC_0000 NORMAL
DGFC_0001 NORMAL
DGFC_0002 NORMAL
DGFC_0003 NORMAL
DGFC_0004 NORMAL
DGFC_0005 NORMAL
DGFC_0006 NORMAL
DGFC_0007 NORMAL
DGFC_0008 NORMAL <---- This is the last disk added (I would remove it)
Maybe this could be important: DGFC_0008 was dropped from another diskgroup and header_status has changed from CANDIDATE to FORMER, then I added to DGFC diskgroup in the classic way.
Sending ALTER DISKGROUP DGFC DROP DISK DGFC_0008; the situation change into
NAME STATE
DGFC_0008 HUNG
and log file alert_+ASM.log contains:
Fri Jan 14 21:18:08 2011
SQL> ALTER DISKGROUP DGFC DROP DISK DGFC_0008
Fri Jan 14 21:18:08 2011
NOTE: PST update: grp = 1
NOTE: requesting all-instance PST refresh for group=1
Fri Jan 14 21:18:08 2011
NOTE: PST refresh pending for group 1/0x22e8f203 (DGFC)
SUCCESS: refreshed PST for 1/0x22e8f203 (DGFC)
Fri Jan 14 21:18:13 2011
NOTE: starting rebalance of group 1/0x22e8f203 (DGFC) at power 1
Starting background process ARB0
ARB0 started with pid=12, OS id=5071
Fri Jan 14 21:18:13 2011
NOTE: assigning ARB0 to group 1/0x22e8f203 (DGFC)
Fri Jan 14 21:18:13 2011
WARNING: allocation failure on disk DGFC_0000 for file 3 xnum 30
Fri Jan 14 21:18:13 2011
Errors in file /users/app/oracle/admin/+ASM/bdump/+asm_arb0_5071.trc:
ORA-15041: diskgroup space exhausted
Fri Jan 14 21:18:13 2011
NOTE: stopping process ARB0
Fri Jan 14 21:18:16 2011
WARNING: rebalance not completed for group 1/0x22e8f203 (DGFC)
Fri Jan 14 21:18:16 2011
SUCCESS: rebalance completed for group 1/0x22e8f203 (DGFC)
NOTE: PST update: grp = 1
WARNING: grp 1 disk DGFC_0008 still has contents (45 AUs)
NOTE: PST update: grp = 1
This is /users/app/oracle/admin/+ASM/bdump/+asm_arb0_5071.trc:
Instance name: +ASM
Redo thread mounted by this instance: 0 <none>
Oracle process number: 12
Unix process pid: 5071, image: [email protected] (ARB0)
*** SERVICE NAME:() 2011-01-14 21:18:13.067
*** SESSION ID:(39.20) 2011-01-14 21:18:13.067
ARB0 relocating file +DGFC.3.1 (7 entries)
ORA-15041: diskgroup space exhausted
Anyone could help ??? Thanks a lot

Thanks a lot Levi,
The answer was into the Log: disk exhausted. Original diskgroup was quite full and asm can't rebalance correctly the data on the new disk (which datas??!!).
I solved adding a new disk (16GB) and alterering diskgroup DGFC. New space ready and disk dropped correctly.
Thanks a lot
Bye

Similar Messages

  • ASM disk corrupted

    Hi,
    A few days ago, I have asked a question about“ASM disk header corruption”at ASM disk header corruption .
    Because it was only my assumption, I didn't think about it deeply. This morning I encountered a problem from a thread. It said that the diskgroup couldn't mount, and ORA-15196 appeared in the alert.log.
    It occurred to me that if the diskgroup couldn't mount and the header of an asm disk corrupted, how should I deal with it? Will the data in the ASM disk be lost?
    Please help me with this problem.
    Thanks in advance.

    user526904 wrote:
    I hope you have the backup, Incase its the media failure and if you can detemine the corroupt datafiles, just restore the corroupt datafiles from backup and recover them. Database backups cannot restore a corrupted ASM header. rman backups the Oracle data files. Not the physical ASM disk itself with the disk's headers.
    To restore that, you will need a physical disk backup. A physical disk backup will need all processes using the disks to terminate in order to ensure that all file handles are closed and that the backup is consistent. Not something that is easily done in today's 24x7 environments. RAID is usually used to address this type of failure (e.g. via hot swappable disks, where you simply replace the faulty disk with a new one, while the storage system is running).
    So where you do not have that physical redundancy, and have to deal with "physical disk" error (like corrupted header blocks), you need to be extremely careful on how to try and recover that. I would not even try and touch that disk. I will ensure that no processes touch that disk at all, create a duplicate disk (same size) and manually "mirror" the data (using dd for example). This will serve two purposes. Tests whether physical reads on the problem disk succeeds (is this actual media failure, or logical failure?). And create a 2nd disk that can be used for testing/playing purposes, prior to trying any fixes on the problem disk.

  • Asm disk removed taking too much time to boot

    hi
    a local machine is configured with ASM by oracleasm with a total disk.As it was a training purpose so i have removed the disk eg /dev/sdb bluntly ie. just removing it from box.now i tried fsck -c -c -f /dev/ in rescue mode its didnot worked even not mounting the /mnt/sysimage.It claims for ext2fs error and mounting the fs etc.
    Then after lots of days has gone.i fed up with this issues and reinstalled OS.
    but my question is what exactly to do?obviously re-installation is not the exact way to do.
    regards

    If the +/dev/sdb+ was an ASM disk, then it should not impact the o/s when it is removed. ASM instance itself will fail with an error saying something like it was not able to mount the disk group.
    If your system failed to boot correctly after this disk was removed, then +/dev/sdb+ contained more than just ASM data.
    We dynamically add and remove ASM (multipath'ed) disks via kpartx - while o/s is running. No reboot. No problems.
    I fail to see how a ASM disk could cause the type of problems you describe - unless it was more than just a disk used by ASM alone.

  • Removal of ASM Disks

    Hi I am using Oracle 10gR2 on Solaris 10. I have some 12 ASM disks in a Disk Group. I want to remove 3 ASM Disks. Can I do this operation online? Will my data be affected? How should I proceed about it? When I will remove the ASM Disks, can I safely detach those disks physically? please help.
    regards

    ahsen.javaid wrote:
    Hi I am using Oracle 10gR2 on Solaris 10. I have some 12 ASM disks in a Disk Group. I want to remove 3 ASM Disks. Can I do this operation online? As already commented, yes. I would like to give you a practical example of how utterly neat ASM is in this regard and why it is IMO a major mistake not to use ASM.
    We had to swap storage systems. This means that we have to migrate an entire Oracle database (over 1TB in size) from one set of LUNs to a completely different set of LUNs (on a different storage system).
    The new LUNs are added to the existing diskgroup. The old LUNs are dropped (the drop is of course not immediate). A rebalance is issued. The next morning the entire database has been moved and restriped on the new set of LUNs and the old LUNs can now be removed from the system. This while the database was up and running and normal processing continued uninterrupted (this is a 24x7 database).
    Then I get comments from some customers (like from a major local financial institution recently) that "+No, we do not want to use ASM as we rather use Veritas+". People like that are missing the point of what ASM is. Totally.

  • ASM Disk offline - State hung

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

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

  • How to find the physical path of the ASM disks?

    I am in a dilemma on how to find out the physical path of the ASM disks. I tried the following query, but as you can see it is not providing me the physical path of the LUN. This is a 2 node 10.2.0.4 RAC Cluster using asmlib package.
    col name format a20
    col path format a20
    col label format a20
    select name, path, label from v$asm_disk;
    NAME PATH LABEL
    ORCL:ASM103 ASM103
    ORCL:ASM104 ASM104
    ORCL:ASM117 ASM117
    ASM101 ORCL:ASM101 ASM101
    ASM102 ORCL:ASM102 ASM102
    ASM105 ORCL:ASM105 ASM105
    ASM106 ORCL:ASM106 ASM106
    ASM107 ORCL:ASM107 ASM107
    ASM108 ORCL:ASM108 ASM108
    ASM109 ORCL:ASM109 ASM109
    ASM110 ORCL:ASM110 ASM110
    NAME PATH LABEL
    ASM111 ORCL:ASM111 ASM111
    ASM112 ORCL:ASM112 ASM112
    ASM113 ORCL:ASM113 ASM113
    ASM114 ORCL:ASM114 ASM114
    ASM115 ORCL:ASM115 ASM115
    ASM118 ORCL:ASM118 ASM118
    ASM119 ORCL:ASM119 ASM119
    ASM120 ORCL:ASM120 ASM120
    ASM121 ORCL:ASM121 ASM121
    ASM122 ORCL:ASM122 ASM122
    ASM123 ORCL:ASM123 ASM123
    NAME PATH LABEL
    ASM124 ORCL:ASM124 ASM124
    ASM125 ORCL:ASM125 ASM125
    ASM126 ORCL:ASM126 ASM126
    ASM127 ORCL:ASM127 ASM127
    ASM302 ORCL:ASM302 ASM302
    ASM303 ORCL:ASM303 ASM303
    ASM304 ORCL:ASM304 ASM304
    ASM305 ORCL:ASM305 ASM305
    ASM306 ORCL:ASM306 ASM306
    ASM307 ORCL:ASM307 ASM307
    32 rows selected.
    Any help will be appreciated.
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi
    use the following linux command as root:
    $oracleasm listdisks
    hth

  • How reInstall Gride Infrastructure and Use old ASM disk groups

    <pre>Hello to all
    I installed Grig Infrastructure 11gR2 on a standalone server (OS is Linux)
    and I configured ASM and my database created on ASM
    Conceive that my OS disk corrupted and OS doesn't start and the Gride Home is on that disk,
    and I have to install OS again
    My ASM disks are safe , Now how can I install Grig Infrastructure again somehow that it can use previous ASM disks
    and disk groups and I don't oblige to create my database again ?
    In the step 2 of installing Gride Infrastructure it has four options
    <pre>
    1.Install and configure Oracle Grid Infrastructure for a Cluster
    2.Configure Oracle Grid Infrastructure for a Standalone Server
    3.Upgrade Oracle Gride Infrastructure or Oracle Automatice Storage Management
    4.Install Oracle Gride Infrastructure Software Only
    </pre>
    If I select the option 2 it wants to create a disk group again
    I guess that I need to select option 4 and then do some configuration but I don't know what I must configure
    Do you know answer of my question , if yes please explain it's stages
    Thank you so much
    </pre>

    Hi,
    no you are not obliged to recreate your database again. However there is a small flaw in the installation procedure, which does not make it 100% easy...
    When you installed the Oracle Restart (Standalone GI), your ASM diskgroup will contain the SPFILE of the ASM instance. And this is exactly the small flaw you will be encountering. So you have 2 options for "recovery":
    1.) Do a software only install (4), and run roothas.pl. This however will not create any ASM entries. You would have to add it manually (using srvctl) and you can specify the ASM Spfile with the srvctl command. Problem here is however to have to know where your ASM spfile has been. If you have a backup of your OLR and a backup of the GPNP profile, this might be easier to find out.
    2.) Do a new installation (2) and configure a new diskgroup (with a "spare" disk or small lun and a new name), that Oracle restart creates ASM instance and the new ASMSpfile for you.
    Then you can simply mount the diskgroup containing your database additionally. You then shoudl however move your new ASMSpfile to the new diskgroup (or simply exchange it with the existing one). In this case it is easier to find out where it was - however you will need a spare (though small) LUN for the new spfile (temporarily, until you exchange it).
    In either case after you have your ASM instance back (and access to your old diskgroup), you have to reregister your database and services - if you do not have an OLR backup.
    Again => It is doable and you can simply mount the ASM diskgroup containing your database. However I suggest you try this one time to know what really needs to be done in this case.
    Regards
    Sebastian

  • How to open RAC node2 usng spfile which will stay in ASM disk?

    Hi,
    I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
    I have installed oracle11g Active Data Guard using Single alone Database.
    Both RAc and Active Data Guard works fine.
    I have not configure Data Guard Broker.
    N.B Rac node1 is running using spfile which is in ASM disk (+DATA/spfiledcpdb.ora) but node2 is running using pfile.
    Question: how to open node 2 using spfile which will stay in ASM disk like node 1?
    Thanks
    Solaiman
    Edited by: 876149 on Apr 1, 2013 10:08 AM

    Modify your PFILE to specify only IFILE='location_of_spfile'
    OR
    use STARTUP PFILE='location_of_spfile'
    Ensure that the spfile does have the 2nd instance specific parameters defined correctly.
    Hemant K Chitale

  • How to resize ASM disks

    Hi! I have Oracle RAC on Centos with one active node and share storage HP MSA1500 12x500 Gb FC. Also, i have two servers which i want install new rac database.
    [oracle@server ~]$ crsctl query css votedisk
    0. 0 /u04/sync/oracrs/CSSFile
    located 1 votedisk(s).
    [oracle@server ~]$ ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 2
    Total space (kbytes) : 262120
    Used space (kbytes) : 1672
    Available space (kbytes) : 260448
    ID : 1521772939
    Device/File Name : /u04/sync/oracrs/CRSFile
    Device/File integrity check succeeded
    Device/File not configured
    Cluster registry integrity check succeeded
    [oracle@server ~]$
    CRS & CSS install on ocfs.
    Затем, через oracleasm
    [oracle@server ~]$ /etc/init.d/oracleasm listdisks
    VOL8
    VOL9
    [oracle@server ~]$
    [root@server ~]# /etc/init.d/oracleasm querydisk /dev/sda1
    Disk "/dev/sda1" is not marked an ASM disk
    [root@server ~]# /etc/init.d/oracleasm querydisk /dev/sdb1
    Disk "/dev/sdb1" is marked an ASM disk with the label ""
    [root@server ~]# /etc/init.d/oracleasm querydisk /dev/sdc1
    Disk "/dev/sdc1" is marked an ASM disk with the label ""
    [root@server ~]# /etc/init.d/oracleasm querydisk /dev/sdd1
    Disk "/dev/sdd1" is marked an ASM disk with the label "VOL8"
    [root@server ~]# /etc/init.d/oracleasm querydisk /dev/sdd2
    Disk "/dev/sdd2" is marked an ASM disk with the label "VOL9"
    [root@server ~]# /etc/init.d/oracleasm querydisk /dev/sdd3
    Disk "/dev/sdd3" is not marked an ASM disk
    [root@server ~]#
    [root@server ~]# fdisk -l
    Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
    255 heads, 32 sectors/track, 17433 cylinders
    Units = cylinders of 8160 * 512 = 4177920 bytes
    Device Boot Start End Blocks Id System
    /dev/cciss/c0d0p1 * 1 50 203984 83 Linux
    /dev/cciss/c0d0p2 51 1305 5120400 82 Linux swap
    /dev/cciss/c0d0p3 1306 17433 65802240 83 Linux
    Disk /dev/sda: 1048 MB, 1048657920 bytes
    33 heads, 61 sectors/track, 1017 cylinders
    Units = cylinders of 2013 * 512 = 1030656 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 1 1017 1023580 83 Linux
    Disk /dev/sdb: 500.0 GB, 500071791104 bytes
    255 heads, 63 sectors/track, 60796 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdb1 1 60796 488343838+ 83 Linux
    Disk /dev/sdc: 499.0 GB, 499025092608 bytes
    255 heads, 63 sectors/track, 60669 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdc1 1 60669 487323711 83 Linux
    Disk /dev/sdd: 500.0 GB, 500073750528 bytes
    255 heads, 63 sectors/track, 60797 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdd1 1 1000 8032468+ 83 Linux
    /dev/sdd2 1001 2000 8032500 83 Linux
    /dev/sdd3 2001 3000 8032500 83 Linux
    [root@server ~]#
    Than in sqlplusi see, what disks use ASM:
    SQL> select name, total_mb, free_mb,path from v$asm_disk;
    NAME TOTAL_MB FREE_MB PATH
    VOL1 476898 431798 /dev/raw/raw1
    VOL2 475902 475379 /dev/raw/raw2
    SQL> select name, total_mb, free_mb from v$asm_diskgroup;
    NAME TOTAL_MB FREE_MB
    DATA 476898 431798
    RECOVERY_AREA 475902 475379
    SQL> select name, type from V$asm_diskgroup;
    NAME TYPE
    DATA EXTERN
    RECOVERY_AREA EXTERN
    Also i see what disks use diskgroups DATA and RECOVERY:
    [root@server ~]# cat /etc/sysconfig/rawdevices
    # This file and interface are deprecated.
    # Applications needing raw device access should open regular
    # block devices with O_DIRECT.
    # raw device bindings
    # format: <rawdev> <major> <minor>
    # <rawdev> <blockdev>
    # example: /dev/raw/raw1 /dev/sda1
    # /dev/raw/raw2 8 5
    /dev/raw/raw1 /dev/sdb1
    /dev/raw/raw2 /dev/sdc1
    /dev/raw/raw8 /dev/sdd1
    /dev/raw/raw9 /dev/sdd2
    [root@server ~]#
    [root@server ~]# mount
    /dev/cciss/c0d0p3 on / type ext3 (rw)
    none on /proc type proc (rw)
    none on /sys type sysfs (rw)
    none on /dev/pts type devpts (rw,gid=5,mode=620)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/cciss/c0d0p1 on /boot type ext3 (rw)
    none on /dev/shm type tmpfs (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    configfs on /config type configfs (rw)
    ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
    /dev/sda1 on /u04/sync type ocfs2 (rw,_netdev,datavolume,nointr,heartbeat=local)
    oracleasmfs on /dev/oracleasm type oracleasmfs (rw)
    [root@server ~]#
    [root@server ~]# ls -l /dev/oracleasm/disks/
    total 0
    brw-rw---- 1 oracle dba 8, 49 Aug 8 19:34 VOL8
    brw-rw---- 1 oracle dba 8, 50 Aug 8 19:34 VOL9
    [root@server ~]#
    How i could resize asm disk from 450 G for example to 100 Gb for my new rac installation?
    Sorry for my english:(

    Hi mmusette, hi all,
    please, allow a little clarification. ASM allows resizing disks:
    From: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm#sthref1727
    Resizing Disks in Disk Groups+
    The RESIZE clause of ALTER DISKGROUP enables you to perform the following operations:
    Resize all disks in the disk group
    Resize specific disks
    Resize all of the disks in a specified failure group
    If you do not specify a new size in the SIZE clause then ASM uses the size of the disk as returned by the operating system. This could be a means of recovering disk space when you had previously restricted the size of the disk by specifying a size smaller than disk capacity.
    The new size is written to the ASM disk header record and if the size of the disk is increasing, then the new space is immediately available for allocation. If the size is decreasing, rebalancing must relocate file extents beyond the new size limit to available space below the limit. If the rebalance operation can successfully relocate all extents, then the new size is made permanent, otherwise the rebalance fails.
    However, if you have setup the ASM disk on a physical disk partition, you probably will not be able to resize the partition without destroying the data on the disk. If you, however, used a volume manager to create volumes and you based your ASM disks on those volumes (through RAW devices or directly) AND your volume manager allows resizing the volumes, you should be able to make use of the command mentioned above.
    Thanks,
    Markus

  • How to add ASM Disk to Disk Group that is shown as MEMBER?

    HI,
    We have a Production Oracle RAC on HP-UX. We have Two Disk Groups one for Arcive (ARC_DISK) and other for Database(DATA_DISK).
    Today I wanted to add another 200 GB of Disk Space to the DATA_DISK Group.
    I opened DBCA and could not find the new disk in the 'Show Candidates' option. But after the Unix admin changed the ownership and permission of the Disk, it was shown in 'Show Candidates' option. I selected this Disk and continued but got an error later as we didnt change the ownership and permission from the 2nd Unix server. After doing this, , when I open DBCA to add disk, nothing is shown in 'Show Candidates' option but when we click on 'Show All', the new disk is listed as MEMBER (header status) but not allocated to any Disk Group.
    I would like to know how to allocate this Disk (which is already shown as MEMBER) to the DATA_DISK - ASM diskgroup. This is a production database system.
    Rgds,
    Thiru

    user1983888 wrote:
    Hi,
    Due to huge difference in Disk Size which I am trying to add to the existing Disk Group which has 1024 GB of Disk, would it be a better idea to create a new Disk Group with 200g GB Disk? Will this command work as the header_status is already MEMBER?
    SQL>CREATE DISKGROUP DATA_DISK1
    EXTERNAL REDUNDANCY
    DISK 'disk path';
    Thanks.Yes, you can create new diskgroup (DATA_DISK1). Just make sure all datafile in DATA_DISK autoextend off, then create all your new datafile to the new diskgroup DATA_DISK1. The command will not work as the header_status is MEMBER. You'll receive ORA-15018 & ORA-15033 error. As I mentioned before, you need to use FORCE option or format the disk using dd* command before perform above command.
    1st Option : (Format the raw disk using dd command creating new diskgroup. Header_status MEMBER -> CANDIDATE). E.g.
    1. dd if=/dev/zero of=/dev/rdsk/c2t1d0 bs=8192 count=1000 //any rac nodes
    2. # chown oracle:oinstall /dev/rdsk/c2t1d0 //perform on both node. This apply if using LVM or direct access to raw
    3. SQL> create diskgroup data_disk1 external redundancy disk '/dev/rdsk/c2t1d0'; //any RAC node in ASM instance
    4. SQL> alter diskgroup data_disk1 mount; //try to mount on the other node
    2nd Option : (Using FORCE option when creating the new diskgroup. Header_Status = MEMBER)
    1. # chown oracle:oinstall /dev/rdsk/c2t1d0 //perform on both node. This apply if using LVM or direct access to raw
    2. SQL> create diskgroup data_disk1 external redundancy disk '/dev/rdsk/c2t1d0' force; //any RAC node in ASM instance
    3. SQL> alter diskgroup data_disk1 mount; //try to mount on the other node
    Just be careful when using FORCE option or DD command. If you perform this operation on existing ASM disk groups disk, it may destroy existing disk groups.

  • Replaced HD yesterday  Was able to restore from Time Machine Now, it won't back up to Time Machine.  I removed the TM and tried to add it- the error is "The disk image for "computername.sparsebundle" is in use.  Try ejecting the disk image - How do I do?

    Replaced HD yesterday  Was able to restore from Time Machine Now, it won't back up to Time Machine.  I removed the TM and tried to add it- the error is "The disk image for "computername.sparsebundle" is in use.  Try ejecting the disk image - How do I do?

    Hello jfilbey,
    Thanks for using Apple Support Communities.
    Power cycle the disk Time Machine is backing up to.
    For more information on this, take a look at:
    Time Machine: Troubleshooting backup issues
    http://support.apple.com/kb/HT3275?viewlocale=en_US&locale=en_US
    Best of luck,
    Mario

  • How can we monitor ASM disk usage on Standby Database.

    I am looking for an option to automate deleting the archivelog which is on ASM diskgroup. I could do it if they were not in the ASM disk group with writing a script but with ASM I can't. Is there anything that I can monitor and get notified periodically reg. disk utilization on ASM and then write a script to delete some of the files especially archivelogs if needed.

    Hi
    what is your Oracle version and your OS?

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

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

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

  • How to map ASM disk path to physical disk on AIX?

    Hi Everyone,
    I am working on a plug-in for Oracle Enterprise Manager 10gR2 on AIX 5.3 which provides monitoring of storage arrays and supports ASM databases in addition to the 'emrep' database. One of the metric of that plug-in is populated by the result from a korn shell script. The script directly runs on the AIX host (connected to the storage array by FC cables via HBA ports) and retrieves the mapping for -- Physical disk - Logical Disk - LUN - ASM Disk.
    Now, I was able to get the mapping for Physical Disk – Logical Disk – LUN, but could not map ASM Disk. I googled a lot for any clue but did not find the answer to this specific problem.
    Now, I have the list of physical disks used for ASM by the command—
    lspv
    hdisk0 0001c22ac8d664ca rootvg active
    hdisk1 0001c22aa51f496a Oracle active
    hdisk2 0001c22ac478263a scratch active
    hdisk3 0001c22ac472549a Oracle active
    hdisk4 0001c22ac4725d6a Oracle active
    hdisk5 none None
    hdisk6 none None
    hdisk7 none None
    hdisk8 none None
    hdisk9 none None
    hdisk10 none None
    hdisk11 none None
    hdisk12 none None
    hdisk13 none None
    hdisk14 none None
    hdisk15 none None
    hdisk16 none None
    The disks hdisk5-16 are ASM disks and there are no PVID’s present.
    I also have the list of ASM disks by the command—
    ls –l /dev | grep oracle
    crw-rw---- 1 oracle dba 22, 6 May 12 00:02 asm_rd10_1a
    crw-rw---- 1 oracle dba 22, 10 Apr 21 07:27 asm_rd10_1b
    crw-rw---- 1 oracle dba 22, 7 May 09 13:53 asm_rd10_1c
    crw-rw---- 1 oracle dba 22, 8 May 09 13:53 asm_rd5_1a
    crw-rw---- 1 oracle dba 22, 4 May 12 00:02 asm_rd5_1b
    crw-rw---- 1 oracle dba 22, 9 Apr 21 07:28 asm_rd5_1c
    crw-rw---- 1 oracle dba 22, 12 May 12 00:02 asm_xbb2_rd10_1a
    crw-rw---- 1 oracle dba 22, 11 Apr 24 07:34 asm_xbb2_rd10_1b
    crw-rw---- 1 oracle dba 22, 13 May 09 13:53 asm_xbb2_rd10_1c
    crw-rw---- 1 oracle dba 22, 16 May 12 00:02 asm_xbb2_rd5_1a
    crw-rw---- 1 oracle dba 22, 14 Apr 24 07:34 asm_xbb2_rd5_1b
    crw-rw---- 1 oracle dba 22, 15 May 09 13:54 asm_xbb2_rd5_1c
    Now I am looking for a way to map these two lists with each other, and had no luck so far.
    Does oracle provide this information somewhere in the OEM installation structure or is there a command in AIX which could give some way to map the ASM disks to the physical disks?
    Any help on this is greatly appreciated. Thanks in advance…
    FYI: ASMLib driver is not present on the system.

    The view you are talking about here gives the ASM DISK NAME (like DGRXBB_0001) and ASM DISK PATH (like /dev/asm_rd_10_1a) and I am already using it, but this is not what I asked in mt original post. If you read carefully, I want to establish a mapping between the ASM DISK PATH (like /dev/asm_rd_10_1a) and the AIX Physical disk (like /dev/hdisk5) and did not find any view giving this info. If you know of some views which could help establish this mapping or some AIX commands or files that could help do this using shell script, it is most welcome

  • How to simulate the ASM disk corruption & recover it back ?

      Hi DBA's,
          we are creating a new grid .SO we would like to simulate the ASM disk corruption & recover it back . Do you have any way that we can simulate the situation ?

    Hi,
    >>>>>>>>>>>>>>>>>>>>> Please do not try this on production. >>>>>>>>>>>>>>>>>>>>>
    Simulate ASM disk corruption:
    dd if=/dev/zero of=/dev/sdb1 bs=1024 count=4
    Solution:
    kfed repair /dev/sdb1     >>>>>>> will fix only asm header issue
    Thanks,
    Rajasekhar

Maybe you are looking for

  • When Scan email for junk mail, or virus's is enabled, sending mail fails

    When I configure mail to scan email for either junk or virus's, i get the following in my SMTP log: Sep 6 17:44:59 eve postfix/smtp[28412]: D60C89D66D: to=<[email protected]>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (con

  • Airport setup asst. doesnt work.  Is there way to use Windows to add airpor

    Airport setup asst. doesnt work. Is there way to use Windows to add airport express to my current linksys network so that my iTunes will play through my stereo? Previously the air-assit recognized the air-exp unit but kept asking for a password to co

  • IPad connected to a Bose portable sound?

    Is there any way that I can connect an iPad to a Bose sound portable system? Is there any accessory that Incan use? Where can I find it?

  • How to add "Search button" in portal masthead

    Hi Experts, We have to add search button in the portal masthead. We have not installed TREX. We want that on entering some text, the text should be searched in Google and result displayed in some nice way. Can you please help me? Regards, EP

  • F4 help in Editable ALV

    Hello Experts, We have a requirement of showing F4 help for a editable field of ALV Grid. I'm able to register the on_f4 event, but I do have a problem while implementing the method, as the pop up values are not appearing. I have used following logic