Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.17 KB | None | 0 0
  1. --- /proc/drbd:
  2. version: 9.0.6-1 (api:2/proto:86-112)
  3. GIT-hash: 08cda190c4f544a0c4e15ba792bbf47c69707b42 build by buildsystem@linbit, 2016-12-23 13:29:04
  4. Transports (api:15): tcp (1.0.0)
  5.  
  6. --- drbd-overview:
  7. 0:.drbdctrl/0 Connected(2*) Primar/Second UpToDa/UpToDa
  8. 1:.drbdctrl/1 Connected(2*) Primar/Second UpToDa/UpToDa
  9. 147:test1/0 Connected(2*) Secondary(2*) Diskle/UpToDa
  10. 148:test2/0 Connected(2*) Secondary(2*) Diskle/UpToDa
  11. 149:test0/0 Connected(2*) Secondary(2*) UpToDa/UpToDa
  12. 150:test3/0 Connected(2*) Secondary(2*) UpToDa/UpToDa
  13. 151:test0/1 Connected(2*) Secondary(2*) UpToDa/UpToDa
  14.  
  15. --- drbdsetup status:
  16. .drbdctrl node-id:0 role:Primary suspended:no
  17. write-ordering:flush
  18. volume:0 minor:0 disk:UpToDate
  19. size:4056 read:1032 written:4112 al-writes:1 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  20. volume:1 minor:1 disk:UpToDate
  21. size:4056 read:1040 written:4160 al-writes:1 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  22. tom node-id:1 connection:Connected role:Secondary congested:no
  23. volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
  24. received:5088 sent:56 out-of-sync:0 pending:0 unacked:0
  25. volume:1 replication:Established peer-disk:UpToDate resync-suspended:no
  26. received:5100 sent:104 out-of-sync:0 pending:0 unacked:0
  27.  
  28. test0 node-id:0 role:Secondary suspended:no
  29. write-ordering:flush
  30. volume:0 minor:149 disk:UpToDate
  31. size:102400 read:104340 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  32. volume:1 minor:151 disk:UpToDate
  33. size:102400 read:104340 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  34. tom node-id:1 connection:Connected role:Secondary congested:no
  35. volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
  36. received:0 sent:103220 out-of-sync:0 pending:0 unacked:0
  37. volume:1 replication:Established peer-disk:UpToDate resync-suspended:no
  38. received:0 sent:103220 out-of-sync:0 pending:0 unacked:0
  39.  
  40. test1 node-id:1 role:Secondary suspended:no
  41. write-ordering:none
  42. volume:0 minor:147 disk:Diskless
  43. size:512000 read:0 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  44. tom node-id:0 connection:Connected role:Secondary congested:no
  45. volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
  46. received:664 sent:0 out-of-sync:0 pending:0 unacked:0
  47.  
  48. test2 node-id:1 role:Secondary suspended:no
  49. write-ordering:none
  50. volume:0 minor:148 disk:Diskless
  51. size:512000 read:0 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  52. tom node-id:0 connection:Connected role:Secondary congested:no
  53. volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
  54. received:664 sent:0 out-of-sync:0 pending:0 unacked:0
  55.  
  56. test3 node-id:0 role:Secondary suspended:no
  57. write-ordering:flush
  58. volume:0 minor:150 disk:UpToDate
  59. size:1048576 read:1120 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  60. tom node-id:1 connection:Connected role:Secondary congested:no
  61. volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
  62. received:0 sent:0 out-of-sync:0 pending:0 unacked:0
  63.  
  64.  
  65. --- drbdsetup events2:
  66. 2017-02-28T08:26:48.917522-08:00 exists resource name:.drbdctrl role:Primary suspended:no write-ordering:flush
  67. 2017-02-28T08:26:48.917522-08:00 exists connection name:.drbdctrl peer-node-id:1 conn-name:tom connection:Connected role:Secondary congested:no
  68. 2017-02-28T08:26:48.917522-08:00 exists device name:.drbdctrl volume:0 minor:0 disk:UpToDate size:4056 read:1032 written:4112 al-writes:1 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  69. 2017-02-28T08:26:48.917522-08:00 exists device name:.drbdctrl volume:1 minor:1 disk:UpToDate size:4056 read:1040 written:4160 al-writes:1 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  70. 2017-02-28T08:26:48.917522-08:00 exists peer-device name:.drbdctrl peer-node-id:1 conn-name:tom volume:0 replication:Established peer-disk:UpToDate resync-suspended:no received:5088 sent:56 out-of-sync:0 pending:0 unacked:0
  71. 2017-02-28T08:26:48.917522-08:00 exists peer-device name:.drbdctrl peer-node-id:1 conn-name:tom volume:1 replication:Established peer-disk:UpToDate resync-suspended:no received:5100 sent:104 out-of-sync:0 pending:0 unacked:0
  72. 2017-02-28T08:26:48.917933-08:00 exists resource name:test1 role:Secondary suspended:no write-ordering:none
  73. 2017-02-28T08:26:48.917933-08:00 exists connection name:test1 peer-node-id:0 conn-name:tom connection:Connected role:Secondary congested:no
  74. 2017-02-28T08:26:48.917933-08:00 exists device name:test1 volume:0 minor:147 disk:Diskless size:512000 read:0 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  75. 2017-02-28T08:26:48.917933-08:00 exists peer-device name:test1 peer-node-id:0 conn-name:tom volume:0 replication:Established peer-disk:UpToDate resync-suspended:no received:664 sent:0 out-of-sync:0 pending:0 unacked:0
  76. 2017-02-28T08:26:48.918177-08:00 exists resource name:test0 role:Secondary suspended:no write-ordering:flush
  77. 2017-02-28T08:26:48.918177-08:00 exists connection name:test0 peer-node-id:1 conn-name:tom connection:Connected role:Secondary congested:no
  78. 2017-02-28T08:26:48.918177-08:00 exists device name:test0 volume:0 minor:149 disk:UpToDate size:102400 read:104340 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  79. 2017-02-28T08:26:48.918177-08:00 exists device name:test0 volume:1 minor:151 disk:UpToDate size:102400 read:104340 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  80. 2017-02-28T08:26:48.918177-08:00 exists peer-device name:test0 peer-node-id:1 conn-name:tom volume:0 replication:Established peer-disk:UpToDate resync-suspended:no received:0 sent:103220 out-of-sync:0 pending:0 unacked:0
  81. 2017-02-28T08:26:48.918177-08:00 exists peer-device name:test0 peer-node-id:1 conn-name:tom volume:1 replication:Established peer-disk:UpToDate resync-suspended:no received:0 sent:103220 out-of-sync:0 pending:0 unacked:0
  82. 2017-02-28T08:26:48.918567-08:00 exists resource name:test3 role:Secondary suspended:no write-ordering:flush
  83. 2017-02-28T08:26:48.918567-08:00 exists connection name:test3 peer-node-id:1 conn-name:tom connection:Connected role:Secondary congested:no
  84. 2017-02-28T08:26:48.918567-08:00 exists device name:test3 volume:0 minor:150 disk:UpToDate size:1048576 read:1120 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  85. 2017-02-28T08:26:48.918567-08:00 exists peer-device name:test3 peer-node-id:1 conn-name:tom volume:0 replication:Established peer-disk:UpToDate resync-suspended:no received:0 sent:0 out-of-sync:0 pending:0 unacked:0
  86. 2017-02-28T08:26:48.918715-08:00 exists resource name:test2 role:Secondary suspended:no write-ordering:none
  87. 2017-02-28T08:26:48.918715-08:00 exists connection name:test2 peer-node-id:0 conn-name:tom connection:Connected role:Secondary congested:no
  88. 2017-02-28T08:26:48.918715-08:00 exists device name:test2 volume:0 minor:148 disk:Diskless size:512000 read:0 written:0 al-writes:0 bm-writes:0 upper-pending:0 lower-pending:0 al-suspended:no blocked:no
  89. 2017-02-28T08:26:48.918715-08:00 exists peer-device name:test2 peer-node-id:0 conn-name:tom volume:0 replication:Established peer-disk:UpToDate resync-suspended:no received:664 sent:0 out-of-sync:0 pending:0 unacked:0
  90. 2017-02-28T08:26:48.918864-08:00 exists -
  91.  
  92. --- drbdadm show-gi:
  93. .drbdctrl:
  94.  
  95. +--< Current data generation UUID >-
  96. | +--< Bitmap's base data generation UUID >-
  97. | | +--< younger history UUID >-
  98. | | | +-< older history >-
  99. V V V V
  100. 678236D497A838FF:0000000000000000:B359972C4ABC4222:56F44A21C019E9D8:1:1:1:0:0:0:1:0:0:0:1
  101. ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
  102. -< Data consistency flag >--+ | | | | | | | | | |
  103. -< Data was/is currently up-to-date >--+ | | | | | | | | |
  104. -< Node was/is currently primary >--+ | | | | | | | |
  105. -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
  106. -< The activity-log was applied, the disk can be attached >--+ | | | | | |
  107. -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
  108. -< Node was/is currently connected >--+ | | | |
  109. -< The peer's disk was out-dated or inconsistent >--+ | | |
  110. -< A fence policy other the dont-care was used >--+ | |
  111. -< Node was in the progress of marking all blocks as out of sync >--+ |
  112. -< At least once we saw this node with a backing device attached >--+
  113.  
  114.  
  115. +--< Current data generation UUID >-
  116. | +--< Bitmap's base data generation UUID >-
  117. | | +--< younger history UUID >-
  118. | | | +-< older history >-
  119. V V V V
  120. 086693CFBB25AA67:0000000000000000:4590D8E1741B7172:FB42A2F2FC231950:1:1:1:0:0:0:1:0:0:0:1
  121. ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
  122. -< Data consistency flag >--+ | | | | | | | | | |
  123. -< Data was/is currently up-to-date >--+ | | | | | | | | |
  124. -< Node was/is currently primary >--+ | | | | | | | |
  125. -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
  126. -< The activity-log was applied, the disk can be attached >--+ | | | | | |
  127. -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
  128. -< Node was/is currently connected >--+ | | | |
  129. -< The peer's disk was out-dated or inconsistent >--+ | | |
  130. -< A fence policy other the dont-care was used >--+ | |
  131. -< Node was in the progress of marking all blocks as out of sync >--+ |
  132. -< At least once we saw this node with a backing device attached >--+
  133.  
  134.  
  135. test0:
  136.  
  137. +--< Current data generation UUID >-
  138. | +--< Bitmap's base data generation UUID >-
  139. | | +--< younger history UUID >-
  140. | | | +-< older history >-
  141. V V V V
  142. 05DB003C3EA3D1F0:0000000000000000:00516EDF2A4E93BA:0000000000000000:1:1:0:0:0:0:1:0:0:0:1
  143. ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
  144. -< Data consistency flag >--+ | | | | | | | | | |
  145. -< Data was/is currently up-to-date >--+ | | | | | | | | |
  146. -< Node was/is currently primary >--+ | | | | | | | |
  147. -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
  148. -< The activity-log was applied, the disk can be attached >--+ | | | | | |
  149. -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
  150. -< Node was/is currently connected >--+ | | | |
  151. -< The peer's disk was out-dated or inconsistent >--+ | | |
  152. -< A fence policy other the dont-care was used >--+ | |
  153. -< Node was in the progress of marking all blocks as out of sync >--+ |
  154. -< At least once we saw this node with a backing device attached >--+
  155.  
  156.  
  157. +--< Current data generation UUID >-
  158. | +--< Bitmap's base data generation UUID >-
  159. | | +--< younger history UUID >-
  160. | | | +-< older history >-
  161. V V V V
  162. B4B0EDC068E5D654:0000000000000000:00987FE4CF8D90E5:0000000000000000:1:1:0:0:0:0:1:0:0:0:1
  163. ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
  164. -< Data consistency flag >--+ | | | | | | | | | |
  165. -< Data was/is currently up-to-date >--+ | | | | | | | | |
  166. -< Node was/is currently primary >--+ | | | | | | | |
  167. -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
  168. -< The activity-log was applied, the disk can be attached >--+ | | | | | |
  169. -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
  170. -< Node was/is currently connected >--+ | | | |
  171. -< The peer's disk was out-dated or inconsistent >--+ | | |
  172. -< A fence policy other the dont-care was used >--+ | |
  173. -< Node was in the progress of marking all blocks as out of sync >--+ |
  174. -< At least once we saw this node with a backing device attached >--+
  175.  
  176.  
  177. test1:
  178. The show-gi command requires a local disk, but the configuration gives none.
  179.  
  180. test2:
  181. The show-gi command requires a local disk, but the configuration gives none.
  182.  
  183. test3:
  184.  
  185. +--< Current data generation UUID >-
  186. | +--< Bitmap's base data generation UUID >-
  187. | | +--< younger history UUID >-
  188. | | | +-< older history >-
  189. V V V V
  190. 05CC04938688B8E8:0000000000000000:000C3F55A1BB526A:0000000000000000:1:1:0:0:0:0:1:0:0:0:1
  191. ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
  192. -< Data consistency flag >--+ | | | | | | | | | |
  193. -< Data was/is currently up-to-date >--+ | | | | | | | | |
  194. -< Node was/is currently primary >--+ | | | | | | | |
  195. -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
  196. -< The activity-log was applied, the disk can be attached >--+ | | | | | |
  197. -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
  198. -< Node was/is currently connected >--+ | | | |
  199. -< The peer's disk was out-dated or inconsistent >--+ | | |
  200. -< A fence policy other the dont-care was used >--+ | |
  201. -< Node was in the progress of marking all blocks as out of sync >--+ |
  202. -< At least once we saw this node with a backing device attached >--+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement