العربية

Proxmox Storage Explained: ZFS, LVM-thin and a Directory on ext4

Last updated: December 2, 2026

Proxmox VE storage list showing local, local-lvm and a ZFS pool with disk usage.

A guest is only as safe as the disk under it, and the storage type decides what that disk can do.

Proxmox VE does not have one storage system. It has a list of storage entries, each pointing at a different technology, and every virtual disk sits on one of them. On a fresh install you get two entries and never think about them again, until a disk fills up or a VM will not start. This guide covers the three choices that matter on a home lab box: ZFS, LVM-thin, and a plain directory on ext4. The facts come from the Proxmox VE documentation.

This is part 3 of our Proxmox home lab series. If Proxmox is not installed yet, start with how to install Proxmox VE. If you have not set up backups, part 2 on Proxmox backups explains where those files should go, which is a storage question too.

The Storage Model in One Screen

⚡ Quick Answer: A default install creates local, a directory on /var/lib/vz for ISOs, templates and backups, plus either local-lvm (LVM-thin) or local-zfs (ZFS) for virtual disks. Keep that split. Put guest disks on the thin pool, keep ISOs and backups on the directory, and add a second physical disk before you run out of space rather than after.

Three facts explain most of what you will see:

  • All storage configuration lives in one file, /etc/pve/storage.cfg. Every entry has an ID, a type, and a list of content types it is allowed to hold.
  • The content types are images (virtual disks), rootdir (container root file systems), iso, vztmpl (container templates), backup and snippets.
  • A VM cannot start while one of its disks is on a storage that does not allow VM disks. Moving the disk to another storage fixes it.
⚠️ Warning: Thin provisioning means the space you hand out is not the space you use. A 200 GB virtual disk takes only what the guest writes, so you can create more disks than the pool can hold. When the pool fills, every guest on it stops writing. Watch free space on the pool, not the size of the disks you created.

ZFS, LVM-thin and ext4 Side by Side

ZFS (local-zfs)LVM-thin (local-lvm)Directory on ext4
Levelfile and blockblockfile
Snapshotsyesyesyes, with qcow2
Checksums and repairyesnono
Memory costhighlowlow
Thin provisioningyesyesqcow2 only
Holds ISOs and backupsyesnoyes
Best forone or two disks, integrity mattersspeed on modest hardwareISOs, backups, a USB or NAS drive

ZFS: Checksums, Snapshots and a Memory Bill

ZFS is the most capable option in the list. It checksums every block, so it can detect silent corruption, and with a mirror or RAIDZ it can repair it. It also gives you compression, cheap snapshots, clones and replication to another machine. Proxmox stores VM disks as zvol datasets, which behave like block devices, and container file systems as datasets, so one pool can hold both.

The cost is memory. ZFS uses RAM as a cache (the ARC), and Proxmox's system requirements page has a section on ZFS memory sizing for a reason. On a box with 8 GB of RAM you will feel it. On 32 GB you will not.

A single-disk ZFS pool gives you checksums and snapshots but no redundancy: if that disk dies, the data is gone. For redundancy you need a mirror of two disks or a RAIDZ set of three or more. If you set up a pool by hand, use ashift=12 for modern 4K drives.

LVM-thin: Fast, Thin, No Checksums

LVM-thin is what most LVM-based installs create by default as local-lvm. It is a thin pool on top of LVM volume groups, so snapshots are cheap and disks are allocated on write. It is fast, it costs almost no RAM, and it is well understood by every Debian tool.

What it does not do: no checksums, no compression, no repair. It is block storage, so you cannot put ISOs or backups on it. And it has the same full-pool risk as any thin storage, with less warning: when an LVM-thin pool hits 100 percent, the guests on it can freeze rather than simply fail to write. Check the pool with lvs or pvesm status and keep an eye on data usage.

❤️

Support Our Content

Your donation helps us keep going

A Directory on ext4: The Simple One

A directory storage points at a mounted file system, such as /var/lib/vz or /mnt/data. It is a normal Linux directory, so anything can live in it: ISOs, container templates, backups, and VM disks as qcow2 files. It is the easiest storage to understand, the easiest to back up with ordinary tools, and the right place for a USB drive or an NFS mount from a NAS.

The trade-off is performance and snapshots. qcow2 snapshots work, but per the Proxmox documentation, internal qcow2 snapshots block a running VM while they are created, and on network storage that operation can take minutes on large disks. For a lab it is fine. For a busy VM, put its disk on ZFS or LVM-thin.

Where Each Thing Should Live

A workable layout for a home lab with one system disk and one data disk:

  1. local (directory on the system disk): ISOs, container templates, snippets. Small and replaceable.
  2. A pool on the data disk, ZFS or LVM-thin: every VM disk and container root file system.
  3. Backups: the directory storage, an external drive, or a NAS. Never on the same pool as the guests.

Add a Second Disk to the Pool

The commands below create a ZFS pool on an empty disk and register it as Proxmox storage. This erases everything on that disk, so check the device name first.

Terminal
lsblk
zpool create -f -o ashift=12 tank /dev/sdb
pvesm add zfspool tank-zfs --pool tank --content images,rootdir
pvesm status

The same thing from the web interface: Datacenter, Storage, Add, ZFS, pick the pool. To move an existing disk onto the new storage, open the VM, Hardware, select the disk, Move Storage. On the command line it is qm move-disk <vmid> <disk> <storage> --delete 1, where the last flag removes the old copy once the move succeeds.

Next in the Series

  1. How to install Proxmox VE
  2. Proxmox backups: vzdump, schedules and Proxmox Backup Server
  3. Proxmox storage: ZFS, LVM-thin and ext4 (this guide)
  4. Proxmox networking: bridges, VLANs and static IPs
  5. GPU and USB passthrough basics
  6. Updates, repositories and snapshots

Frequently Asked Questions

❓ Should I use ZFS or LVM-thin on a home lab?

ZFS if you have the RAM and want checksums, compression and easy replication. LVM-thin if memory is tight or the hardware is modest. Both give you snapshots.

❓ Can I store ISOs and backups on local-lvm?

No. LVM-thin is block storage and only holds VM disks and container volumes. ISOs and backups need a directory, NFS or CIFS storage.

❓ What happens when a thin pool fills up?

Guests on it stop writing, and an LVM-thin pool that reaches 100 percent can freeze them. Keep free space on the pool and monitor it with pvesm status.

❓ Can I add a disk to an existing Proxmox install?

Yes. Create a pool or file system on the new disk, add it as storage, then move VM disks onto it with Move Storage or qm move-disk.

📬
Home Lab and Proxmox Guides

Get Home Lab Guides That Actually Work

Practical Proxmox, Docker and self-hosting guides based on official documentation and delivered to your inbox from Valley4Techs.

🔒 100% free. No spam, ever. Unsubscribe with one click anytime.

Sources

Add Valley4Techs as a Preferred Source

Follow us on Google News for the latest updates

Add Now
Comments