[DRBD-user] resizing lvm devices and iscsi

Jeff Gamsby jfgamsby at lbl.gov
Mon Jun 30 22:32:52 CEST 2008

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

When resizing lower device (LVM) offline, drbd no longer sees the 
meta-data when restarted. I'm using internal meta-data. How can I avoid 


Tom Brown wrote:
> On Sun, 29 Jun 2008, Jeff Gamsby wrote:
>> Hi,
>> I would like to resize my drbd device, but the configuration is a bit 
>> strange.
>> 5 drbd devices (2 boot disks (ext3 20GB) and a LVM (2TB 3 logical 
>> volumes (xfs)) ) Running drbd and heartbeat
>> drbd0 boots a remote client via iscsi and mounts the LVM devices 
>> (xfs) also via iscsi
>> I want to grow the LVM partitions online but have been having trouble
>> I have been doing the following:
>> lvextend -L500GB /dev/DISK/SHARE on both drbd nodes
>> drbdadm resize on the primary
>> then reboot the remote client
>> remote client does not 'see' new size on LVM partition.
> the client sees a filesystem, and the filesystem hasn't been told that 
> the device it is on has changed size... you'll have to lookup the 
> procedures for each filesystem ... there is a resize2fs command for 
> ext3 ... but I don't know about xfs...
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

Jeff Gamsby
Center for X-Ray Optics
Materials Sciences Division
Lawrence Berkeley Laboratory
jfgamsby at lbl.gov

More information about the drbd-user mailing list