Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi all, is use a master/master drbd (8.3.6) with clustered lvm2. The layout is: local LV -> drbd0 -> cluster LV -> iscsi (want to export the whole VG on drbd0) CMD: lvcreate -L55G CLUSTER_POOL1 system0 ### local LV ### --- Logical volume --- LV Name /dev/system0/CLUSTER_POOL1 VG Name system0 LV UUID IBSjXj-LCpL-gcb2-tEU8-jCWU-S8DG-EJ62Dz LV Write Access read/write LV Status available # open 0 LV Size 55.00 GiB Current LE 14080 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:7 ### drbd resource ### on srv1 { device /dev/drbd0; disk /dev/system0/CLUSTER_POOL1; address 192.168.222.101:7788; flexible-meta-disk internal; } CMD: pvcreate /dev/drbd0 ; vgcreate -cy CLUSTER_VG1 /dev/drbd0 ### clustered VG (on both) ### --- Volume group --- VG Name CLUSTER_VG1 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 1 VG Access read/write VG Status resizable Clustered yes Shared no MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 35.00 GiB PE Size 4.00 MiB Total PE 8959 Alloc PE / Size 0 / 0 Free PE / Size 8959 / 35.00 GiB VG UUID f7egA2-jWCD-cByv-cC1z-YjQq-4na2-MWPibQ all looks nice... and now resize system0/CLUSTER_POOL1 on both nodes <snip> lvresize -d -L+5G /dev/system0/CLUSTER_POOL1 Extending logical volume CLUSTER_POOL1 to 60.00 GiB Logical volume CLUSTER_POOL1 successfully resized <snap> CMD: lvdisplay --- Logical volume --- LV Name /dev/system0/CLUSTER_POOL1 VG Name system0 LV UUID IBSjXj-LCpL-gcb2-tEU8-jCWU-S8DG-EJ62Dz LV Write Access read/write LV Status available # open 2 LV Size 60.00 GiB Current LE 15360 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:7 CMD: drbd-overview <snip> 0:r01_test Connected Primary/Primary UpToDate/UpToDate C r---- lvm-pv: CLUSTER_VG1 35.00g 0g <snap> ...hm, 35GB.. ok, try a resize CMD: drbdsetup 0 resize no output or something but retrun 0 (all ok?): <snip> srv1 mfu # drbdsetup 0 resize srv1 mfu # echo $? 0 <snap> hm, lets see: CMD: drbd-overview <snip> 0:r01_test Connected Primary/Primary UpToDate/UpToDate C r---- lvm-pv: CLUSTER_VG1 35.00g 0g <snap> CMD: vgdisplay CLUSTER_VG1 --- Volume group --- VG Name CLUSTER_VG1 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 1 VG Access read/write VG Status resizable Clustered yes Shared no MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 35.00 GiB PE Size 4.00 MiB Total PE 8959 Alloc PE / Size 0 / 0 Free PE / Size 8959 / 35.00 GiB VG UUID f7egA2-jWCD-cByv-cC1z-YjQq-4na2-MWPibQ nothing happens... anybody "knows" where the problem exists? thx Maik