Technical

Combine Available Disks to One Big Storage: ZFS, LVM, or Mergerfs?

Combine Available Disks to One Big Storage: ZFS, LVM, or Mergerfs?

Combining available disks to one big storage in Proxmox means choosing between ZFS, LVM, and mergerfs. Each fits a different homelab goal, and the wrong pick will annoy you later. Here’s how to decide and the commands to make it happen.

Contrasting data storage technologies: NVMe SSD, HDD, and CD.

First, figure out what you actually need

Do you want redundancy, easy expansion, or maximum capacity? That single answer points you at the right pooling method.

  • Redundancy — a disk can die and you lose nothing. That’s ZFS with mirror or RAIDZ.
  • Easy expansion — add disks later without rebuilding. LVM or mergerfs handle this better.
  • Maximum capacity — use every byte across mixed-size disks. Mergerfs is the king here.

If you’re not sure, write down which of those three matters most. Don’t overthink it.

ZFS: when you can’t afford to lose data

ZFS gives you checksums, snapshots, and real redundancy. The cost is that expansion is awkward — you add vdevs, not single disks. For a mirror pool:

zpool create -f tank mirror /dev/sdb /dev/sdc

Then add it as storage in Proxmox: Datacenter → Storage → Add → ZFS. Select your pool. Done.

If you have four disks and want one disk’s worth of parity, use RAIDZ1:

zpool create -f tank raidz /dev/sdb /dev/sdc /dev/sdd /dev/sde

ZFS is the safe choice, but it wants same-size disks and a plan for expansion. For a homelab, a mirror of two big disks is often the sweet spot.

Detailed view of Ethernet and VGA ports on a server highlighting connectivity features.

LVM: when you want to grow the pool later

LVM lets you add any disk to a volume group and extend logical volumes on the fly. No redundancy, but dead simple expansion. Create a physical volume and volume group:

pvcreate /dev/sdb /dev/sdc
vgcreate bigstorage /dev/sdb /dev/sdc

Then create a thin pool if you want snapshots (Proxmox likes thin provisioning):

lvcreate -L 1T -T bigstorage/thinpool

In Proxmox, add it as LVM-Thin storage. When you buy a new disk, vgextend bigstorage /dev/sdd and you’re growing. No rebuild, no downtime.

Mergerfs: when you just want one giant folder

Mergerfs isn’t a real filesystem — it pools existing filesystems into one mount point. It’s perfect for mixed-size disks and media hoarding, because you lose only the files on the dead disk, not the whole array. Install it:

apt install mergerfs

Mount your disks individually (say, /mnt/disk1 and /mnt/disk2), then pool them:

mergerfs -o defaults,allow_other,use_ino,category.create=mfs /mnt/disk* /mnt/pool

Add an fstab entry to make it survive reboots. Then point Proxmox at /mnt/pool as a directory storage. It won’t give you redundancy or snapshots, but it squeezes every byte out of whatever disks you have lying around.

Which one do I pick?

If you can afford two identical disks, go ZFS mirror. It’s the least regret. If you’re on a budget and want to add disks one at a time, LVM thin is fine. If you have a pile of random drives and just want space, mergerfs.

And for the love of backups, none of these replace a backup. A pool is not a backup. PBS restores can be slow but they save your butt.

Leave a comment

Comments are reviewed before they appear. Your email is never published.