<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>FreeBSD on Patryk&#39;s blog</title>
    <link>https://prezu.ca/tags/freebsd/</link>
    <description>Recent content in FreeBSD on Patryk&#39;s blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 28 Mar 2024 18:18:47 -0700</lastBuildDate>
    <atom:link href="https://prezu.ca/tags/freebsd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Sanoid on TrueNAS</title>
      <link>https://prezu.ca/post/sanoid_on_truenas/</link>
      <pubDate>Thu, 28 Mar 2024 18:18:47 -0700</pubDate>
      <guid>https://prezu.ca/post/sanoid_on_truenas/</guid>
      <description>&lt;h1 id=&#34;syncoid-to-truenas&#34;&gt;syncoid to TrueNAS&lt;/h1&gt;&#xA;&lt;p&gt;In my homelab, I have 2 NAS systems:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Linux (Debian)&lt;/li&gt;&#xA;&lt;li&gt;TrueNAS Core (based on FreeBSD)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;On my Linux box, I use Jim Salter&amp;rsquo;s &lt;a href=&#34;https://github.com/jimsalterjrs/sanoid&#34;&gt;sanoid&lt;/a&gt; to periodically take&#xA;snapshots of my ZFS pool. I also want to have a proper backup of the whole&#xA;pool, so I use &lt;a href=&#34;https://github.com/jimsalterjrs/sanoid?tab=readme-ov-file#syncoid&#34;&gt;syncoid&lt;/a&gt; to transfer those snapshots to&#xA;another machine. &lt;code&gt;Sanoid&lt;/code&gt; itself is responsible only&#xA;for taking new snapshots and pruning old ones you no longer care about. For&#xA;example, you might set up a policy in &lt;code&gt;sanoid&lt;/code&gt; to take a day&amp;rsquo;s worth of hourly&#xA;snapshots and a year&amp;rsquo;s worth of monthly snapshots. That means, that &lt;code&gt;sanoid&lt;/code&gt;&#xA;will take a snapshot every hour, but &amp;ndash; if executed with &lt;code&gt;--prune-snapshots&lt;/code&gt;&#xA;will delete all the hourlies (hourly snapshots in &lt;code&gt;sanoid&lt;/code&gt;&amp;rsquo;s lingo) that are&#xA;older than a day, monthlies that are older than a year and so on.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Debian on TrueNAS Core under bhyve</title>
      <link>https://prezu.ca/post/2021-07-28-debian-on-truenas/</link>
      <pubDate>Wed, 28 Jul 2021 15:45:59 -0700</pubDate>
      <guid>https://prezu.ca/post/2021-07-28-debian-on-truenas/</guid>
      <description>&lt;h1 id=&#34;installing-debiangnu-linux-under-bhyve-on-truenas-core&#34;&gt;Installing Debian/GNU Linux under bhyve on TrueNAS Core&lt;/h1&gt;&#xA;&lt;p&gt;I got myself a &lt;a href=&#34;https://www.truenas.com/truenas-mini/&#34;&gt;TrueNAS Mini X+&lt;/a&gt; couple of months ago. I have it running&#xA;TrueNAS Core based on FreeBSD. In that system you can run VMs under FreeBSD&amp;rsquo;s native hypervisor,&#xA;&lt;a href=&#34;https://bhyve.org/&#34;&gt;bhyve&lt;/a&gt;. Since there are a couple of quirks around running Debian specifically, I decided to&#xA;write up a quick article about setting up Debian-based VM there.&lt;/p&gt;&#xA;&lt;h1 id=&#34;the-quirks&#34;&gt;The quirks&lt;/h1&gt;&#xA;&lt;p&gt;The ones I&amp;rsquo;ve stumbled upon were:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
