k
Size: a a a
k
ВН
# drbdadm create-md testimg1
open(/dev/ssd_a/testimg1_00000) failed: Device or resource busy
Exclusive open failed. Do it anyways?
[need to type 'yes' to confirm] yes
# Output might be stale, since minor 1002 is attached
Device '1002' is configured!
Command 'drbdmeta 1002 v09 /dev/ssd_a/testimg1_00000 internal create-md 1' terminated with exit code 20
ВН
k
drbdad down testimg1
drbdadm create-md testimg1
drbdad up testimg1
ВН
# drbdadm create-md testimg1
You want me to create a v09 style flexible-size internal meta data block.
There appears to be a v09 flexible-size internal meta data block
already in place on /dev/ssd_a/testimg1_00000 at byte offset 42962251776
Do you really want to overwrite the existing meta-data?
[need to type 'yes' to confirm] yes
md_offset 42962251776
al_offset 42962219008
bm_offset 42960904192
Found some data
==> This might destroy existing data! <==
Do you want to proceed?
[need to type 'yes' to confirm] yes
initializing activity log
initializing bitmap (1284 KB) to all zero
Writing meta data...
New drbd meta data block successfully created.
k
drbdadm primary --force testimg1
drbdadm secondary testimg1
ВН
k
# drbdadm create-md testimg1
You want me to create a v09 style flexible-size internal meta data block.
There appears to be a v09 flexible-size internal meta data block
already in place on /dev/ssd_a/testimg1_00000 at byte offset 42962251776
Do you really want to overwrite the existing meta-data?
[need to type 'yes' to confirm] yes
md_offset 42962251776
al_offset 42962219008
bm_offset 42960904192
Found some data
==> This might destroy existing data! <==
Do you want to proceed?
[need to type 'yes' to confirm] yes
initializing activity log
initializing bitmap (1284 KB) to all zero
Writing meta data...
New drbd meta data block successfully created.
k
ВН
| testimg1 | pes01 | 7002 | Unused | Ok | Inconsistent | 2020-11-02 01:38:10 |
| testimg1 | pes02 | 7002 | Unused | Ok | Inconsistent | 2020-11-02 01:38:10 |
| testimg1 | pes03 | 7002 | Unused | Ok | Diskless | 2020-11-02 01:38:10 |
ВН
k
| testimg1 | pes01 | 7002 | Unused | Ok | Inconsistent | 2020-11-02 01:38:10 |
| testimg1 | pes02 | 7002 | Unused | Ok | Inconsistent | 2020-11-02 01:38:10 |
| testimg1 | pes03 | 7002 | Unused | Ok | Diskless | 2020-11-02 01:38:10 |
ВН
k
drbdadm primary --force testimg1
drbdadm secondary testimg1
ВН
k
ВН
k
k