On Thu, Apr 09, 2009 at 12:24:05PM +1200, Steven Ellis wrote: > Given I have a pair of 1TB drives Raid1 I'd prefer to reduce any recovery > sync time. Would an internal bitmap help dramatically, and are there any > other benefits. > If one of your drives goes pear shaped and needs to be replaced, then no, a write intent bitmap will not help you. When you replace the drive, the incomming drive will need to do a full resync. Many times a read/write error causes the drive to be failed. In this case, the bad block that caused the read/write error should get re-mapped by the HD firmware. If you have a write intent bitmap enabled, the re-add only resyncs the out-of-sync pages (not sure if page is the correct terminology). There is some overhead when using a write intent bitmap as the bitmap needs to be updated as data is written to the device. For most people, the overhead is not noticeable. If you really need performance, the bitmap can be moved to another disk(s) that is not a member of the RAID1 array in question. I've used write intent bitmaps many times in a SAN environment in which FC initiators mirror 2 block devices. Both block devices come from different FC targets. This makes maintiance much easier since all we have to do is break the RAID1 mirror on the initiator (we also have good uptime :). A write intent bitmap speeds the re-syncing process up since we only resync the out-of-sync data. Bryan
Attachment:
pgphN25Xx7c1p.pgp
Description: PGP signature