raid1 + bitmaps, but the bitmap isn't being used?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having some trouble with a raid1 I've been testing with.
I'm using an internal bitmap and 2 devices. One of the devices gets
removed and (via --incremental) re-added to the array with some
frequency. Until today, this has worked perfectly.

Today, I rebooted the server (the machine with the device that is
normally *non-transient*), and when it came back up, md started a
recovery on the entire array.

At various percentiles of the recovery, I've --fail ed, --remove d,
and --re-add ed (with and without --incremental), and every time md
starts completely over. Why does it appear to me as though md is
ignoring the bitmap?

This appears related to my earlier posting where the bitmap appears to
be unused *during* rebuild (recovery) or initial sync, and
--examine-bitmap disagrees with /proc/mdstat about the state of
things.

I'm using openSUSE 11.0's kernel for x86_64, 2.6.25.18-0.2-default,
and mdadm 2.6.4.
This is what --examine-bitmap looks like for both devices:


turnip:/sys/block/md10/md # mdadm --examine-bitmap /dev/nbd0
        Filename : /dev/nbd0
           Magic : 6d746962
         Version : 4
            UUID : 542a0986:dd465da6:b224af07:ed28e4e5
          Events : 11646
  Events Cleared : 11646
           State : OK
       Chunksize : 256 KB
          Daemon : 5s flush period
      Write Mode : Normal
       Sync Size : 78123968 (74.50 GiB 80.00 GB)
          Bitmap : 305172 bits (chunks), 0 dirty (0.0%)
turnip:/sys/block/md10/md # mdadm --examine-bitmap /dev/sda
        Filename : /dev/sda
           Magic : 6d746962
         Version : 4
            UUID : 542a0986:dd465da6:b224af07:ed28e4e5
          Events : 11770
  Events Cleared : 0
           State : OK
       Chunksize : 256 KB
          Daemon : 5s flush period
      Write Mode : Normal
       Sync Size : 78123968 (74.50 GiB 80.00 GB)
          Bitmap : 305172 bits (chunks), 0 dirty (0.0%)
turnip:/sys/block/md10/md #


-- 
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux