[DRBD-user] Resize partition

Terry Hull tah at nrg-inc.com
Tue May 19 08:07:43 CEST 2009


I am running DRBD 8.3.1.  I am trying to resize a partition, but for some
reason I cannot increase the capacity.   Here is the scenario:

At one point I had a 5 TB partition on one machine and a 4 TB partition on
the other machine.  I increased the size of the partition on the 4 TB
machine to 5 TB, and then did a drbdadm resize all.  I then did a pvresize
on /dev/drbd1, my DRBD device, but did not see the increase in size.  I
restarted DRBD, but that did not help.   I am getting this in
/var/log/messages:

May 19 00:11:44 bg-host-l2 drbd: GIT-hash:[deleted]
May 19 00:11:44 bg-host-l2 drbd: registered as block device major 147
May 19 00:11:44 bg-host-l2 drbd: minor_table @ 0xffff880223d38180
May 19 00:11:44 bg-host-l2 drbd1: disk( Diskless -> Attaching )
May 19 00:11:44 bg-host-l2 drbd1: Starting worker thread (from cqueue
[7757])
May 19 00:11:44 bg-host-l2 drbd1: No usable activity log found.
May 19 00:11:44 bg-host-l2 drbd1: Method to ensure write ordering: barrier
May 19 00:11:44 bg-host-l2 drbd1: max_segment_size ( = BIO size ) = 32768
May 19 00:11:44 bg-host-l2 drbd1: drbd_bm_resize called with capacity ==
8587575296
May 19 00:11:44 bg-host-l2 drbd1: resync bitmap: bits=1073446912
words=16772608
May 19 00:11:44 bg-host-l2 drbd1: size = 4095 GB (4293787648 KB)
May 19 00:11:44 bg-host-l2 drbd1: recounting of set bits took additional 20
jiffies
May 19 00:11:44 bg-host-l2 drbd1: 0 KB (0 bits) marked out-of-sync by on
disk bit-map.
May 19 00:11:44 bg-host-l2 drbd1: disk( Attaching -> UpToDate )

But on that machine parted is reporting 5398GB.
On the other machine the partition is 5898 GB.

What would keep the partition from going beyond 4 TB?  Both machines are
running 2.6.27 64 bit kernels.  Also, I do not have a size maximum listed in
drbd.conf.  

--
Terry Hull
Network Resource Group, Inc. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090519/79dd592c/attachment.htm>


More information about the drbd-user mailing list