Date: Tue, 3 Jan 2012 16:27:29 +0100 From: Olivier Smedts <olivier@gid0.org> To: Johan Hendriks <joh.hendriks@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS v28 on -STABLE not using hot spare Message-ID: <CABzXLYP_xjJwCHJ_nMsmZq0mqodgGerocSeNY0y3UU_QvzT2TA@mail.gmail.com> In-Reply-To: <4F031BF7.8000900@gmail.com> References: <4F031654.1080200@icritical.com> <4F031BF7.8000900@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2012/1/3 Johan Hendriks <joh.hendriks@gmail.com>: > ZFS on FreeBSD does not have 'HOT' spares. > They are cold, and human intervention is needed to replace a disk in a po= ol. > There are some topics about it on the net. > > I opt for a warning, because a lot of users get a false security sence wh= en > using the spares. > zpool should not accept the spare without a warning to the user that it i= s a > cold spare and not a hot one. > > it looks like there is some work planned for a zfs deamon that should > overcome this problem on FreeBSD > > http://svnweb.freebsd.org/base?view=3Drevision&revision=3D222836 > > On Solaris there is also a deamon running that does the actual replace. > > It should not be to hard to make a script that checks every minute or wha= t > time interval you want and check if a pool is degraded, then check if > autoreplace is set for the pool, if so check if there is a spare, if so d= o > the actual replace. > Unfortunally i can not code :( > Maybe some one has a script lying around. ?? Or maybe some devd.conf lines to handle this automatically ? Cheers --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYP_xjJwCHJ_nMsmZq0mqodgGerocSeNY0y3UU_QvzT2TA>