Skip to content

Instantly share code, notes, and snippets.

@drnic
Created February 22, 2014 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drnic/9162205 to your computer and use it in GitHub Desktop.
Save drnic/9162205 to your computer and use it in GitHub Desktop.
root@drbd-0:~# drbdadm create-md r0
md_offset 5242875904
al_offset 5242843136
bm_offset 5242679296
Found some data
==> This might destroy existing data! <==
Do you want to proceed?
[need to type 'yes' to confirm] yes
You want me to create a v08 style flexible-size internal meta data block.
There appears to be a v08 flexible-size internal meta data block
already in place on /dev/sdb at byte offset 5242875904
Do you really want to overwrite the existing v08 meta-data?
[need to type 'yes' to confirm] yes
Writing meta data...
initializing activity log
NOT initializing bitmap
New drbd meta data block successfully created.
root@drbd-0:~# drbdadm attach r0
1: Failure: (127) Device minor not allocated
additional info from kernel:
unknown minor
Command 'drbdsetup attach 1 /dev/sdb /dev/sdb internal' terminated with exit code 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment