3 Replies Latest reply: Oct 2, 2012 3:58 AM by moracle RSS

    unable mount diskgroup using new disk truecopy

    moracle
      so i have this instance DataGuard Standby using ASM disk
      i want to copy the old asm disk that at USPVM storage to new disk at VSP storage
      im using truecopy
      when i complete a pair, do a split, shutdown instance, dismount old asm diskgroup, change owner (old disk to bin, new disk to oracle owner)
      then i try to mount the diskgroup but it keep throwing me error
      ORA-15066: offlining disk may result in a data loss
      i checked asm alert log and give me this information
      SQL> alter diskgroup DRCDATA mount
      Mon Oct 01 18:03:13 TST 2012
      NOTE: cache registered group DRCDATA number=2 incarn=0x0625874b
      Mon Oct 01 18:03:13 TST 2012
      NOTE: Hbeat: instance first (grp 2)
      Mon Oct 01 18:03:13 TST 2012
      Errors in file /opt/oracle/admin/+ASM/bdump/+asm_gmon_1928.trc:
      ORA-27091: unable to queue I/O
      ORA-27072: File I/O error
      HPUX-ia64 Error: 13: Permission denied
      Additional information: 4
      Additional information: 2044
      Additional information: -1
      Mon Oct 01 18:03:13 TST 2012
      ERROR: too many offline disks in PST (grp 2)
      WARNING: Disk 0 in group 2 in mode: 0x7,state: 0x2 will be taken offline
      Mon Oct 01 18:03:13 TST 2012
      ERROR: PST could not set any hearbeat (grp 2)
      Mon Oct 01 18:03:13 TST 2012
      NOTE: cache dismounting group 2/0x0625874B (DRCDATA)
      NOTE: dbwr not being msg'd to dismount
      ERROR: diskgroup DRCDATA was not mounted
      Mon Oct 01 18:03:13 TST 2012
      Errors in file /opt/oracle/admin/+ASM/bdump/+asm_n000_1947.trc:
      ORA-15001: diskgroup "DRCDATA" does not exist or is not mounted

      i give all the permission that disk needed, any ideas?
      thanks before
        • 1. Re: unable mount diskgroup using new disk truecopy
          Sebastian Solbach -Dba Community-Oracle
          Hi,

          before going into the problem, what szenario do you try to solve by using truecopy?
          If it is just to exchange disks of the ASM diskgroup, there is no need to use truecopy or any other mechanism to copy the data. ASM has a build in mechnism, which moves data online from one disks to others.

          Simply have the server acceessing old and new storage at the same time. Then add the new disks and drop the old disks from the diskgroup. This will result in ASM moving the data from the old disks to the new ones online, without any downtime. Depending on the power level chosen this may take some time to finish. But again will work without downtime, so who cares how long it takes.

          Regarding the error you have (which will probably also hit you by trying the above): You have a permission denied problem, so it must be the rights on the devices. Can you do an 'ls -l' on the disks you try to add/mount for the diskgroup?

          Regards
          Sebastian
          • 2. Re: unable mount diskgroup using new disk truecopy
            moracle
            here the ls -l on the disks i try to mount
            crw-r----- 1 oracle dba 13 0x00002e Oct 1 18:00 disk160
            crw-r----- 1 oracle dba 13 0x000031 Sep 17 13:52 disk169
            crw-r----- 1 oracle dba 13 0x00002f Sep 17 13:52 disk167
            crw-r----- 1 oracle dba 13 0x000030 Sep 17 13:52 disk168

            yes i was trying to move my storage from uspvm to vsp because my old storage already reach limit. using truecopy i was hoping when i mount my new disk, it will be the same as the old disk and minimize the downtime.
            can you tell me step by step to asm copy without downtime without using truecopy?
            i was hoping to solve this truecopy problem first before trying another method. i already gave the disk in /dev/rdisk permission and oracle owner but it always hit permission denied. what went wrong here i dont understand.
            thanks for reply
            • 3. Re: unable mount diskgroup using new disk truecopy
              moracle
              ok, i called my storage vendor and they found the problem
              write option on disk storage is not enabled.
              thanks :)