On Tue, 21 Aug 2007, Luca Berra wrote: > >> False. md uses bitmaps to avoid this. > > > >Ok, I just tested this with Centos-5.0, kernel-2.6.18-8.1.8.el5. > >I shutdown with md1 50% resynced, and when it boots, it starts over > >at the beginning. Maybe we are talking about different things, but > >it is a major annoyance that it restarts the sync from the beginning > >if it misses just one update (e.g. unexpected power failure or reboot). > > > did you add the bitmap to your md array? I installed Centos5 from the CDs on raid1 devices. I do see a bitmap option in the map page for mdadm. How do I check whether Centos5 install neglected to activate it? Is there any way to add it after the install? (LVM is on md1 and root,swap are on LVM.) If not, what would be the install procedure to actually use a bitmap? Note: special restrictions on the boot partition are acceptable. Special restrictions on the root partition/LV are not. # mdadm --examine /dev/hde3 /dev/hde3: Magic : a92b4efc Version : 00.90.00 UUID : 14c44605:1e3381da:9833dc4f:b4bdc3c0 Creation Time : Mon Aug 20 15:13:47 2007 Raid Level : raid1 Device Size : 78059712 (74.44 GiB 79.93 GB) Array Size : 78059712 (74.44 GiB 79.93 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Update Time : Tue Aug 21 10:06:36 2007 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : bb50a9f9 - correct Events : 0.8 Number Major Minor RaidDevice State this 0 33 3 0 active sync /dev/hde3 0 0 33 3 0 active sync /dev/hde3 1 1 34 3 1 active sync /dev/hdg3 -- Stuart D. Gathman <stuart@bmsi.com> Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 "Confutatis maledictis, flammis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial. _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/