How To Create Repository On LUN which is Partitioned And Has Existing Filesystem (Doc ID 1546672.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle VM - Version 3.0.3 to 3.3.3 [Release OVM30 to OVM33]
Information in this document applies to any platform.

Goal

 This document introduces how to create repository on an LUN which already have OCFS2 filesystem created or partitions.

Symtpom:

When attempting to create repository on  LUN which is partitioned and has existing filesystem using Oracle VM Manager 3.x, the operation fails - the following messages are reported:

Oracle VM Manager 3.x (/u01/app/oracle/ovm-manager-3/machine1/base_adf_domain/servers/AdminServer/logs/AdminServer.log):

OVMAPI_4010E Attempt to send command: dispatch to server: xxxxxxx.us.oracle.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:?pwd?@xx.xxx.xx.xxx:8899/api/1 storage_plugin_createFileSystem oracle.ocfs2.OCFS2.OCFS2Plugin 0004fb00000500002374ccfbb28341f9 /dev/mapper/360060160d3102200ea8f776617b3e011, Status: org.apache.xmlrpc.XmlRpcException: exceptions.ValueError:Unknown error: 'Unable to create ocfs2 filesystem on "/dev/mapper/360060160d3102200ea8f776617b3e011": mkfs.ocfs2 1.8.0\n\nWARNING!!! OCFS2 uses the UUID to uniquely identify a file system.\nHaving two OCFS2 file systems with the same UUID could, in the least,\ncause erratic behavior, and if unlucky, cause file system damage.\nPlease choose the UUID with care.\n\nOn disk cluster (o2cb,0de37d70322951fc,1) does not match the active cluster (o2cb,0de37d70322951fb,1).\nmkfs.ocfs2 willnot be able to determine if this operation can be done safely.\nTo skip this check, use --force or -F\n'

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms