From: Christian F. <Chr...@t-...> - 2012-03-06 16:53:29
|
Christian Franke wrote: > Christian Franke wrote: >> Alex Samorukov wrote: >>> Hi Artem, >>> >>> Initially it was done because i found that SAT can easily degrade >>> raid and in the worst case - destroy the array. Later i identified >>> "unsafe" commands and blocked them in the code (for Linux and >>> FreeBSD) and now on all my arrays (about ~30 i guess) "smatctl -x >>> /dev/sda" do not cause any problems. So its _probably_ safe to >>> remove this. It would be great to see feedback from other >>> users/developers before final decision. >>> >> >> I would suggest to add a new -d option (e.g. -d megaraid,N,auto) to >> enable SAT auto-detection on demand: > > Proposed patch attached. Please test if possible. I'm working on a controller independent solution which may obsolete this patch. Will be committed soon. Christian |