rc.d script for memory based zfs intent log

Marcelo Araujo araujobsdport at gmail.com
Thu Jan 17 04:33:00 UTC 2013


2013/1/17 Matthew Ahrens <mahrens at delphix.com>

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


Hello Matthew,

No, it is not persistent, it will create a new RAMDISK at boot time.
But like in my case, I have a persistent ZIL that is mirrored, with small
changes on this script you can have a persistent ZIL.

But in my case, I have a special stuff, I have the ZIL at RAMDISK mirrored
and two different RAM and protected by battery, when I make a shutdown it
dump all information from RAMDISK to a SSD, and when I boot, it does
the opposite, create the RAMDISK and dump from SSD to RAMDISK and I just
attach it once again to the pool.

Best Regards,
-- 
Marcelo Araujo
araujo at FreeBSD.org


More information about the freebsd-fs mailing list