[DRBD-user] Activity-log.

Felix Frank ff at mpexnet.de
Mon Feb 20 09:57:56 CET 2012

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


Hi,

On 02/20/2012 07:56 AM, venkatesh prabhu wrote:
> Hi,
> I configured my DRBD and they are working fine.
> But i need to know how to get some extra information in the /proc/drbd.
> 
> Currently my proc/drbd shows only 4 lines.
> 
> version: 8.0.14 (api:86/proto:88)
> GIT-hash: bb447522fc9a87d0069b7e14f0234911ebdab0f7 build by attR
> 2008-11-12 16:40:33
>  0: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C r---
>     ns:0 nr:0 dw:3669188 dr:236129 al:144 bm:17 lo:0 pe:0 ua:0 ap:0
> 
> 
> But i have seen some extra lines like this in some example
> 
>  resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0
>  act_log: used:0/127 hits:917153 misses:144 starving:0 dirty:0 changed:144
> 
> How to get these infos in my /proc/drbd.

# modinfo drbd
...
parm:           proc_details:int
...

# cat /sys/module/drbd/parameters/proc_details
0
# echo 1 >/sys/module/drbd/parameters/proc_details

Glad this will help ;-)

Cheers,
Felix



More information about the drbd-user mailing list