[Linux]drbd怎么读

来源:互联网 发布:添加网络背景音乐 编辑:程序博客网 时间:2024/04/24 08:53
[root@CFPU-0(RNC-476) /root]
# cat /proc/drbd 
version: 8.3.16 (api:88/proto:86-97)
GIT-hash: a798fa7e274428a357657fb52f0ecf40192c1985 build by osman@osci-7.emea.nsn-net.net, 2015-01-29 10:36:31
 0: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:1252120 nr:0 dw:1252120 dr:4800 al:25 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 1: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:3641744 nr:0 dw:3641744 dr:3745 al:43 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 2: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:40 nr:0 dw:40 dr:480 al:5 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 3: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:14 nr:0 dw:14 dr:772 al:2 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 4: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
    ns:0 nr:632 dw:632 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 5: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:452282 nr:0 dw:452282 dr:5343 al:7 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 6: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:1 nr:0 dw:1 dr:649 al:1 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 7: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:2061900 nr:0 dw:2061900 dr:8669 al:134 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 8: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:3558460 nr:0 dw:3558460 dr:4277 al:50409 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
 9: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:295594 nr:0 dw:295594 dr:2822 al:23 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
10: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----

    ns:260 nr:0 dw:260 dr:1515 al:2 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0



官方英文版地址: http://www.drbd.org/users-guide/ch-admin.html

  • cs (connection state). Status of the network connection. See the section called “Connection states” for details about the              various connection states.
  • st (states). Roles of the nodes. The role of the local node is                displayed first, followed by the role of the partner                node shown after the slash. See the section called “Resource roles” for details about the                possible resource roles.


  • ds (disk states). State of the hard disks. Prior to the slash the                state of the local node is displayed, after the slash                the state of the hard disk of the partner node is                shown. See the section called “Disk states” for details about the various                connection states.
  • ns (network send). Volume of net data sent to the partner via the                network connection; in Kibyte.
  • nr (network receive). Volume of net data received by the partner via                the network connection; in Kibyte.
  • dw (disk write). Net data written on local hard disk; in                Kibyte.
  • dr (disk read). Net data read from local hard disk; in Kibyte.              
  • al (activity log). Number of updates of the AL area of the meta                data.
  • bm (bit map). Number of updates of the bitmap area of the meta                data. 
  • lo (local count). Number of open requests to the local I/O sub-system                issued by DRBD. 
  • pe (pending). Number of requests sent to the partner, but that                have not yet been answered by the latter.
  • ua (unacknowledged). Number of requests received by the partner via the                network connection, but that have not yet been                answered. 
  • ap (application pending). Number of block I/O requests forwarded to DRBD, but                not yet answered by DRBD.

0 0
原创粉丝点击