[DRBD-user] mean /proc/drbd

Lars Ellenberg lars.ellenberg at linbit.com
Mon Feb 25 16:50:44 CET 2008

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


On Mon, Feb 25, 2008 at 03:54:41PM +0100, Martin Gombac wrote:
> On 2008.2.25, at 14:10, Cyril SCETBON wrote:
> >Martin Gombac wrote:
> >>I second that. :-)
> >>
> >>On 2008.2.13, at 12:15, Aimar Marco wrote:
> >>
> >>>Hello,
> >>>with
> >>>cat /proc/drbd
> >>>version: 8.0.6 (api:86/proto:86)
> >>>SVN Revision: 3048 build by phil at mescal, 2007-09-03 10:39:27
> >>> 0: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
> >>>    ns:56 nr:8 dw:64 dr:129 al:0 bm:3 lo:0 pe:0 ua:0 ap:0
> >>>    resync: used:0/31 hits:17 misses:3 starving:0 dirty:0 changed:3
> >>>    act_log: used:0/127 hits:14 misses:0 starving:0 dirty:0  
> >>>changed:0
> >>>
> >>>What I can find documentation on mean of:
> >>>-"C r---"
> >>>-"resync: used:0/31 hits:17 misses:3 starving:0 dirty:0 changed:3"
> >>>-"act_log: used:0/127 hits:14 misses:0 starving:0 dirty:0 changed:0"
> >>>?
> >>>thank you
> >
> >Did you find any response ?
> >
> No,
> we were ignored. :-)
> Since it's not critical, just curiosity, i let it be.
> 
> Regards,
> M.

oh. sorry.
> 0: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r---
  ^   ^            ^                    ^                   ^ ^-[*]
  |   |            |                    |                   |
  |   |            |                    |    wire protocol -´
  |   |            |                    `- disk state
  |   |            `- state (should be named role, but historically)
  |   `- connection state
  `- minor


[*]: four characters showing certain flag bits

first:
  [rs]: io running(resumed)/suspended, see drbdadm suspend-io/resume-io

next three show details of sync-after dependencies.
they all say '-' if currently unset.

if there is a resync running, but you have serialized resync of your devices
(because they share some resources (live on the same "spindle"),
or because you want some more important ones to be resynced first),
there are certain ways to suspend this resync.

  a: implicitly paused because of sync-after dependency on this node
  p: implicitly paused because of sync-after dependency on the peer node
  u: explicitly suspended by the user, see drbdadm pause-sync/resume-sync

        cheers,

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list