Advertisement
Guest User

Untitled

a guest
Sep 8th, 2011
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. [root@test07 ~]# drbdadm -- --force create-md r0
  2. md_offset 1024454656
  3. al_offset 1024421888
  4. bm_offset 1024389120
  5.  
  6. Found some data
  7.  
  8. ==> This might destroy existing data! <==
  9.  
  10. Do you want to proceed?
  11. *** confirmation forced via --force option ***
  12. You want me to create a v08 style flexible-size internal meta data block.
  13. There appears to be a v08 flexible-size internal meta data block
  14. already in place on /dev/sda3 at byte offset 1024454656
  15. Do you really want to overwrite the existing v08 meta-data?
  16. *** confirmation forced via --force option ***
  17. Writing meta data...
  18. initializing activity log
  19. NOT initializing bitmap
  20. New drbd meta data block successfully created.
  21. [root@test07 ~]# modprobe drbd
  22. [root@test07 ~]# drbdadm up r0
  23. r0: Failure: (126) UnknownMandatoryTag
  24. additional info from kernel:
  25. required attribute missing
  26. Command 'drbdsetup connect r0 ipv4:192.168.98.107:7789 ipv4:192.168.98.108:7789' terminated with exit code 10
  27. [root@test07 ~]# cat /proc/drbd
  28. version: 8.4.0 (api:1/proto:86-100)
  29. GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by build@buildvm-84c91997-2ba9-4d88-98e1-9e12780a0946, 2011-09-08 13:48:13
  30.  
  31. 1: cs:StandAlone ro:Secondary/Unknown ds:Inconsistent/DUnknown r----s
  32. ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:1000380
  33. [root@test07 ~]#
  34.  
  35.  
  36. resource r0 {
  37. device /dev/drbd1;
  38. disk /dev/sda3;
  39. meta-disk internal;
  40. on test07.sm.scalecomputing.com {
  41. address 192.168.98.107:7789;
  42. }
  43. on test08.sm.scalecomputing.com {
  44. address 192.168.98.108:7789;
  45. }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement