NetBSD-Users archive

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

Re: Beating a dead horse

    Date:        Thu, 26 Nov 2015 01:41:00 +0700
    From:        Robert Elz <kre%munnari.OZ.AU@localhost>
    Message-ID:  <>

  | 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
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.


Home | Main Index | Thread Index | Old Index