ZFS Cache & Log Device Failure Handling

Olivier Smedts olivier at gid0.org
Fri Sep 3 12:18:52 UTC 2010


2010/9/3 Alexander Leidinger <Alexander at leidinger.net>:
> Quoting "Jason J. W. Williams" <jasonjwwilliams at gmail.com> (from Thu, 2 Sep
> 2010 13:30:51 -0600):
>
>> How well does ZFS on FreeBSD handle a dying/wedged log and/or cache
>> device? OpenSolaris handles this pretty well in my experience and will
>> fail through relatively quickly. But this tends to rely on FMA. Thank
>> you in advance.
>
> No problem for the cache device. I have an USB memory stick as a cache
> device, and if I just remove it during operation, the system handles the
> situation. If you connect it again, you need to remove/readd it via zfs
> commands.

I've got the same setup and just have to "online" the usb key after boot.

As for the zil/log device, I think it should be supported in the
upcoming ZFS v28 patch (maybe you can give it a try, see pjd's mail)
because zil removal was introduced in a zpool version after v14/15
(what's in 8-STABLE and 9-CURRENT).

>
> I do not use a log device.
>
> Bye,
> Alexander.
>
> --
> Govern a great nation as you would cook a small fish.  Don't overdo it.
>                -- Lao Tsu
>
> http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
> http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier at gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."


More information about the freebsd-current mailing list