rc.d script for memory based zfs intent log

Matthew Ahrens mahrens at delphix.com
Thu Jan 17 04:21:44 UTC 2013


Pardon my inexperience with FreeBSD, but is this ramdisk persistent
across reboots?  POST doesn't overwrite it?

--matt

On Wed, Jan 16, 2013 at 7:11 PM, Marcelo Araujo <araujobsdport at gmail.com> wrote:
> 2013/1/9 John <jwd at freebsd.org>
>
>> http://people.freebsd.org/~jwd/memzil.txt
>
>
> Hello John,
>
> In my point of view this script seems be very useful, and I probably will
> use it in my product.
>
> As an example, I faced out few problems on system reboot/shutdown, I use
> Ramdisk as ZIL, when normal reboot/shutdown the ramdisk will disappear,
> because right now there is nothing to detach the ramdisk safely. I do
> believe with this script I can attache a new ZIL in every boot and detach
> it safely when perform a reboot/shutdown.
>
> I use some tricks with my ZIL, it is mirrored using RAM and the RAM has its
> own battery to protect the data, my main problem is what I described above.
> I don't think sync=disable is a good option, regards you can loose data.
>
> Nice script!
>
> Thanks!
> --
> Marcelo Araujo
> araujo at FreeBSD.org
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"


More information about the freebsd-fs mailing list