Re: split RAID1 during backups?

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

 



Jeff Breidenbach wrote:

However you will endure a rebuild on md0 when you re-add the disk, but
given everything is mounted read-only, you should not practically be
doing anything


If the rebuild operation is a no-op, then that sounds like a great
idea. If the rebuild operation requires scanning over all data in both
drives, I think that's going to be at least as expensive as the
current 10 hour process.

You seem to be using a pretty bleeding edge kernel (2.6.12). If you were to upgrade to 2.6.13, the md bitmap (intent logging) functionality that is present in that kernel will allow the resync to be a no-op. Basically, the bitmap tracks writes to the md array, and then when resync occurs, only syncs blocks that have been written. Since the array would be readonly while you're doing backups, there would be nothing to resync.

See the list archives for more details on md bitmap.

--
Paul
-
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