drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] Initialize empty volume

Re: [DRBD-user] Initialize empty volume

From: Lars Ellenberg <lars.ellenberg_at_nospam>
Date: Fri Mar 12 2010 - 22:49:58 GMT
To: drbd-user@lists.linbit.com

On Fri, Mar 12, 2010 at 01:07:42PM -0800, dbarker wrote:
> I tried and failed many times to quickly create empty drbd disks. The best
> instructions I found appeared to work, but at the final connect, the entire
> volume (with no filesystem installed at all) resyncd. This occurred even
> using the "Truck Based" instructions.

You are sure that the procedure described in the drbdsetup manpage
does not work for you?
"This can be used to skip the initial sync, ..."

> However, if I define a 1G disk, and let that sync (that happens quickly),
> and then resize the disk to 200G (or whatever) using the process for Growing
> Offline, it's nearly instant! Then, I define or expand the file system and
> proceed.
> I must be doing something wrong with the --clear-bitmap new-current-uuid,
> but what I've found to work may be helpful to someone else. All the
> instructions I found were very hazy on which commands occurred on which drbd
> instance, and in what order. Also, there were missing steps or the
> instructions didn't match 8.3.0.

do not use 8.3.0
simply don't.

use 8.3.7.

-- : 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 _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user