tech-kern archive

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

Re: Raidframe and disk strategy



Brian Buhrow wrote:

> #Set the queuing strategy for raid sets currently configured (BB 8/8/2012)
> raidlist="`ls /etc/raid*.conf |sed 's+/etc/++' |sed 's+\.conf++'`"
> for curraid in $raidlist; do
>       dkctl /dev/r$curraid"d" strategy priocscan
> done

Minor nit-pick - can I suggest the using the list of currently
configured raid sets from the hw.disknames sysctl as done in
/etc/rc.d/raidframeparity ? You can then use the same code for
autoconfigured raid sets where there is no /etc/raid*.conf .

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index