Chris's Wiki :: blog/solaris/ZFSForSwapMyViews Commentshttps://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSForSwapMyViews?atomcommentsDWiki2022-11-29T13:51:45ZRecent comments in Chris's Wiki :: blog/solaris/ZFSForSwapMyViews.By scineram on /blog/solaris/ZFSForSwapMyViewstag:CSpace:blog/solaris/ZFSForSwapMyViews:6e157cc702db56785c28ad55bbb84836d7dd91a8scineram<div class="wikitext"><p>There is the multi_vdev_crash_dump feature that IllumOS can use to dump to a zvol. The same could be hooked up on other platform to use for dumps or swap with some direct io.</p>
</div>2022-11-29T13:51:45ZBy Jason on /blog/solaris/ZFSForSwapMyViewstag:CSpace:blog/solaris/ZFSForSwapMyViews:cfe1182b9f9299f042364a6216808fd8d71db246Jason<div class="wikitext"><p>There's already a problem if the system has to start writing to the swap. You'd rather simply run out of memory and crash than have the system extremely bog down if using the swap? I don't really see why a swap on ZFS would be less reliable - just slower.</p>
<p>Personally I keep a swap file on a Btrfs drive. And yes I know Btrfs is not ideal for swap file storage either, but I'm just using my logic above. I don't expect the swap file to often be used, I can easily resize it if needed, and it's encrypted along with the rest of the drive.</p>
</div>2022-11-14T15:35:47ZBy David Magda on /blog/solaris/ZFSForSwapMyViewstag:CSpace:blog/solaris/ZFSForSwapMyViews:1810cc3c2c2079e24f378870c91b6be598ff7b98David Magdahttp://www.magda.ca/<div class="wikitext"><p>Similar situation on FreeBSD:</p>
<blockquote><p><em>Note: While a ZFS Swap Volume can be used instead of the freebsd-swap partition, it is not recommended, and crash dumps can't be saved to the ZFS Swap Volume.</em></p>
</blockquote>
<ul><li><a href="https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot">https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot</a><p>
</li>
<li><a href="https://wiki.freebsd.org/RootOnZFS#ZFS_Swap_Volume">https://wiki.freebsd.org/RootOnZFS#ZFS_Swap_Volume</a></li>
</ul>
</div>2022-11-14T03:31:46Z