[Pacemaker] New disk size not recognized

NetLink netlink at netlink.com.br
Wed Sep 21 13:16:10 UTC 2016


I'm running a Debian cluster with corosync without LVM. 
One of my resources run out of space and I had to replace the disk by a
bigger one. 
Resource r3 on one whole disk.
What I did:
Put node2 in standby - crm node standby
Shutdown the server
Replaced the disk
After reboot stopped corosync - /etc/init.d/corosync stop
Created a new partition - cfdisk /dev/sdb
Informed system about new partition - partprobe /dev/sdb
Started DRBD - /etc/init.d/drbd start
Created new metadata - drbdadm create-md r3
Restarted corosync - /etc/init.d/corosync start
Put node2 online - crm none online
Syncing started on Node 2.
After syncing repeated the same procedure on node1 

No problem so far and no service interruption. I can switch between the
nodes normally.
The problem is that the new disk size is not recognized by drbd.
drbd-overview and df are still showing the old disk configuration.
I tried drbdadm resize r3 and drbdadm -- --assume-clean resize r3 without
success.

Can anyone help me to fix this problem?

Best regards 

Wolfgang

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20160921/169bc85f/attachment-0003.html>


More information about the Pacemaker mailing list