[DRBD-user] resizing lvm devices and iscsi

Tom Brown wc-linbit.com at vmail.baremetal.com
Sun Jun 29 20:29:17 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.

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...

More information about the drbd-user mailing list