Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Mon, Sep 21, 2009 at 10:37:49AM -0700, James Smith wrote: > I can't seem to get drbdadm resize to do anything I recently built new > underlying LVM's and resync'd everything, but no matter what I do I > can't see the new expanded LVM's drbd still shows the old size .. > What am I missing ?? I'm not sure. Below, you do not include information about the current size of your DRBD. check: # grep drbd /proc/partitions if that does not yet show the expected result, try the "drbdadm resize" again, on both nodes, just to be sure. if that already shows the expected result, maybe you just forgot to resize the filesystem? resize2fs, xfs_growfs, whatever is necessary for your file system. > thanks > -james > > cat /proc/drbd > version: 8.2.6 (api:88/proto:86-88) please consider to upgrade to 8.3.x > GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by phil at fat-tyre, 2008-05-30 12:59:17 > 0: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--- > ns:910328 nr:856 dw:911184 dr:344696 al:8305 bm:64 lo:2 pe:2 ua:0 ap:2 oos:0 > > fdisk -l /dev/sda > Disk /dev/sda: 999.9 GB, 999909490688 bytes > 255 heads, 63 sectors/track, 121565 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sda3 5 121565 976438732+ 8e Linux LVM > > --- Physical volume --- > PV Name /dev/sda3 > VG Name vg00 > PV Size 931.20 GB / not usable 1.45 MB > Allocatable yes > PE Size (KByte) 16384 > Total PE 59597 > Free PE 1357 > Allocated PE 58240 > > vgdisplay vg00 | grep PE > PE Size 16.00 MB > Total PE 59597 > Alloc PE / Size 58240 / 910.00 GB > Free PE / Size 1357 / 21.20 GB > > lvdisplay > --- Logical volume --- > LV Name /dev/vg00/repl > VG Name vg00 > LV Status available > LV Size 910.00 GB > > df -h /replicated > Filesystem Size Used Avail Use% Mounted on > /dev/drbd0 444G 439G 5.1G 99% /replicated > > device /dev/drbd0; > disk /dev/vg00/repl; > address 192.168.2.1:7788; > meta-disk internal; -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.