[DRBD-user] ds:Inconsistent/Diskless

Digimer linux at alteeve.com
Mon Sep 13 21:17:00 CEST 2010

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


On 10-09-13 03:05 PM, Sam Przyswa wrote:
> Ok, I thought it should be possible to sync/replicate a LVM as my
> /dev/LVM-1/POSTFIX-2 is between 2 machine with DRBD.
> 
> Thanks for your help, I have to split my actual LVM physical partition
> but at this time I have:
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1          25      200781   83  Linux <-- /boot
> /dev/sda2              26        2703    21511035   83  Linux <-- /
> /dev/sda3            2704        2965     2104515   82  Linux swap /
> Solaris
> /dev/sda4            2966      229467  1819377315   8e  Linux LVM
> 
> The / is for the Vserver host and vservers guests are on the LVM. My
> /dev/sda4 is 1.8To with a LV as Postfix machine (20Go),  a LV as Zimbra
> server (500Go) and and the rest for LVM snapshot and testing partition.
> Does DRBD can work on extended partition ?
> 
> If yes I will reconfigure my 2nd machine with a right DRBD config with 2
> ressources, one for the Postfix machine and one for my Zimbra machine
> and then switch the apps on it and configure the 2nd machine as secondary.
> 
> Thanks a lot for your explanation and your help, as well to all DRBD's
> users on this list.
> 
> Sam.

Given that I don't really understand your setup...

I would use '/dev/sda4' to back the DRBD device. Then I would use
'/dev/drbd0' and the LVM PV. On this PV, create your VG and then you
various LVs for your VMs.

-- 
Digimer
E-Mail:         linux at alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org



More information about the drbd-user mailing list