[DRBD-user] DRDB on top of resizing LVM2

Yves Trudeau yves.trudeau at revolutionlinux.com
Sun Feb 5 16:33:09 CET 2006

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


Ben a écrit :

> Hey all. I'm about to build out a pair of Xen servers that I want to  
> make HA with DRDB. What this boils down to is me having a bunch of  
> LVM volumes, some of which I would like to mirror with DRDB. I'm  
> still getting my bearings with LVM and with DRDB, so I'm a little  
> confused. But I think this means I'm going to want to put DRDB on top  
> of LVM, which, as near as I can tell from the archives, isn't a  
> problem with current versions.
>
> My big question though is what happens when I expand an LVM volume.  
> How does DRDB deal with that? Do I have to expand the secondary, then  
> the primary? Other way around? Do I have to expand both partitions  
> before I expand either filesystem? If I ever want to shrink a  
> partition, does DRDB deal with that?
>
> Has anybody else done something similar?
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

If I remember well, here is what we have done:

1. resize lvm on both nodes
2. resize drbd on both nodes
3. resize filesystem on primary node

Yves

-- 
Yves Trudeau, Ph. D., MCSE, OCP
Analyste Senior
Révolution Linux
819-780-8955 poste *104

Toutes les opinions et les prises de position exprimées dans ce courriel
sont celles de son auteur et ne répresentent pas nécessairement celles
de Révolution Linux

Any views and opinions expressed in this email are solely those of the 
author and do not necessarily represent those of Revolution Linux







More information about the drbd-user mailing list