Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Since it's my first mail to the list I wanted to say hello @all and thanks in advance for any help I get here.
I'm working with linux and drbd for quite a few years now but this problem; I just can't figure it out .....
Given resources :
I'm running drbd-8.4.3-33.el6.x86_64 on a CentOS 6 System with kernel 2.6.32-358.11.1.el6.x86_64 .
As storage backend I'm using LVM in version lvm2-2.02.98-9.el6.x86_64.
The resource has external metadata. The logical volume hosting the metadata is 100MB in size.
The actual size of the resource is 1,2TB which should be grown to 2TB. Size of the metadata should be 32MB/1TB .
According to the (really great) documentation here
http://drbd.linbit.com/users-guide/s-resizing.html
I need to grow the backend device (in this case the LV) then issue the resizing command on the primary node
drbdadm resize home
after that the resource should grow and sync the changes to the secondary node.
Actually it does nothing ;)
If I use the verbose output switch I get the following :
node1 / # drbdadm -v resize home
drbdsetup resize 0
drbdsetup check-resize 0
Maybe I'm missing something completely and someone here can point me in the right direction. Any help is greatly appreciated.
My resource config looks like this :
<DRBD config>
resource "home" {
protocol A;
startup {
wfc-timeout 30; ## Infinite!
degr-wfc-timeout 15; ## 2 minutes.
become-primary-on node2;
}
disk {
on-io-error detach;
}
on node1 {
device /dev/drbd0;
disk /dev/VG-md3/lv-home;
address 192.168.0.1:8889;
meta-disk /dev/VG-md3/lv-meta-home;
}
on node2 {
device /dev/drbd0;
disk /dev/VG-md3/lv-home;
address 192.168.0.2:8889;
meta-disk /dev/VG-md3/lv-meta-home;
}
}
</DRBD config>
Output of lvdisplay looks like that :
<LV config>
www1 / # lvdisplay
--- Logical volume ---
LV Path /dev/VG-md3/lv-meta-home
LV Name lv-meta-home
VG Name VG-md3
LV UUID YFet1Y-tSh1-62VZ-nZ9p-K7IC-zVce-126vWq
LV Write Access read/write
LV Creation host, time node1, 2014-09-29 11:35:34 +0200
LV Status available
# open 1
LV Size 100.00 MiB
Current LE 25
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/VG-md3/lv-home
LV Name lv-home
VG Name VG-md3
LV UUID 09nAAB-Zju0-jfJk-8qgG-3EwY-7I2F-5nwyHg
LV Write Access read/write
LV Creation host, time node1, 2014-09-29 11:37:43 +0200
LV Status available
# open 1
LV Size 2.00 TiB
Current LE 524288
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
</LV config>
Best regards
Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20150127/727c45a4/attachment.htm>