[DRBD-user] Migrate data to bigger disks

Lars Ellenberg lars.ellenberg at linbit.com
Wed Feb 25 10:28:37 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Wed, Feb 25, 2009 at 09:50:19AM +0100, Heiko Petzsch wrote:
> Hi,
> 
> I hope that my question isn't too stupid, but I searched the documentation and couldn't find 
> an answer...
> 
> I've been running DRBD 0.7.18 on a production system for a bit more than two years now, 
> and everything has worked fine. Now we need to increase disk space, from 250 GB on each 
> node to 1500 GB.
> 
> I thought that I could simply replace my disk on node 2, let DRDB care about synchronization 
> of the data, then switch primary and secondary node, and replace the disk on node 1. This 
> fails already within the first step, after replacing the disk DRDB complains: "Meta device too 
> small".
> 
> What is the recommended procedure to migrate data to larger disks ?

exactly as you describe it.
though you then need to "drbdadm resize" it,
afterwards.

how big, exactly, is the new disk? (cat /proc/partitions)
do you try with external or internal meta data?

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list