I installed drbd with hearbeat on two machine. Since both of the
machines are in a production environment, rebooting the machines can be
quite a task. I set up DRBD on one machine with a an flexible-internal
metadata disk. The other machine had DRBD setup with a external metadata
disk. Since the data we need to replicate already exists on a disk, we
need to go with an external metadata disk. This is the configuration on
both machines.

on apophis {
    device      /dev/drbd0;
    disk        /dev/mapper/mars-tmp;
    address    199.131.563.91:7789;
    flexible-meta-disk  /dev/mapper/mars-boot;
  }

  on mars {
    device    /dev/drbd0;
    disk      /dev/cciss/c0d0p7;
    address   199.131.563.90:7789;
    flexible-meta-disk internal;
  }

I began by zeroing out the disks for metadata with
dd if=/dev/zero of=/dev/mapper/mars-boot bs=1M count=128
dd if=/dev/zero of=/dev/cciss/c0d0p7 bs=1M count=128

I created metadata disks on both machines with the command
drbdadm create-md home

Then tried to start DRBD with the System V init script
/etc/init.d/drbd start

DRBD started on mars, but when I tried to start it on apophis I got this
message

Low.dev. smaller than requested DRBD-dev. size.


/dev/mapper/mars-tmp is 4TB
/dev/mapper/mars-boot is 9.9GB

/dev/cciss/c0d0p7 is 7 TB

mars is running 
version: 8.0.14 (api:86/proto:86)
Linux 2.6.26-2-amd64

apophis is running
version: 8.3.7 (api:88/proto:86-91)
Linux 2.6.32-5-amd64

Any ideas here?

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to