OpenMediaVaultLab
Isometric pink and purple layered platform with a glowing central block linked to floating nodes, suggesting storage volumes and file system structure
storage

OpenMediaVault File System Types: Which to Use in OMV 8

OMV 8 formats six file system types, mounts nine more and gets ZFS via a plugin. Compare resize limits, Btrfs RAID1 setup and ZFS requirements.

By OpenMediaVaultLab Editorial · ·Updated · 6 min read

The OMV 8 documentation lists 16 OpenMediaVault file system types. OMV can format six (ext4, XFS, Btrfs, ext3, JFS, F2FS) and mount nine more (NTFS, exFAT, vfat, msdos, HFS+, UDF, ISO 9660, UFS, umsdos). ZFS needs an omv-extras plugin.

Btrfs has features outside the web UI, and the XFS manual describes limited shrink support. How to combine several disks is a separate decision, covered in planning OMV disks, filesystems and shares.

Which file systems can OpenMediaVault 8 format and mount?

In the web interface, OMV 8 formats btrfs, ext3, ext4, f2fs, jfs and xfs. It mounts all of those plus exfat, hfsplus, iso9660, msdos, ntfs, udf, ufs, umsdos and vfat. ZFS support comes from a third-party plugin, per the OMV 8 filesystems documentation.

The mount options below come from OMV’s filesystem environment variables page.

TypeFormat in web UIMountOMV default mount options
ext4YesYesdefaults, nofail, user_xattr, journaled user/group quota
xfsYesYesdefaults, nofail, usrquota, grpquota
btrfsYes, single device onlyYesdefaults, nofail
f2fsYesYes
ext3YesYesSame as ext4
jfsYesYesdefaults, nofail, usrquota, grpquota
ntfs, vfat, msdos, exfatNoYesdefaults, nofail (ntfs, vfat)
hfsplusNoYesdefaults, nofail, force
iso9660, udfNoYesro
ufs, umsdosNoYes
zfsNo (core)No (core)

Which file system should you pick for a data disk?

For a typical single data disk, choose ext4. You can shrink the filesystem when it is unmounted. The XFS manual describes narrower shrink limits. Btrfs is an option if you want checksums and can manage snapshots outside the web UI. For a multi-disk ZFS pool, check the OMV 8 plugin’s amd64 requirement and kernel guidance below.

ext4 growth and shrink support

OMV’s default ext4 mount options are defaults,nofail,user_xattr plus journaled user and group quotas (usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0).

The resize2fs manual describes how the tool can enlarge or shrink an unmounted ext3 or ext4 filesystem. It can grow a mounted filesystem if both the kernel and filesystem support online resizing. Ext3 also requires the resize_inode feature for online growth. OMV’s Resize button expands a filesystem after you’ve grown its partition or RAID array.

XFS growth and shrink limits

OMV’s default XFS mount options are defaults,nofail,usrquota,grpquota. The xfs_growfs manual requires a mounted filesystem for growth.

The manual describes shrink support for the last allocation group only, and the group must remain in place. A filesystem with a single allocation group cannot shrink.

Btrfs checksums, snapshots and multi-device setup

OMV 8 creates Btrfs filesystems in the web interface. The documentation says, “Creating multi device filesystems is not supported in the web interface.” Devices get added from the CLI.

Per the OMV prerequisites, OMV mounts data disks under /srv/. The Btrfs device manual shows how to convert a mounted single-device volume to two-disk RAID1.

Before running the example, replace /srv/your-btrfs-mount with the actual mounted Btrfs path and /dev/sdX with the verified spare device. Forcing the add can overwrite an existing filesystem. If blkid detects an existing filesystem signature on the spare, the command as shown refuses to add it.

mountpoint='/srv/your-btrfs-mount'
spare='/dev/sdX'

btrfs device add "$spare" "$mountpoint" &&
  btrfs balance start -mconvert=raid1 "$mountpoint" &&
  btrfs balance start -dconvert=raid1 "$mountpoint"

Balance needs free workspace. In the manual’s two-disk example, usable mirrored data capacity is capped at the size of the smaller disk.

The OMV web UI exposes neither snapshots nor subvolumes. The OMV 8 Filesystems page lists advanced configuration as an option for mounting additional subvolumes.

For the upstream Linux kernel version it evaluates, the Btrfs feature status page rates RAID1, RAID10, single and DUP as OK for stability. It rates RAID5/6 as unstable, suitable only for testing because of known severe problems. Scrub, send/receive and compression are rated OK for stability. Quota groups are rated “mostly OK”. Using quota groups with many snapshots can slow down balance.

