[DRBD-user] drbd on lvm - resize pv (lvextend drbd)

Thomas Baumann tom at tiri.li
Tue Oct 26 08:25:03 CEST 2010


Hi ap,

 

Could it be that you are not connected to the peer?

 

Look at <http://www.drbd.org/users-guide/re-drbdadm.html>

 

And try this:

 

# lvextend -L180000 /dev/mapper/localvg-r1

  Extending logical volume r1 to 175,78 GB

  Logical volume r1 successfully resized

 

# cat /proc/drbd

version: 8.3.7 (api:88/proto:86-91)

GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by phil at fat-tyre,
2010-01-13 17:17:27

0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----

    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:511948

1: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r----

    ns:0 nr:0 dw:0 dr:0 al:0 bm:1 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
oos:167767004

 

# drbdadm -- --assume-peer-has-space resize drbd.drbd1

 

# cat /proc/drbd

version: 8.3.7 (api:88/proto:86-91)

GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by phil at fat-tyre,
2010-01-13 17:17:27

0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----

    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:511948

1: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown C r----

    ns:0 nr:0 dw:0 dr:0 al:0 bm:1 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b
oos:184314336

 

Best regards,

 

Thomas.

 

tiri GmbH

Lauenburger Str. 31a

21493 Schwarzenbek

Tel. 04151 8674995

Fax. 04151 8674996

Net. http://www.tiri.li

 

Geschäftsführer: Anja Baumann, Thomas Baumann

Sitz Schwarzenbek, Amtsgericht Lübeck, HRB 8837 HL

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20101026/d4a48a2e/attachment-0001.htm>


More information about the drbd-user mailing list