2014-10-06 22:59 GMT+02:00 NeilBrown <neilb@xxxxxxx>: > On Mon, 6 Oct 2014 15:29:13 +0200 Patrik Horník <patrik@xxxxxx> wrote: > >> Hello, >> >> is it possible to cancel RAID 6 array check? echo check > >> /sys/block/mdX/md/sync_action apparently only pauses it and next check >> continuing from saved position. (I guess /sys/block/mdX/md/sync_min) >> >> I want to achieve two things: >> >> - Start check from the start of the array. >> >> - Be sure I can shutdown array without any ill effect because check >> was interrupted. >> >> I guess that position will be cleared when array is stopped and >> started again, but I dont want to guess and experiment... :) > > Why ever not? Guessing and experimenting is AWESOME. We call it "Science". > I can understand that you might not want to experiment we real data, but > creating a few loop-back devices with "losetup", forming them into an array, > and experimenting on that can be very worthwhile. Yeah, I fully agree. I love guessing and experimenting. In this case I will be guessing if you write it as it should be written and we will then test it on your production data :) Do we have a deal? Regarding loopback devices, I of course sometimes test it. If I am in some potential trouble I usually go further and testing it on cow dm snapshots over drives, because you never know if it will work on devices in your state exactly same as on just created small loopback devices. But maybe I cannot think about all the factors and the most effective way to know is to ask. Patrik > > NeilBrown > > >> >> Thanks. >> >> Best regards, >> >> Patrik >> -- >> 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 > -- 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