網頁

2012年1月1日 星期日

Cannot create physical volume in openfiler

I ever follow some articles about "Openfiler Active/Passive with Corosync, Pacemaker and DRBD" to build Openfiler HA in my lab. The only different is that the Logical Volume is as mirrored disk between Openfilers. But the result fail.

So I decide to rebuild the volume group depend on Software RAID 10 in Openfiler.
When I directly create a new RAID partition by GUI,
the result is the screen show up Block Device Management, not any progress!
When I execute the command "pvcreate /dev/md0" in console, it show the error message as "Device /dev/md0 not found (or ignored by filtering).

According to this error message, I search the related articles by Google and try some method based on these articles. But the result always fail.

I spend more time to think what happen and how to resolve it. By reviewing the all steps of lab, I finally find out that I ever change LVM configuration. The file is /etc/lvm/lvm.conf.

So I decide to correct it to return the default value.
for lab

the default value

After changing and reboot the system, it return to the initial setting of volume Group.
It is reason that the configuration of disk and RAID partition is the same as the original system. Otherwise,it should be do in he disaster and recovery process, I guess.
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.