Proxmox ZFS Storage Setup#
What Was Established#
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).
Key Decisions#
- RAID Levels: Selection depends on the number of disks and redundancy requirements:
- Stripe (RAID 0): Maximum capacity, no redundancy.
- Mirror (RAID 1): Redundancy, 50% capacity loss.
- RAID-Z1/Z2: Requires 3+ disks for parity-based redundancy.
- Compression:
lz4is the recommended compression algorithm for performance. - Ashift: Set to
12for modern SSDs/NVMe to ensure proper block alignment. - Thin Provisioning: Enabled for storage pools to allow for flexible disk allocation.
Current Configuration#
1. Initialize ZFS Pools (Web GUI)#
Navigate to: Datacenter → Node → Disks → ZFS
- Click Create ZFS.
- Name: Define pool name (e.g.,
tank). - Devices: Select the target disks.
- RAID Level: Select based on redundancy needs (Mirror, Stripe, etc.).
- Compression: Set to
lz4. - Ashift: Set to
12(for SSDs).
2. Add Pool to Proxmox Storage#
To make the pool usable for VM/LXC disks:
Navigate to: Datacenter → Storage → Add → ZFS
- ID: Name the storage entry.
- ZFS Pool: Select the created pool (e.g.,
tank). - Content: Select
Disk imageandContainer. - Thin Provisioning: Check this box.
Historical Notes#
This documentation covers the 2-drive ZFS configuration established in March 2025.
Open Questions#
None.
Related Pages#
Proxmox ZFS Storage & Installation Patterns, Proxmox NVMe Partition Management
Sources#
Remind me of the steps we took t · ingested/chats/remind_me_of_the_steps_we_took_t