Re: drbd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 2007-10-17 at 11:05 -0700, John R Pierce wrote:
<snip>
> and I can't promote blade03 to primary.
> 
> [root@svfis-blade03 ~]# drbdadm primary repdata 
> State change failed: (-2) Refusing to be Primary without at least one 
> UpToDate disk
> Command 'drbdsetup /dev/drbd0 primary' terminated with exit code 11
> 
> what am I doing wrong?!?   the howto shows the disk state as 
> UpToDate/Inconsistent, which is what I'd expect.
> 
> Do I have to use a physical device (/dev/sdb in the example) instead of 
> a partition?

No, you don't have to use a physical device , you can use partitions.
But the first time you want to promote a drbd device as primary, drbd
has to know first which is the one that will act as the master.
On the node that will act as a master for the initial full sync (only
one time), you'll have to use the `drbdadm -- --overwrite-data-of-peer
primary all` command.
On previous drbd (< 0.8) , the command was : `drbdadm -- --do-what-I-say
primary all` but the command was changed (see the drbd website)
You're right, it's missing from the wiki page and that will be updated
to reflect that ...

Thanks for having reported that .. :o)
-- 
Fabian Arrotin <fabian.arrotin@xxxxxxxxxx>
Solution ? 
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc

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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux