[DRBD-user] centos 5 drbd 8 uptodate is false

Dan Barker dbarker at visioncomm.net
Thu Mar 15 12:30:47 CET 2012


You don't have to shut down the VMs, but you have to have adequate storage.

Build a NEW dbrd array.
Migrate a your VMs to it.
Delete the old array.

Depending on your storage and VMs, you may be able to stage this in several
steps so you don't need all the storage to be duplicated. Assuming you have
VMa, VMb and VMc on Disk1, and VMd, VMe and VMf on Disk2, you could.

Build a drbd array on New space.
Migrate VMa, VMb and VMc to it.
Build a drbd array on the space of Disk1.
Migrate VMd, VMe and VMf to it.
Recover the space of Disk2.

hth

Dan Barker



-----Original Message-----
From: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Adi Spivak
Sent: Thursday, March 15, 2012 7:24 AM
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] centos 5 drbd 8 uptodate is false

Ok, i now understand what i did wrong.
I tried to use drbd as a solution for a production server without turning
any on my VM off, however, i understart that this might not be the solution
i am looking for right now, as this is for a new setup only or if i am
willing to turn off the VMs...

For anyone that is interested i use an iscasi device to export the LVM
drives to the XEN server.
This solution will force me to export the DRBD devices out to XEN instead of
the Lvms and rebooting all of my servers and changing all of my config files
to reflect the new setup to support DRBD.


I will try to look for some other solution as turning off the production
servers is a bit of an issue...

Thank you all...


On 03/15/2012 12:56 PM, Andreas Kurz wrote:
> On 03/15/2012 09:20 AM, Adi Spivak wrote:
>> Hi.
>> I ma using the drbd that comes with centos.
>> My centos version is 5.8
>>
>> My /proc/drbd say as following:
>>
>> version: 8.0.16 (api:86/proto:86)
>> GIT-hash: d30881451c988619e243d6294a899139eed1183d build by 
>> mockbuild at v20z-x86-64.home.local, 2009-08-22 13:27:08
>>
>>  1: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
>>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
>>         resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0
>>         act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 
>> changed:0
>>
> 
> This is definitely an unused device ... no writes since started. And 
> please don't use that ancient version but the latest 8.3.12 from 
> Centos Extras repo.
> 
> Whatever device you are using in your Xen VMs it is not /dev/drbd1. 
> But if you show us your Xen VM config and the output of "lvs" command 
> it should be more clear what is going on.
> 
> Regards,
> Andreas
> 
> 
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list