[DRBD-user] 8.0.5: drbdmeta failed but did something?

Leroy van Logchem leroy.vanlogchem at wldelft.nl
Tue Aug 28 17:05:38 CEST 2007


> Details:
Additional info:

[root] #drbdmeta /dev/drbd0 v08 /dev/sdb1 0 show-gi

       +--<  Current data generation UUID  >-
       |               +--<  Bitmap's base data generation UUID  >-
       |               |                 +--<  younger history UUID  >-
       |               |                 |         +-<  older history  >-
       V               V                 V         V
2B0369060852235C:0000000000000004:0000000000000000:0000000000000000:1:1:0:0:0:0
                                                                    ^ ^ 
^ ^ ^ ^
                                      -<  Data consistancy flag  >--+ | 
| | | |
                             -<  Data was/is currently up-to-date  >--+ 
| | | |
                                  -<  Node was/is currently primary  
 >--+ | | |
                                  -<  Node was/is currently connected  
 >--+ | |
         -<  Node was in the progress of setting all bits in the bitmap  
 >--+ |
                        -<  The peer's disk was out-dated or 
inconsistent  >--+

last agreed size: 497 GB
130321664 bits set in the bitmap [ 497 GB out of sync ]
ioctl(,BLKFLSBUF,) failed: Bad address


I can use the resource normally, but the drbdtools give errors..

Has the ioctl BLKGETSIZE64 issues? Strace output of show-gi:

17:02:57.440874 open("/dev/sdb1", O_RDWR) = 4
17:02:57.440958 fstat(4, {st_mode=S_IFBLK|0640, st_rdev=makedev(8, 17), 
...}) = 0
17:02:57.441052 ioctl(4, BLKFLSBUF, 0)  = 0
17:02:57.441135 ioctl(4, BLKGETSIZE64, 0x7fff05074828) = 0
17:02:57.441222 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) 
= 0x2aaaaaaac000
17:02:57.441624 ioctl(4, BLKGETSIZE64, 0x7fff05074828) = 0
17:02:57.441789 mmap(NULL, 32768, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 
0x1000) = 0x2aaaaaaad000
17:02:57.441934 ioctl(4, BLKGETSIZE64, 0x7fff05074828) = 0
17:02:57.442087 mmap(NULL, 134180864, PROT_READ|PROT_WRITE, MAP_SHARED, 
4, 0x9000) = 0x2aaaaaabd000
17:02:57.504556 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), 
...}) = 0
17:02:57.504810 mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaab2ab4000
17:02:57.504981 write(1, "2B0369060852235C:000000000000000"..., 
802B0369060852235C:0000000000000004:0000000000000000:0000000000000000:1:1:0:0:0:0
) = 80
17:02:57.505118 munmap(0x2aaaaaabd000, 134180864) = 0
17:02:57.506510 munmap(0x2aaaaaaad000, 32768) = 0
17:02:57.506644 munmap(0x2aaaaaaac000, 4096) = 0
17:02:57.506801 fsync(4)                = 0
17:02:57.506939 ioctl(4, BLKFLSBUF, 0x1000) = -1 EFAULT (Bad address)
17:02:57.507128 write(2, "ioctl(,BLKFLSBUF,) failed: Bad a"..., 
39ioctl(,BLKFLSBUF,) failed: Bad address
) = 39
17:02:57.507258 close(4)                = 0
17:02:57.511058 exit_group(1)           = ?
Process 3668 detached


-- 
Leroy



More information about the drbd-user mailing list