[DRBD-user] help me with drbd !!!

Watthanachai Kekhua watthanachai at ntt.co.th
Tue May 3 06:14:59 CEST 2011

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


How about your DRBD device now ?



Please do not hesitate to contact us , If you have any questions .
Best Regards.
################################
#  Watthanachai KEKHUA (Golf)
#  SYSTEM ENGINEER
#  Tel: 02-2367227 Ext. 3155
#  Direct Line Tel: 02-2366395
#  NTT Communications (Thailand) Co., Ltd.
#################################

-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Matt Graham
Sent: Friday, April 29, 2011 11:08 PM
To: drbd-user at lists.linbit.com
Subject: Re: [DRBD-user] help me with drbd !!!

From: "edwige amani odedele" <bbvijo at live.fr>
> root2:~# cat /proc/drbd
> version: 8.3.7 (api:88/proto:86-91)
>  0: cs:Connected ro:Secondary/Secondary ds: Inconsistent/Diskless 
> root1:~# cat /proc/drbd
> version: 8.3.7 (api:88/proto:86-91)
>  0: cs:Connected ro:Secondary/Secondary ds:Diskless/Inconsistent

(Je vais ecrire en anglais, mais je peux lire francais--ecrivez en francais si vous preferez....)

Nothing will work as long as these machines are diskless and inconsistent.

> root1:~# cat /etc/lvm/lvm.conf
>       filter = [ "a|drbd.*|", "r|.*|" ]

How do you want to set this up?  Is /dev/drbd0 going to be a PV?  It's not clear from the rest of your message.

> root1:~# pvcreate /dev/drbd0
>   Device /dev/drbd0 not found (or ignored by filtering).

The DRBD device must be Primary on root1 before you can write to it.

> device /dev/drbd0;
> disk /dev/sda4;
> address 88.190.12.136:7788;
> meta-disk internal;

> root1:~# drbdadm attach data
> 0: Failure: (114) Lower device is already claimed. This usually means 
> it is mounted.
> Command 'drbdsetup 0 disk /dev/sda4 /dev/sda4 internal --set-defaults 
> --create-device' terminated with exit code 10

What's using /dev/sda4 ?  "lsof | grep sda4" as root will tell you if you can't see sda4 in the output from mount.  The first thing to do is to get sda4 umounted.  Then you can proceed with getting DRBD set up.

--
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/ There is no Darkness in Eternity/But only Light too dim for us to see

_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user






More information about the drbd-user mailing list