This discussion is archived
2 Replies Latest reply: Jan 16, 2013 12:32 AM by heng RSS

Cannot Create Storage Repository

heng Explorer
Currently Being Moderated
Dear All Expert,

I create 2 volumes for pool and repository as cluster servers (2 vm servers).

I try to create storage repository many times but got error message as below:

1. first message appears as below:

The Job has timed out while executing, and will be aborted.

2. than I try create one more and error message as below:

01/15/2013 12:58:27:297 PM)
OVMAPI_B000E Storage plugin command
[storage_plugin_createFileSystem] failed for storage server
[0004fb00000900000ed33481957dff22] failed with [com.oracle.ovm.mgr.api.exception.
FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server:
ovmserver-node1 failed. OVMAPI_4004E Server Failed Command:
dispatch https://?uname?:?pwd?@172.16.1.1:8899/api/2 storage_plugin_createFileSystem
oracle.ocfs2.OCFS2.OCFS2Plugin 0004fb0000050000493b3e754f9eba18 /dev/mapper/36090a0a84094b4da520f65332e4eb3f6 0,
Status: OSCPlugin.FileSystemBusyEx:'An ocfs2 filesystem already exists
on /dev/mapper/36090a0a84094b4da520f65332e4eb3f6'
Tue Jan 15 12:58:27 ICT 2013
Tue Jan 15 12:58:27 ICT 2013] OVMAPI_4010E Attempt to send command: dispatch to server: ovmserver-node1 failed.
OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.16.1.1:8899/api/2
storage_plugin_createFileSystem oracle.ocfs2.OCFS2.OCFS2Plugin 0004fb0000050000493b3e754f9eba18
/dev/mapper/36090a0a84094b4da520f65332e4eb3f6 0, Status: org.apache.xmlrpc.XmlRpcException: OSCPlugin.
FileSystemBusyEx:'An ocfs2 filesystem already exists on /dev/mapper/36090a0a84094b4da520f65332e4eb3f6'
Tue Jan 15 12:58:27 ICT 2013
Tue Jan 15 12:58:27 ICT 2013
Tue Jan 15 12:58:27 ICT 2013


This error message I try to fix with command on both vm servers below and after that I try again but still got error the same:

#dd if=/dev/zero of=/dev/mapper/36090a0a84094b4da520f65332e4eb3f6 bs=4K count=4

Please kindly give advice for this.

Thanks and regards,
Vandy
  • 1. Re: Cannot Create Storage Repository
    user12273962 Pro
    Currently Being Moderated
    The error indicates you already have a ocfs2 filesystem on the target volumes. Are you sure there isn't anything on the volumes?
  • 2. Re: Cannot Create Storage Repository
    heng Explorer
    Currently Being Moderated
    Hi All Expert,

    Now I have re-install, VM Server, VM Manager and try to create new 2 volumes on Storage.

    Note: I am using Oracle Database 11g Release 2 with VM Manager.

    On both VM Servers, after I type iscsiadm command, on both severs show the same result as below:

    [root@ovmserver-node1 ~]# iscsiadm -m node
    172.16.1.110:3260,1 iqn.2001-05.com.equallogic:0-8a0906-66649440a-83334e4fbfa50f62-ovm-repo
    172.16.1.110:3260,1 iqn.2001-05.com.equallogic:0-8a0906-60749440a-3d134e4fbf750f62-ovm-pool
    [root@ovmserver-node1 ~]#

    [root@ovmserver-node1 ~]# cat /proc/partitions
    major minor #blocks name

    8 0 142711168 sda
    8 1 1052226 sda1
    8 2 83883397 sda2
    8 3 52428127 sda3
    8 16 524298240 sdb
    8 32 104862720 sdc
    252 0 524298240 dm-0
    252 1 104862720 dm-1
    [root@ovmserver-node1 ~]#


    [root@ovmserver-node1 ~]# fdisk -l

    Disk /dev/sda: 146.1 GB, 146136236032 bytes
    255 heads, 63 sectors/track, 17766 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 131 1052226 83 Linux
    /dev/sda2 132 10574 83883397+ 83 Linux
    /dev/sda3 10575 17101 52428127+ 82 Linux swap / Solaris

    Disk /dev/sdb: 536.8 GB, 536881397760 bytes
    255 heads, 63 sectors/track, 65272 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/sdb doesn't contain a valid partition table

    Disk /dev/sdc: 107.3 GB, 107379425280 bytes
    255 heads, 63 sectors/track, 13054 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/sdc doesn't contain a valid partition table

    Disk /dev/dm-0: 536.8 GB, 536881397760 bytes
    255 heads, 63 sectors/track, 65272 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-0 doesn't contain a valid partition table

    Disk /dev/dm-1: 107.3 GB, 107379425280 bytes
    255 heads, 63 sectors/track, 13054 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/dm-1 doesn't contain a valid partition table
    [root@ovmserver-node1 ~]#


    [root@ovmserver-node1 ~]# blkid
    /dev/sda1: LABEL="/boot1" UUID="1137d324-71ae-4c74-b70c-4b1c9f3f4f79" TYPE="ext3"
    /dev/sda2: LABEL="/" UUID="2d8999d0-fbee-45e6-9683-c9cc4157134f" TYPE="ext3"
    /dev/sda3: LABEL="SWAP-sda31" UUID="5d3045cc-ae79-4385-9540-3fa38bbb1c1e" TYPE="swap"
    /dev/sr0: LABEL="Oracle VM Server cd 1 20120501" TYPE="iso9660"



    After I create Cluster Sever Pool successfully already, on both Servers show as below:

    [root@ovmserver-node1 ~]# blkid
    /dev/sda1: LABEL="/boot1" UUID="1137d324-71ae-4c74-b70c-4b1c9f3f4f79" TYPE="ext3"
    /dev/sda2: LABEL="/" UUID="2d8999d0-fbee-45e6-9683-c9cc4157134f" TYPE="ext3"
    /dev/sda3: LABEL="SWAP-sda31" UUID="5d3045cc-ae79-4385-9540-3fa38bbb1c1e" TYPE="swap"
    /dev/sr0: LABEL="Oracle VM Server cd 1 20120501" TYPE="iso9660"
    /dev/mapper/36090a0a840947460620f75bf4f4e133d: LABEL="OVS_POOL_FILESYSTEM" UUID="0004fb00-0005-0000-1450-e7d20b591307" TYPE="ocfs2"
    [root@ovmserver-node1 ~]#


    During I try to create Storage Repository, it got error as below:


    First, it takes so long time to create and appear error message as below:

    Message
    The Job has timed out while executing, and will be aborted.

    After that, I try to click on OK error message page to release out, than I click Next button and wait for a while, the error message appear as below:


    (01/16/2013 10:17:32:011 AM)
    OVMAPI_B000E Storage plugin command [storage_plugin_createFileSystem] failed for storage server [0004fb00000900001e67d58e0ef44181] failed with [com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: ovmserver-node1 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.16.1.1:8899/api/2 storage_plugin_createFileSystem oracle.ocfs2.OCFS2.OCFS2Plugin 0004fb00000500002256f14385c27134 /dev/mapper/36090a0a840946466620fa5bf4f4e3383 0, Status: OSCPlugin.FileSystemBusyEx:'An ocfs2 filesystem already exists on /dev/mapper/36090a0a840946466620fa5bf4f4e3383'
    Wed Jan 16 10:17:31 ICT 2013
    Wed Jan 16 10:17:31 ICT 2013] OVMAPI_4010E Attempt to send command: dispatch to server: ovmserver-node1 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@172.16.1.1:8899/api/2 storage_plugin_createFileSystem oracle.ocfs2.OCFS2.OCFS2Plugin 0004fb00000500002256f14385c27134 /dev/mapper/36090a0a840946466620fa5bf4f4e3383 0, Status: org.apache.xmlrpc.XmlRpcException: OSCPlugin.FileSystemBusyEx:'An ocfs2 filesystem already exists on /dev/mapper/36090a0a840946466620fa5bf4f4e3383'
    Wed Jan 16 10:17:31 ICT 2013
    Wed Jan 16 10:17:31 ICT 2013
    Wed Jan 16 10:17:31 ICT 2013

    I have checked on both VM Servers and see device are mapping and

    [root@ovmserver-node1 ~]# blkid
    /dev/sda1: LABEL="/boot1" UUID="1137d324-71ae-4c74-b70c-4b1c9f3f4f79" TYPE="ext3"
    /dev/sda2: LABEL="/" UUID="2d8999d0-fbee-45e6-9683-c9cc4157134f" TYPE="ext3"
    /dev/sda3: LABEL="SWAP-sda31" UUID="5d3045cc-ae79-4385-9540-3fa38bbb1c1e" TYPE="swap"
    /dev/sr0: LABEL="Oracle VM Server cd 1 20120501" TYPE="iso9660"
    /dev/mapper/36090a0a840947460620f75bf4f4e133d: LABEL="OVS_POOL_FILESYSTEM" UUID="0004fb00-0005-0000-1450-e7d20b591307" TYPE="ocfs2"
    /dev/mapper/36090a0a840946466620fa5bf4f4e3383: LABEL="OVS05476eea150fd" UUID="0004fb00-0005-0000-c2b0-5476eea150fd" TYPE="ocfs2"
    [root@ovmserver-node1 ~]#


    I try to delete the (/dev/mapper/36090a0a840946466620fa5bf4f4e3383) with command dd on both Servers but still got error the same.

    Should I delete both of (/dev/mapper/36090a0a840946466620fa5bf4f4e3383) and (/dev/mapper/36090a0a840947460620f75bf4f4e133d)? If I delete (/dev/mapper/36090a0a840947460620f75bf4f4e133d) it will affect to Server Pool Cluster or not?

    root@ovmserver-node1 ~]# dd if=/dev/zero of=/dev/mapper/36090a0a840946466620fa5bf4f4e3383 count=1000

    Please kindly give advice for this.

    Thanks and regards,
    Vandy

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points