[DRBD-user] Initial sync, just want to confirm the process (and not go down in a blaze of glory)
lars.ellenberg at linbit.com
Fri Aug 13 10:20:28 CEST 2010
On Fri, Aug 13, 2010 at 07:00:50AM +0100, Simon Billis wrote:
> > Subject: Re: [DRBD-user] Initial sync, just want to confirm the process
> > (and not go down in a blaze of glory)
> > Hmm sorry Dan, but this has left me a little confused.
> > As I said in my first post, storage00 is LIVE and has around 4TB of
> > data on it, I have a dedicated gigabit NIC for drbd, (the machine has 6
> > network cards in it, 4 for MPIO iSCSI, 1 for managment/heartbeat, 1 for
> > DRBD) I have already setup storage01 and have issued drbdadm create-md
> > meta and drbdadm create-md data on the secondary machine, I haven't
> > started drbd on it as it needs to be rebooted first, hence why I'm now
> > a little cautious on the reboot of the machine.
> I'm not sure why you will need to reboot, you should be able to bring the
> drbd resource into secondary mode right away with the following commands
> #On the primary node (storage00) check the status with
> drbdadm status
> #You should see something like:
> [root at raid-primary ~]# drbdadm status
> <drbd-status version="8.3.8" api="88">
> <resources config_file="/etc/drbd.conf">
> <resource minor="1" name="drbd1" cs="StandAlone" ro1="Primary" ro2="Unknown"
> ds1="UpToDate" ds2="DUnknown" />
Why would you voluntarily parse pseudo-xml with your eyes?
That output is meant to be consumed by scripts or the DRBD MC Gui.
# cat /proc/drbd
# grep cs: /proc/drbd
: 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