<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Zfs on homelab</title>
    <link>https://homelab.nbkelley.com/tags/zfs/</link>
    <description>Recent content in Zfs on homelab</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://homelab.nbkelley.com/tags/zfs/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Proxmox Storage Management</title>
      <link>https://homelab.nbkelley.com/docs/infrastructure/proxmox-storage/</link>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/infrastructure/proxmox-storage/</guid>
      <description>&lt;h1 id=&#34;proxmox-storage-management&#34;&gt;Proxmox Storage Management&lt;a class=&#34;anchor&#34; href=&#34;#proxmox-storage-management&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;historical-true&#34;&gt;title: Proxmox Storage Management&#xA;version: 1.2&#xA;date: 2026-04-30&#xA;namespace: general&#xA;wiki: homelab&#xA;tags: [proxmox, storage, smb, cifs, zfs, backups]&#xA;changes: Crystallized from historical DeepSeek conversation&#xA;historical: true&lt;a class=&#34;anchor&#34; href=&#34;#historical-true&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h1 id=&#34;proxmox-storage-management-1&#34;&gt;Proxmox Storage Management&lt;a class=&#34;anchor&#34; href=&#34;#proxmox-storage-management-1&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SMB/CIFS shares can be integrated into Proxmox via CLI or the Web GUI.&lt;/li&gt;&#xA;&lt;li&gt;GUI integration is recommended for Proxmox-native features (backups, ISOs, templates) and automatic retention management.&lt;/li&gt;&#xA;&lt;li&gt;Local disk inspection (e.g., &lt;code&gt;sda2&lt;/code&gt;) requires verifying mount status and filesystem type to avoid conflicts with active root partitions.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;cli-mounting-persistent&#34;&gt;CLI Mounting (Persistent)&lt;a class=&#34;anchor&#34; href=&#34;#cli-mounting-persistent&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install utilities: &lt;code&gt;apt update &amp;amp;&amp;amp; apt install cifs-utils&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create credentials file: &lt;code&gt;/etc/smb-credentials&lt;/code&gt; with &lt;code&gt;chmod 600&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Add to &lt;code&gt;/etc/fstab&lt;/code&gt;:&#xA;&lt;code&gt;//server/share /mnt/smb-share cifs credentials=/etc/smb-credentials,uid=0,gid=0,file_mode=0660,dir_mode=0770,iocharset=utf8 0 0&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Test mount: &lt;code&gt;mount -a&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;gui-mounting-proxmox-native&#34;&gt;GUI Mounting (Proxmox Native)&lt;a class=&#34;anchor&#34; href=&#34;#gui-mounting-proxmox-native&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Navigate to &lt;strong&gt;Datacenter&lt;/strong&gt; → &lt;strong&gt;Storage&lt;/strong&gt; → &lt;strong&gt;Add&lt;/strong&gt; → &lt;strong&gt;SMB/CIFS&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Required Fields&lt;/strong&gt;: ID, Server, Share, Username, Password.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Content Types&lt;/strong&gt; (select based on use case):&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ISO images&lt;/li&gt;&#xA;&lt;li&gt;Container templates&lt;/li&gt;&#xA;&lt;li&gt;VZDump backup files&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Advanced Options&lt;/strong&gt;: Max Backups, Prune Backups, SMB Version (e.g., &lt;code&gt;3.0&lt;/code&gt;), Domain.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Verification&lt;/strong&gt;: Green checkmark in Storage list indicates active status. Use &amp;ldquo;Test Connection&amp;rdquo; if available.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;local-disk-inspection&#34;&gt;Local Disk Inspection&lt;a class=&#34;anchor&#34; href=&#34;#local-disk-inspection&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Check status: &lt;code&gt;lsblk&lt;/code&gt;, &lt;code&gt;blkid /dev/sda2&lt;/code&gt;, &lt;code&gt;mount | grep sda2&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Mount temporarily: &lt;code&gt;mount /dev/sda2 /mnt/sda2&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Inspect: &lt;code&gt;ls -la /mnt/sda2&lt;/code&gt;, &lt;code&gt;df -h&lt;/code&gt;, &lt;code&gt;du -sh /mnt/sda2/*&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Note&lt;/strong&gt;: &lt;code&gt;sda2&lt;/code&gt; is typically the root partition on Proxmox hosts; avoid modifying if already mounted at &lt;code&gt;/&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;open-questions&#34;&gt;Open Questions&lt;a class=&#34;anchor&#34; href=&#34;#open-questions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Specific purpose of &lt;code&gt;sda2&lt;/code&gt; on Isengard (192.168.1.69)? (Likely root, but verify with &lt;code&gt;lsblk&lt;/code&gt;/&lt;code&gt;blkid&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;li&gt;SMB share usage for LonelyMountain (192.168.1.137) backups vs ISOs? (GUI method preferred for VZDump retention).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;related-pages&#34;&gt;Related Pages&lt;a class=&#34;anchor&#34; href=&#34;#related-pages&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/infrastructure/proxmox-systemd-mounts/&#34;&gt;Proxmox Systemd Mounts&lt;/a&gt; — systemd mount units for NAS shares&#xA;&lt;a href=&#34;https://homelab.nbkelley.com/docs/infrastructure/proxmox-lxc-mounts/&#34;&gt;Proxmox LXC Storage Mounts&lt;/a&gt; — LXC bind mounts and permission mapping&#xA;&lt;a href=&#34;https://homelab.nbkelley.com/docs/infrastructure/proxmox-zfs/&#34;&gt;Proxmox ZFS Storage &amp;amp; Installation Patterns&lt;/a&gt;&#xA;&lt;a href=&#34;https://homelab.nbkelley.com/docs/infrastructure/proxmox-nvme-partitioning/&#34;&gt;Proxmox NVMe Partition Management&lt;/a&gt;&#xA;&lt;a href=&#34;https://homelab.nbkelley.com/docs/machines/vair%C3%AB/&#34;&gt;TrueNAS (Vairë) - Storage &amp;amp; Backup Server&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>TrueNAS (Vairë) - Storage &amp; Backup Server</title>
      <link>https://homelab.nbkelley.com/docs/machines/vair%C3%AB/</link>
      <pubDate>Mon, 27 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/machines/vair%C3%AB/</guid>
      <description>&lt;h1 id=&#34;truenas-vairë---storage--backup-server&#34;&gt;TrueNAS (Vairë) - Storage &amp;amp; Backup Server&lt;a class=&#34;anchor&#34; href=&#34;#truenas-vair%c3%ab---storage--backup-server&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;TrueNAS (Vairë) is deployed as a Proxmox VM to serve as the primary storage and backup server for the homelab. It handles ZFS storage pools, NFS/SMB shares for Proxmox and other VMs, and hosts Collabora Office in an iocage jail.&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;VM Type&lt;/strong&gt;: Q35 with UEFI firmware (recommended for ZFS stability).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Resources&lt;/strong&gt;: 16 GiB RAM (fixed, no ballooning) and 2 vCPUs. 32 GB boot disk separate from storage.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Storage&lt;/strong&gt;: 4TB HDD passed through directly to the VM for ZFS data integrity and performance.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Backup Integration&lt;/strong&gt;: NFS share (&lt;code&gt;/mnt/tank/backups&lt;/code&gt;) configured for Proxmox backups. SMB share available for manual access.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Collabora Office&lt;/strong&gt;: Deployed in a dedicated iocage jail on port 9980.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Hostname&lt;/strong&gt;: Vairë&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;IP Address&lt;/strong&gt;: 192.168.1.100 (NFS) / 192.168.1.133 (SMB)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Proxmox VM ID&lt;/strong&gt;: [Pending verification]&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;ZFS Pool&lt;/strong&gt;: &lt;code&gt;tank&lt;/code&gt; (4TB HDD passthrough)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;NFS Share&lt;/strong&gt;: &lt;code&gt;/mnt/tank/backups&lt;/code&gt; (Network: 192.168.1.0/24, Maproot: root)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;SMB Share&lt;/strong&gt;: &lt;code&gt;/mnt/tank/backups&lt;/code&gt; (Version 3.0)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Collabora Jail&lt;/strong&gt;: iocage jail, port 9980&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;historical-notes&#34;&gt;Historical Notes&lt;a class=&#34;anchor&#34; href=&#34;#historical-notes&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The conversation notes two different IPs for TrueNAS (192.168.1.100 and 192.168.1.133). Verify which IP is currently assigned to the TrueNAS VM.&lt;/li&gt;&#xA;&lt;li&gt;TrueNAS CORE uses iocage jails. Ensure jail templates are up to date.&lt;/li&gt;&#xA;&lt;li&gt;Proxmox backups to NFS require &lt;code&gt;hard,intr,noatime&lt;/code&gt; mount options in &lt;code&gt;/etc/fstab&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;open-questions&#34;&gt;Open Questions&lt;a class=&#34;anchor&#34; href=&#34;#open-questions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Which IP address is currently active for Vairë (192.168.1.100 or 192.168.1.133)?&lt;/li&gt;&#xA;&lt;li&gt;Is the 4TB HDD currently formatted as a ZFS pool on Vairë?&lt;/li&gt;&#xA;&lt;li&gt;Has Collabora Office been integrated with a Nextcloud instance?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;related-pages&#34;&gt;Related Pages&lt;a class=&#34;anchor&#34; href=&#34;#related-pages&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/infrastructure/proxmox-zfs/&#34;&gt;Proxmox ZFS Storage &amp;amp; Installation Patterns&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/infrastructure/proxmox-zfs-setup/&#34;&gt;Proxmox ZFS Storage Setup&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://homelab.nbkelley.com/docs/infrastructure/network/&#34;&gt;Network Infrastructure &amp;amp; VLANs&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;sources&#34;&gt;Sources&lt;a class=&#34;anchor&#34; href=&#34;#sources&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;ingested/chats/032-TrueNas - Vairë.md&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Historical DeepSeek conversation on TrueNAS VM setup and Proxmox integration.&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Proxmox ZFS Storage Setup</title>
      <link>https://homelab.nbkelley.com/docs/infrastructure/proxmox-zfs-setup/</link>
      <pubDate>Wed, 26 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/infrastructure/proxmox-zfs-setup/</guid>
      <description>&lt;h1 id=&#34;proxmox-zfs-storage-setup&#34;&gt;Proxmox ZFS Storage Setup&lt;a class=&#34;anchor&#34; href=&#34;#proxmox-zfs-storage-setup&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Procedures for initializing ZFS pools using multiple drives via the Proxmox Web GUI and configuring them as usable storage for Virtual Machines (VMs) and Linux Containers (LXC).&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;RAID Levels&lt;/strong&gt;: Selection depends on the number of disks and redundancy requirements:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Stripe (RAID 0)&lt;/strong&gt;: Maximum capacity, no redundancy.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Mirror (RAID 1)&lt;/strong&gt;: Redundancy, 50% capacity loss.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;RAID-Z1/Z2&lt;/strong&gt;: Requires 3+ disks for parity-based redundancy.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Compression&lt;/strong&gt;: &lt;code&gt;lz4&lt;/code&gt; is the recommended compression algorithm for performance.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Ashift&lt;/strong&gt;: Set to &lt;code&gt;12&lt;/code&gt; for modern SSDs/NVMe to ensure proper block alignment.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Thin Provisioning&lt;/strong&gt;: Enabled for storage pools to allow for flexible disk allocation.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;1-initialize-zfs-pools-web-gui&#34;&gt;1. Initialize ZFS Pools (Web GUI)&lt;a class=&#34;anchor&#34; href=&#34;#1-initialize-zfs-pools-web-gui&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;Navigate to: &lt;code&gt;Datacenter&lt;/code&gt; → &lt;code&gt;Node&lt;/code&gt; → &lt;code&gt;Disks&lt;/code&gt; → &lt;code&gt;ZFS&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Proxmox ZFS Storage &amp; Installation Patterns</title>
      <link>https://homelab.nbkelley.com/docs/infrastructure/proxmox-zfs/</link>
      <pubDate>Sun, 23 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/infrastructure/proxmox-zfs/</guid>
      <description>&lt;h1 id=&#34;proxmox-zfs-storage--installation-patterns&#34;&gt;Proxmox ZFS Storage &amp;amp; Installation Patterns&lt;a class=&#34;anchor&#34; href=&#34;#proxmox-zfs-storage--installation-patterns&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Procedures for managing ZFS &lt;code&gt;rpool&lt;/code&gt; on single-disk Proxmox installations, including methods for limiting pool size and troubleshooting import failures.&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Single Disk Size Limitation&lt;/strong&gt;: When installing Proxmox on a large disk but wanting to limit the ZFS pool to a specific size (e.g., 64GB) to leave room for other partitions, use the &lt;code&gt;hdsize&lt;/code&gt; parameter in the Proxmox installer&amp;rsquo;s &lt;strong&gt;Advanced Options&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Custom Partitioning Method&lt;/strong&gt;: For complex layouts, it is possible to manually partition a drive in Debian and then upgrade the system to Proxmox VE.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;zfs-pool-creation-manual&#34;&gt;ZFS Pool Creation (Manual)&lt;a class=&#34;anchor&#34; href=&#34;#zfs-pool-creation-manual&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;To create a ZFS pool with specific optimizations (ashift=12, compression=lz4) and a size limit:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
