Hi,

On 10/28/2012 06:25 PM, Whit Blauvelt wrote:
> On Thu, Oct 25, 2012 at 12:34:40PM -0400, Whit Blauvelt wrote:
> 
> Just a note. The edit of the source dev in the kvm xml file did work for one
> test VM (once I had the drbd set to primary - duh). But it DID NOT work for
> the next one I tried it on. The VM after the change could not fully boot. So
> if someone in the future makes the initial mistake I did re layering drbd
> and raw VMs on individual LVM volumes, the short-cut solution of simply
> changing the xml to point to by DRBD partition name rather than LVM partion
> name is not safe. The failed instance got part way into booting, but failed
> to find and mount whole partitions within the VM.

More details would be appreciated. Did the afflicted VM have multiple
<disk> sections in its config? Where all of them migrated to DRBD?

Or was the original LV (and now, the DRBD) partitioned?

Thanks,
Felix

>> The easy road ... this edited XML:
>>
>>     <disk type='block' device='disk'>
>>       <driver name='qemu' type='raw'/>
>>       <source dev='/dev/drbd/by-res/sql'/>
>>       <target dev='hda' bus='ide'/>
>>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>>     </disk>
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to