Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /proc/drbd:
- version: 9.0.6-1 (api:2/proto:86-112)
- GIT-hash: 08cda190c4f544a0c4e15ba792bbf47c69707b42 build by buildsystem@linbit, 2016-12-23 13:29:04
- Transports (api:15): tcp (1.0.0)
- --- drbd-overview:
- 0:.drbdctrl/0 Connected(2*) Primar/Second UpToDa/UpToDa
- 1:.drbdctrl/1 Connected(2*) Primar/Second UpToDa/UpToDa
- 147:test1/0 Connected(2*) Secondary(2*) Diskle/UpToDa
- 148:test2/0 Connected(2*) Secondary(2*) Diskle/UpToDa
- 149:test0/0 Connected(2*) Secondary(2*) UpToDa/UpToDa
- 150:test3/0 Connected(2*) Secondary(2*) UpToDa/UpToDa
- 151:test0/1 Connected(2*) Secondary(2*) UpToDa/UpToDa
- --- drbdsetup status:
- .drbdctrl node-id:0 role:Primary suspended:no
- write-ordering:flush
- 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
- 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
- tom node-id:1 connection:Connected role:Secondary congested:no
- volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
- received:5088 sent:56 out-of-sync:0 pending:0 unacked:0
- volume:1 replication:Established peer-disk:UpToDate resync-suspended:no
- received:5100 sent:104 out-of-sync:0 pending:0 unacked:0
- test0 node-id:0 role:Secondary suspended:no
- write-ordering:flush
- 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
- 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
- tom node-id:1 connection:Connected role:Secondary congested:no
- volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
- received:0 sent:103220 out-of-sync:0 pending:0 unacked:0
- volume:1 replication:Established peer-disk:UpToDate resync-suspended:no
- received:0 sent:103220 out-of-sync:0 pending:0 unacked:0
- test1 node-id:1 role:Secondary suspended:no
- write-ordering:none
- 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
- tom node-id:0 connection:Connected role:Secondary congested:no
- volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
- received:664 sent:0 out-of-sync:0 pending:0 unacked:0
- test2 node-id:1 role:Secondary suspended:no
- write-ordering:none
- 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
- tom node-id:0 connection:Connected role:Secondary congested:no
- volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
- received:664 sent:0 out-of-sync:0 pending:0 unacked:0
- test3 node-id:0 role:Secondary suspended:no
- write-ordering:flush
- 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
- tom node-id:1 connection:Connected role:Secondary congested:no
- volume:0 replication:Established peer-disk:UpToDate resync-suspended:no
- received:0 sent:0 out-of-sync:0 pending:0 unacked:0
- --- drbdsetup events2:
- 2017-02-28T08:26:48.917522-08:00 exists resource name:.drbdctrl role:Primary suspended:no write-ordering:flush
- 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
- 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
- 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
- 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
- 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
- 2017-02-28T08:26:48.917933-08:00 exists resource name:test1 role:Secondary suspended:no write-ordering:none
- 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
- 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
- 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
- 2017-02-28T08:26:48.918177-08:00 exists resource name:test0 role:Secondary suspended:no write-ordering:flush
- 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
- 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
- 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
- 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
- 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
- 2017-02-28T08:26:48.918567-08:00 exists resource name:test3 role:Secondary suspended:no write-ordering:flush
- 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
- 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
- 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
- 2017-02-28T08:26:48.918715-08:00 exists resource name:test2 role:Secondary suspended:no write-ordering:none
- 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
- 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
- 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
- 2017-02-28T08:26:48.918864-08:00 exists -
- --- drbdadm show-gi:
- .drbdctrl:
- +--< Current data generation UUID >-
- | +--< Bitmap's base data generation UUID >-
- | | +--< younger history UUID >-
- | | | +-< older history >-
- V V V V
- 678236D497A838FF:0000000000000000:B359972C4ABC4222:56F44A21C019E9D8:1:1:1:0:0:0:1:0:0:0:1
- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
- -< Data consistency flag >--+ | | | | | | | | | |
- -< Data was/is currently up-to-date >--+ | | | | | | | | |
- -< Node was/is currently primary >--+ | | | | | | | |
- -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
- -< The activity-log was applied, the disk can be attached >--+ | | | | | |
- -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
- -< Node was/is currently connected >--+ | | | |
- -< The peer's disk was out-dated or inconsistent >--+ | | |
- -< A fence policy other the dont-care was used >--+ | |
- -< Node was in the progress of marking all blocks as out of sync >--+ |
- -< At least once we saw this node with a backing device attached >--+
- +--< Current data generation UUID >-
- | +--< Bitmap's base data generation UUID >-
- | | +--< younger history UUID >-
- | | | +-< older history >-
- V V V V
- 086693CFBB25AA67:0000000000000000:4590D8E1741B7172:FB42A2F2FC231950:1:1:1:0:0:0:1:0:0:0:1
- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
- -< Data consistency flag >--+ | | | | | | | | | |
- -< Data was/is currently up-to-date >--+ | | | | | | | | |
- -< Node was/is currently primary >--+ | | | | | | | |
- -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
- -< The activity-log was applied, the disk can be attached >--+ | | | | | |
- -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
- -< Node was/is currently connected >--+ | | | |
- -< The peer's disk was out-dated or inconsistent >--+ | | |
- -< A fence policy other the dont-care was used >--+ | |
- -< Node was in the progress of marking all blocks as out of sync >--+ |
- -< At least once we saw this node with a backing device attached >--+
- test0:
- +--< Current data generation UUID >-
- | +--< Bitmap's base data generation UUID >-
- | | +--< younger history UUID >-
- | | | +-< older history >-
- V V V V
- 05DB003C3EA3D1F0:0000000000000000:00516EDF2A4E93BA:0000000000000000:1:1:0:0:0:0:1:0:0:0:1
- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
- -< Data consistency flag >--+ | | | | | | | | | |
- -< Data was/is currently up-to-date >--+ | | | | | | | | |
- -< Node was/is currently primary >--+ | | | | | | | |
- -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
- -< The activity-log was applied, the disk can be attached >--+ | | | | | |
- -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
- -< Node was/is currently connected >--+ | | | |
- -< The peer's disk was out-dated or inconsistent >--+ | | |
- -< A fence policy other the dont-care was used >--+ | |
- -< Node was in the progress of marking all blocks as out of sync >--+ |
- -< At least once we saw this node with a backing device attached >--+
- +--< Current data generation UUID >-
- | +--< Bitmap's base data generation UUID >-
- | | +--< younger history UUID >-
- | | | +-< older history >-
- V V V V
- B4B0EDC068E5D654:0000000000000000:00987FE4CF8D90E5:0000000000000000:1:1:0:0:0:0:1:0:0:0:1
- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
- -< Data consistency flag >--+ | | | | | | | | | |
- -< Data was/is currently up-to-date >--+ | | | | | | | | |
- -< Node was/is currently primary >--+ | | | | | | | |
- -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
- -< The activity-log was applied, the disk can be attached >--+ | | | | | |
- -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
- -< Node was/is currently connected >--+ | | | |
- -< The peer's disk was out-dated or inconsistent >--+ | | |
- -< A fence policy other the dont-care was used >--+ | |
- -< Node was in the progress of marking all blocks as out of sync >--+ |
- -< At least once we saw this node with a backing device attached >--+
- test1:
- The show-gi command requires a local disk, but the configuration gives none.
- test2:
- The show-gi command requires a local disk, but the configuration gives none.
- test3:
- +--< Current data generation UUID >-
- | +--< Bitmap's base data generation UUID >-
- | | +--< younger history UUID >-
- | | | +-< older history >-
- V V V V
- 05CC04938688B8E8:0000000000000000:000C3F55A1BB526A:0000000000000000:1:1:0:0:0:0:1:0:0:0:1
- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
- -< Data consistency flag >--+ | | | | | | | | | |
- -< Data was/is currently up-to-date >--+ | | | | | | | | |
- -< Node was/is currently primary >--+ | | | | | | | |
- -< This node was a crashed primary, and has not seen its peer since >--+ | | | | | | |
- -< The activity-log was applied, the disk can be attached >--+ | | | | | |
- -< The activity-log was disabled, peer is completely out of sync >--+ | | | | |
- -< Node was/is currently connected >--+ | | | |
- -< The peer's disk was out-dated or inconsistent >--+ | | |
- -< A fence policy other the dont-care was used >--+ | |
- -< Node was in the progress of marking all blocks as out of sync >--+ |
- -< At least once we saw this node with a backing device attached >--+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement