[DRBD-user] DRBD and KVM for a HA-Cluster ?

Felix Frank ff at mpexnet.de
Fri Jan 14 17:04:24 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 01/14/2011 04:45 PM, Lentes, Bernd wrote:
> 
> Felix Frank wrote:
>>>>
>>> How can i create the image file kpartx uses ?
>>
>> You don't. Just create nodes for your very snapshot.
>>
> 
> Ok, i try to unnderstand:
> With lvcreate -s i create the snapshot. This creates an entry /dev/vgxxx/lvxxx.
> Then i use kpartx for ... what ? Creating a second entry in /dev/... ?
> 
> I tested this:
> created a snapshot /dev/vg1/lv_home_snapshot.
> kpartx -lv  /dev/vg1/lv_home_snapshot says ... nothing.

"lv_home_snapshot"? Is that an LV that contains a partitioned disk image?
If it is, it's not clear to me why no partitions are displayed. I've
used this with an image of a VM harddrive before.

Sorry to be not quite helpful.

Cheers,
Felix



More information about the drbd-user mailing list