Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

Primary/Unknown UpToDate/Outdated

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


norman.quisumbing at kkoncepts

Apr 30, 2012, 10:44 AM

Post #1 of 4 (734 views)
Permalink
Primary/Unknown UpToDate/Outdated

Hi All,

I'm new to the list. I don't deal with drbdadm all the time because drbd
just runs (usually). I've got a weird state with my drbd (2 nodes).
Everything was fine till, I shutdown my 'secondary' for a few minutes
just to re-seat a drive.

Now, the Primary says...

1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/Outdated r----
ns:7478380 nr:12656820 dw:22139484 dr:17976297 al:52974 bm:12391
lo:4 pe:0 ua:0 ap:3 ep:1 wo:b oos:795380

Secondary says...

1: cs:WFConnection ro:Secondary/Unknown ds:Outdated/DUnknown C r----
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0

Nothing really changed, both servers can ping each other via the drbd
channel. How do I get the servers connected again and the 'secondary' to
be 'UpToDate' again. Is it easily re-synced. Help Please.

Thanks,
Norman


jlillard at ghfllc

May 2, 2012, 4:18 AM

Post #2 of 4 (712 views)
Permalink
Re: Primary/Unknown UpToDate/Outdated [In reply to]

Tell the primary to reconnect.

drbdadm connect r1

J.R. Lillard
System / Network Admin
Web Programmer
Golden Heritage Foods
120 Santa Fe St.
Hillsboro, KS 67063
On May 2, 2012 6:15 AM, "Norman" <norman.quisumbing [at] kkoncepts> wrote:

> Hi All,
>
> I'm new to the list. I don't deal with drbdadm all the time because drbd
> just runs (usually). I've got a weird state with my drbd (2 nodes).
> Everything was fine till, I shutdown my 'secondary' for a few minutes just
> to re-seat a drive.
>
> Now, the Primary says...
>
> 1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/Outdated r----
> ns:7478380 nr:12656820 dw:22139484 dr:17976297 al:52974 bm:12391 lo:4
> pe:0 ua:0 ap:3 ep:1 wo:b oos:795380
>
> Secondary says...
>
> 1: cs:WFConnection ro:Secondary/Unknown ds:Outdated/DUnknown C r----
> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
>
> Nothing really changed, both servers can ping each other via the drbd
> channel. How do I get the servers connected again and the 'secondary' to be
> 'UpToDate' again. Is it easily re-synced. Help Please.
>
> Thanks,
> Norman
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user [at] lists
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>


lars.ellenberg at linbit

May 2, 2012, 4:20 AM

Post #3 of 4 (715 views)
Permalink
Re: Primary/Unknown UpToDate/Outdated [In reply to]

On Tue, May 01, 2012 at 01:44:59AM +0800, Norman wrote:
> Hi All,
>
> I'm new to the list. I don't deal with drbdadm all the time because
> drbd just runs (usually). I've got a weird state with my drbd (2
> nodes). Everything was fine till, I shutdown my 'secondary' for a
> few minutes just to re-seat a drive.
>
> Now, the Primary says...
>
> 1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/Outdated r----
> ns:7478380 nr:12656820 dw:22139484 dr:17976297 al:52974 bm:12391
> lo:4 pe:0 ua:0 ap:3 ep:1 wo:b oos:795380
>
> Secondary says...
>
> 1: cs:WFConnection ro:Secondary/Unknown ds:Outdated/DUnknown C r----
> ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0

In case you still need help...

Go to the node that is "StandAlone", say
"drbdadm -d adjust all" (-d for dry run)
it should tell you that it is going to call "drbdsetup ... net ...",
nothing about detach/attach or the like.

If so, do "drbdadm adjust all" (without the -d this time).

(btw, drbdadm connect all should have had the same effect here).

if it still does not start to resync,
look into the kernel logs, and if they are not obvious,
post them here.

(grep drbd1: /var/log/messages or .../kern.log or similar,
dmesg | grep drbd1:, something like that.)

>
> Nothing really changed, both servers can ping each other via the
> drbd channel. How do I get the servers connected again and the
> 'secondary' to be 'UpToDate' again. Is it easily re-synced. Help
> Please.
>
> Thanks,
> Norman


--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


dbarker at visioncomm

May 2, 2012, 12:43 PM

Post #4 of 4 (716 views)
Permalink
Re: Primary/Unknown UpToDate/Outdated [In reply to]

ON the Primary, do a drbdadm connect <resource>" or "drbdadm connect all".



Dan



From: drbd-user-bounces [at] lists
[mailto:drbd-user-bounces [at] lists] On Behalf Of Norman
Sent: Monday, April 30, 2012 1:45 PM
To: drbd-user [at] lists
Subject: [DRBD-user] Primary/Unknown UpToDate/Outdated



Hi All,

I'm new to the list. I don't deal with drbdadm all the time because drbd
just runs (usually). I've got a weird state with my drbd (2 nodes).
Everything was fine till, I shutdown my 'secondary' for a few minutes just
to re-seat a drive.

Now, the Primary says...

1: cs:StandAlone ro:Primary/Unknown ds:UpToDate/Outdated r----
ns:7478380 nr:12656820 dw:22139484 dr:17976297 al:52974 bm:12391 lo:4
pe:0 ua:0 ap:3 ep:1 wo:b oos:795380

Secondary says...

1: cs:WFConnection ro:Secondary/Unknown ds:Outdated/DUnknown C r----
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0

Nothing really changed, both servers can ping each other via the drbd
channel. How do I get the servers connected again and the 'secondary' to be
'UpToDate' again. Is it easily re-synced. Help Please.

Thanks,
Norman

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.