Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Hey folks i am trying to extends the size of DRBD device (/dev/drbd0) online on production server but have to bring down and up the device (/dev/drbd0) twice so the change in size is detected.

I just wanna know that is their any way to extend the size of DRBD device without Down and up the DRBD resource device. Actually i followed this link.

Thanks in advance...

share|improve this question
    
Sure there is. What is your drbd major/minor version, and what is your underlying storage device for drbd0? –  Nils Jun 1 '13 at 19:13

1 Answer 1

After the LV resize do a drbdadm resize.

  1. Resize the LVs on both sides - I recommend using a relative size e.g. lvresize -L +2G
  2. Resize DRBD while drbd is commected drbdadm resize - you see the progess in cat /proc/drbd
  3. Resize the filesystem online
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.