Since 2016 · 50,000+ customers · ★ 5.0 on Google Live chatWhatsAppTelegramOpen a ticket
Get started
VPS and Hosting

How to Use RAID 0 in Proxmox (ZFS Striping Across NVMe Disks)

Use RAID 0 in Proxmox with ZFS guide by 99RDP

Striping two or more NVMe disks into a RAID 0 pool gives Proxmox VE one large, very fast storage pool for virtual machines. The trade-off is serious: RAID 0 has no redundancy, so if any one disk fails, every VM on the pool is lost. This guide shows when RAID 0 makes sense, how to create a ZFS RAID 0 pool during installation or afterwards, and how to add it as VM storage.

Quick answer(two empty disks, on an existing Proxmox host):

zpool create -o ashift=12 fastpool /dev/disk/by-id/nvme-DISK1 /dev/disk/by-id/nvme-DISK2
pvesm add zfspool fastpool-vm --pool fastpool --content images,rootdir
Diagram of a ZFS RAID 0 (striped) pool on Proxmox: data split across two disks, no redundancy
ZFS striped pool

When RAID 0 is (and isn't) a good idea

  • Good for: scratch space, build servers, test labs, caches and VMs you can rebuild quickly from templates or backups.
  • Not for: anything you can't afford to lose, unless it's backed up frequently to separate storage.
  • Safer alternatives: a ZFS mirror (RAID 1) or RAID 10 (striped mirrors) keeps most of the speed and survives a disk failure, at the cost of half the capacity.
Diagram of RAID 0 striping data blocks across two disks: double speed and space, but one failure loses everything
How striping works

Option 1: RAID 0 during Proxmox installation

If you're installing Proxmox VE on the disks you want to stripe:

  1. In the installer's Target Harddisk step, click Options.
  2. Set Filesystem to zfs (RAID0).
  3. Select the disks to include and leave the others as -- do not use --.
  4. Under Advanced Options, keep ashift at 12 (correct for 4K-sector NVMe and SSD drives).

The installer creates the rpool pool across all selected disks and installs Proxmox on it.

Option 2: Add a RAID 0 pool to an existing Proxmox host

Step 1: Identify the disks

lsblk -o NAME,SIZE,MODEL,SERIAL
ls -l /dev/disk/by-id/ | grep nvme

Use the stable /dev/disk/by-id/... names, not /dev/nvme0n1, because device numbering can change between boots. Make sure the disks are empty: creating the pool erases them.

Step 2: Create the striped pool

In the web interface: Datacenter → your node → Disks → ZFS → Create: ZFS, select the disks, set RAID Level to RAID0, keep ashift at 12, and tick Add Storage. Or from the shell:

zpool create -o ashift=12 fastpool \
  /dev/disk/by-id/nvme-SAMSUNG_MZQL21T9HCJR_S64GNE0R000001 \
  /dev/disk/by-id/nvme-SAMSUNG_MZQL21T9HCJR_S64GNE0R000002
zfs set compression=lz4 fastpool
zpool status fastpool

Listing disks with no mirror or raidz keyword creates a stripe.

Step 3: Add it as Proxmox storage

pvesm add zfspool fastpool-vm --pool fastpool --content images,rootdir
pvesm status

The new storage now appears when you create VMs and containers, or when you move existing disks (VM → Hardware → Disk → Disk Action → Move Storage).

Protect your data on RAID 0

  • Schedule backups in Datacenter → Backup to separate storage, ideally a Proxmox Backup Server or another machine.
  • Watch disk health: smartctl -a /dev/nvme0 and zpool status. Proxmox can email you about ZFS events.
  • Run a monthly scrub (zpool scrub fastpool) to detect silent corruption early. On RAID 0, ZFS can detect but not repair it.
Backup plan for a Proxmox RAID 0 pool: Proxmox Backup Server or vzdump to another disk, plus an off-site copy
Protecting a RAID 0 pool

Frequently asked questions

Is ZFS RAID 0 faster than a single NVMe drive?

Usually, for large sequential transfers and many parallel VMs, because ZFS spreads data across the disks. Single-threaded random I/O gains less.

Can I add a mirror to RAID 0 later?

Yes. With zpool attach you can turn each single disk in the stripe into a mirror by adding a new disk of at least the same size, which turns RAID 0 into RAID 10.

Should I use mdadm RAID 0 instead of ZFS?

Proxmox doesn't officially support mdadm software RAID. ZFS is built in, managed from the web interface, and adds checksums and snapshots.

What happens if one disk fails in RAID 0?

The whole pool fails and its data is lost. Restore the VMs from backup onto new disks.

Shailabh Suman, CTO at 99RDP
Written byShailabh SumanCTO, 99RDP. Part of the team that runs our servers and answers support.
Keep reading

More VPS and Hosting guides

All VPS and Hosting guides

Need a server for this?

✓ Setup in minutes✓ Full admin access✓ 7-day refund on new services