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

Mailing List Archive: DRBD: Users

Activity-log.

 

 

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


vikieethechip at gmail

Feb 19, 2012, 10:56 PM

Post #1 of 5 (477 views)
Permalink
Activity-log.

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.

Thanks in advance.


-Vengatesh Prabhu

--
Life is Beautiful:
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


ff at mpexnet

Feb 20, 2012, 12:57 AM

Post #2 of 5 (434 views)
Permalink
Re: Activity-log. [In reply to]

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
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


vikieethechip at gmail

Feb 20, 2012, 1:26 AM

Post #3 of 5 (432 views)
Permalink
Re: Activity-log. [In reply to]

Yes, Its worked.
Thanks......


-vengatesh

On Mon, Feb 20, 2012 at 2:27 PM, Felix Frank <ff [at] mpexnet> wrote:
> 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



--
Life is Beautiful:
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


brian at linbit

Feb 20, 2012, 8:13 AM

Post #4 of 5 (431 views)
Permalink
Re: Activity-log. [In reply to]

On 02/19/2012 10:56 PM, venkatesh prabhu wrote:
>
> 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
>
For your sanity and everyone's around you using this system, _please_
upgrade! :)

If you need any justification see:
http://git.drbd.org/?p=drbd-8.3.git;a=blob;f=ChangeLog;hb=HEAD


Best regards,
Brian

--

: Brian Hellman
: LINBIT | "Your Way to High Availability"
: 1-877-4-LINBIT
: Web: http://www.linbit.com
:
: Twitter: http://www.linbit.com/en/twitter
: Facebook: http://www.linbit.com/en/facebook

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


vikieethechip at gmail

Feb 23, 2012, 1:21 AM

Post #5 of 5 (412 views)
Permalink
Re: Activity-log. [In reply to]

Hi,
Can any one please explain the fields of below message?

resync: used:0/61 hits:1 misses:1 starving:0 dirty:0 changed:1
act_log: used:0/127 hits:0 misses:1 starving:0 dirty:0 changed:1
Advanced Thanks for the Help.

-Vengatesh

On Mon, Feb 20, 2012 at 9:43 PM, Brian R. Hellman <brian [at] linbit> wrote:
>
>
> On 02/19/2012 10:56 PM, venkatesh prabhu wrote:
>>
>> 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
>>
> For your sanity and everyone's around you using this system, _please_
> upgrade! :)
>
> If you need any justification see:
> http://git.drbd.org/?p=drbd-8.3.git;a=blob;f=ChangeLog;hb=HEAD
>
>
> Best regards,
> Brian
>
> --
>
> : Brian Hellman
> : LINBIT | "Your Way to High Availability"
> : 1-877-4-LINBIT
> : Web: http://www.linbit.com
> :
> : Twitter: http://www.linbit.com/en/twitter
> : Facebook: http://www.linbit.com/en/facebook
>
> _______________________________________________
> drbd-user mailing list
> drbd-user [at] lists
> http://lists.linbit.com/mailman/listinfo/drbd-user



--
Life is Beautiful:
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

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.