OMV’s default Btrfs mount options are defaults,nofail. The upstream Btrfs manual documents several compression algorithms and settings for individual files.

ZFS: the plugin route, amd64 only

The OMV 8 ZFS plugin from omv-extras requires amd64. The omv-extras ZFS guide strongly recommends installing the Kernel plugin and the Proxmox kernel first, since that kernel ships prebuilt ZFS modules. It warns that a Debian backports kernel can lose those modules across upgrades, “causing pools to become inaccessible.” The omv-extras plugin guide explains the install order.

The OpenZFS FAQ lists aarch64 among the architectures for which OpenZFS is regularly compiled. The omv-extras guide says 4 to 8 GB is sufficient for a home NAS workload and that the ARC read cache releases RAM when other processes need it. It describes ECC as desirable and optional. See also the OMV hardware requirements guide.

Redundancy lives within each data vdev. If a single-disk data vdev fails, the pool is lost. A mirror can’t become RAIDZ, and RAIDZ1 can’t become RAIDZ2. For RAIDZ expansion, the pool must have feature@raidz_expansion active before you add disks. Expansion is slow and proceeds one disk at a time. See also FreeNAS vs OpenMediaVault.

F2FS, JFS and ext3

The kernel F2FS documentation describes it as a log-structured filesystem designed for NAND flash storage, such as SD cards and SSDs. OMV also supports formatting JFS and ext3.

What about NTFS, exFAT and other mount-only types?

The OMV 8 web interface supports mounting existing NTFS, exFAT, vfat, msdos and HFS+ volumes.

OMV’s default HFS+ mount options include force. The kernel HFS+ documentation warns that this option forces write access to journaled or locked volumes. OMV mounts ISO 9660 and UDF read-only by default.

How do you change mount options without OMV overwriting them?

Set an OMV_FSTAB_MNTOPS_* environment variable, then redeploy. OMV writes its /etc/fstab entries from its config database. When you mount a new disk through the web UI, omv-salt deploy run fstab restores the saved options inside the openmediavault block. The Custom Configuration page documents omv-env, which stores values in /etc/default/openmediavault.

The block below adds noatime to the full set of OMV ext4 defaults, using the flag shown in Debian’s ext4 mount example. Run the commands as root.

omv-env set -- OMV_FSTAB_MNTOPS_EXT4 "defaults,nofail,noatime,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0"
monit restart omv-engined
omv-salt stage run prepare
omv-salt stage run deploy

Only new mounts inherit the variable. For an existing mount, edit the entry’s <opts> line in /etc/openmediavault/config.xml. Run omv-salt deploy run fstab, then reboot and check /proc/mounts.

The OMV 8 Filesystems page explains that mounting through the shell alone leaves the volume unregistered in OMV. Mount it through the web interface to make it available during shared folder setup. OMV enables Delete only when the filesystem is unmounted. Delete runs wipefs -a, stripping filesystem, RAID and partition-table signatures. Unmount is disabled while shared folders still refer to the volume.

FAQ

What file system should I use for OpenMediaVault on a Raspberry Pi?

For a Raspberry Pi running OpenMediaVault, choose ext4 for the data disk. OMV can format it in the web interface. The OMV 8 omv-extras ZFS plugin requires amd64. If you choose Btrfs, snapshots and multi-device setup are handled outside the OMV web UI.

Evidence and limits. This guide is based on the openmediavault 8.x documentation, the omv-extras OMV 8 plugin guide, upstream Btrfs and OpenZFS references, Linux kernel documentation and Linux manual pages. The OMV releases page lists OMV 8 as Synchrony on Debian 13. No hands-on testing was performed for this guide.

Sources

  1. openmediavault 8 documentation: Filesystems
  2. openmediavault 8 documentation: Filesystem environment variables
  3. openmediavault 8 documentation: Custom Configuration (omv-env)
  4. openmediavault documentation: Prerequisites
  5. openmediavault documentation: Releases
  6. OMV-Extras wiki: ZFS plugin for OMV 8
  7. OpenZFS FAQ: Supported Architectures
  8. Btrfs documentation: Status of features
  9. Btrfs documentation: btrfs-device(8)
  10. Btrfs documentation: How to enable compression
  11. Linux kernel documentation: F2FS
  12. Linux kernel documentation: HFS+
  13. xfs_growfs(8) manual page
  14. resize2fs(8) manual page
  15. Debian 13 manual: systemd-fstab-generator(8)

Related