Date: Thu, 26 Nov 2015 01:41:00 +0700 From: Robert Elz <k...@munnari.oz.au> Message-ID: <23815.1448476...@andromeda.noi.kre.to>
| so I'd just add | | raidctl -a /dev/wd5f raid2 | | in /etc/rc.local Actually, a better way short term, is probably to put your config file for raid2 in /etc/raid2.conf disable autoconfig for raid2 (for /home, it is not really required ... but don't do this if there's any possibility that the wdN numbers might change - that is, if you might add new drives or rearrange the cabling in any way). For now anyway, don't include raidN.conf files in /etc for any raidN's that are autoconfigured. To disable autoconfig raidctl -A no raid2 And make sure you have raidframe=yes in /etc/rc.conf Then /etc/rc.d/raidframe will config raid2 for you at each boot, and that way if configuring does handle spares, so if /etc/raid2.conf says that wd5f should be a spare, it will be. Still, do any of this only after you have finished using wd5f for any other testing you want to do. kre