11 Replies Latest reply: Oct 26, 2012 5:39 AM by sonidba RSS

    oracleasm createdisk failed

    sonidba
      Hi to all,

      I am using 11.2.0.1.0 on RHEL 5.4

      ASM is properly working on my machine. database is running from ASM. I want to configure additional oracleasm devices.

      But command fails saying:

      $ oracleasm createdisk ASMDISK08 /dev/xvd8
      Writing disk header: done
      Instantiating disk: failed
      Clearing disk header: done

      I am creating asm diskgroup on loopback devices

      Here are the configured loopback devices.

      [root@host1 ~]# ls -l /dev/loop[1-9]
      brw-rw-rw- 1 oracle oinstall 7, 1 Oct 25 14:42 /dev/loop1
      brw-rw-rw- 1 oracle oinstall 7, 2 Oct 25 14:42 /dev/loop2
      brw-rw-rw- 1 oracle oinstall 7, 3 Oct 25 14:42 /dev/loop3
      brw-rw-rw- 1 oracle oinstall 7, 4 Oct 25 14:42 /dev/loop4
      brw-rw-rw- 1 oracle oinstall 7, 5 Oct 25 14:42 /dev/loop5
      brw-rw-rw- 1 oracle oinstall 7, 6 Oct 25 14:42 /dev/loop6
      brw-rw-rw- 1 oracle oinstall 7, 7 Oct 25 14:42 /dev/loop7
      brw-rw-rw- 1 oracle oinstall 7, 8 Oct 25 14:57 /dev/loop8
      brw-rw-rw- 1 oracle oinstall 7, 9 Oct 25 14:42 /dev/loop9

      [root@host1 ~]# ls -l /dev/xvd[1-9]
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd1 -> /dev/loop1
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd2 -> /dev/loop2
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd3 -> /dev/loop3
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd4 -> /dev/loop4
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd5 -> /dev/loop5
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd6 -> /dev/loop6
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd7 -> /dev/loop7
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd8 -> /dev/loop8
      lrwxrwxrwx 1 root root 10 Oct 25 14:43 /dev/xvd9 -> /dev/loop9


      $ oracleasm listdisks
      ASMDISK01
      ASMDISK02
      ASMDISK03
      ASMDISK04
      ASMDISK05
      ASMDISK06
      ASMDISK07


      Please help. I am unable to understand where is the problem.

      Thanks