daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Nov 19th, 2010 157 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. resource r2 {
  2.   device /dev/drbd2;
  3.   disk   /dev/ram0;
  4.   meta-disk internal;
  5.   on wcluster1 {
  6.     address 192.168.0.1:7791;
  7.   }
  8.   on wcluster2 {
  9.     address 192.168.0.2:7791;
  10.   }
  11. }
  12.  
  13. strace -o drbdmeta.trace drbdmeta 2 v08 /dev/ram0 internal create-md:
  14.  
  15. execve("/sbin/drbdmeta", ["drbdmeta", "2", "v08", "/dev/ram0", "internal", "create-md"], [/* 17 vars */]) = 0
  16. brk(0)                                  = 0x9117000
  17. access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
  18. mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7835000
  19. access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  20. open("/etc/ld.so.cache", O_RDONLY)      = 3
  21. fstat64(3, {st_mode=S_IFREG|0644, st_size=16309, ...}) = 0
  22. mmap2(NULL, 16309, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7831000
  23. close(3)                                = 0
  24. access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
  25. open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
  26. read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000m\1\0004\0\0\0"..., 512) = 512
  27. fstat64(3, {st_mode=S_IFREG|0755, st_size=1405508, ...}) = 0
  28. mmap2(NULL, 1415592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x1e2000
  29. mprotect(0x335000, 4096, PROT_NONE)     = 0
  30. mmap2(0x336000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0x336000
  31. mmap2(0x339000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x339000
  32. close(3)                                = 0
  33. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7830000
  34. set_thread_area({entry_number:-1 -> 6, base_addr:0xb78308d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
  35. mprotect(0x336000, 8192, PROT_READ)     = 0
  36. mprotect(0x8059000, 4096, PROT_READ)    = 0
  37. mprotect(0xdc5000, 4096, PROT_READ)     = 0
  38. munmap(0xb7831000, 16309)               = 0
  39. brk(0)                                  = 0x9117000
  40. brk(0x9138000)                          = 0x9138000
  41. mmap2(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb780e000
  42. open("/var/lock/drbd-147-2", O_RDWR|O_CREAT, 0600) = 3
  43. rt_sigaction(SIGALRM, {0x80520e0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
  44. alarm(1)                                = 0
  45. fcntl64(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
  46. alarm(0)                                = 1
  47. rt_sigaction(SIGALRM, {SIG_DFL, [], 0}, NULL, 8) = 0
  48. open("/proc/drbd", O_RDONLY|O_LARGEFILE) = 4
  49. fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
  50. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7834000
  51. read(4, "version: 8.3.8 (api:88/proto:86-"..., 1024) = 517
  52. read(4, "", 1024)                       = 0
  53. close(4)                                = 0
  54. munmap(0xb7834000, 4096)                = 0
  55. open("/dev/ram0", O_RDWR|O_SYNC|O_DIRECT|O_LARGEFILE) = 4
  56. fstat64(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(1, 0), ...}) = 0
  57. ioctl(4, BLKSSZGET, 0xbf827b1c)         = 0
  58. ioctl(4, BLKGETSIZE64, 0xbf827a50)      = 0
  59. pread64(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 536866816) = 4096
  60. open("/var/lib/drbd/drbd-minor-2.lkbd", O_RDONLY) = -1 ENOENT (No such file or directory)
  61. pread64(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 69632, 0) = 69632
  62. pread64(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 402653184) = 4096
  63. pread64(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096, 536866816) = 4096
  64. fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
  65. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7834000
  66. write(1, "Writing meta data...\n", 21)  = 21
  67. write(1, "initializing activity log\n", 26) = 26
  68. pwrite64(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768, 536834048) = -1 EIO (Input/output error)
  69. write(2, "pwrite(4,...,32768,536834048) in"..., 84) = 84
  70. exit_group(10)                          = ?
RAW Paste Data
Top