ezjail setup - base and skeleton on SSD, jails on ZFS
Matthew Pherigo
hybrid120 at gmail.com
Sat Jun 14 15:18:54 UTC 2014
Hi Stephen,
The only way that I can see having that work would be to create dedicated partitions on your SSD for your base and skeleton jails and have them mounted upon boot. But that's really a stretch as far as solutions go. But, what you really want to do is use your SSD to speed up your system; which there's a much better solution for, and it's built into ZFS. It's called an L2ARC.
Basically, what this does is it specifies the entire SSD drive as a read cache for ZFS to use. ZFS will automatically figure out what files on your system are most commonly read, and place copies of those onto the SSD; if your base jails are used as commonly as you imply, they will certainly end up there.
First, run the 'format' command to figure out what drive your SSD is.
Then, run 'zpool add <pool name> cache <drive name>', like 'zpool add tank cache c4t2d0'
Then, when you run 'zpool status', you should see the SSD drive added to the pool, under the category 'Cache'.
Thanks,
--Matt
> On Jun 14, 2014, at 7:25 AM, Stephen Cook <sclists at gmail.com> wrote:
>
> Is it possible to set up ezjail to put the base and skeleton jails on the SSD I use for boot and /, but all the other jails on my ZFS?
>
> Thanks for any insight!
>
>
> -- Stephen
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list