Oracle VM repository creation seems contradictory to its server pool?

Posted by Michael on Server Fault See other posts from Server Fault or by Michael
Published on 2012-09-10T02:29:05Z Indexed on 2012/09/10 3:39 UTC
Read the original article Hit count: 1651

I found something contradictory in Oracle VM. Clustered server pool creation in Oracle VM would format my FC LUN as ocfs2 , and start o2cb & ocfs2 services to build cluster environment. After that, when I wanted to create repository on the serverpool, unexpectedly, it told me that the physical disk I chose which is also my FC LUN, already contains a file system. What a contradictory! So what, delete the file system in serverpool? If so, why created it before?!

OVM> list physicaldisk
Command: list physicaldisk
Status: Success
Time: 2012-09-10 06:44:42.660
Data: 
id:0004fb00001800007765e62381895f61 name:OVM_HDS  
OVM> create serverpool clusterenable=true virtualip=10.84.21.123 physicaldisk=OVM_HDS name=ovmserverpool

Serverpool creation took quite a long time since my FC LUN was big. When the creation completed, my FC LUN was created as ocfs2 and o2cb & ocfs2 services were started on my ovm servers successfully. But then repository creation indeed throws me a big surprise ...

OVM> create repository serverpool=ovmserverpool physicaldisk=OVM_HDS name=ovmrepo
Command: create repository serverpool=ovmserverpool physicaldisk=OVM_HDS name=ovmrepo
Status: Failure
Time: 2012-09-10 06:23:44.656
Error Msg: com.oracle.ovm.mgr.api.exception.RuleException: OVMRU_002026E Cannot use or delete physical disk: OVM_HDS, it already contains a file system: [Pool filesystem for ovmserverpool]
Mon Sep 10 06:23:44 CST 2012

What should I do now? Delete the filesystem using dd command? That would destroy the serverpool, right? I'm really confused. My OVM Manager version is 3.1.1.399 which is the latest.

Any tips are appreciated. Thanks.

© Server Fault or respective owner

Related posts about virtual-machines

Related posts about Oracle