Filesystem for VM, Proxmox hdd sleep

Goals:

  • NAS, about 10 TB big, safe, preferably RAID Z1, spinning down HDDs, rarely used
  • smaller sink for videos from 1 ip camera - not important, some SSD for lower power consumption
  • place for 2-4 VMs (development, some local AI, fun)

Questions:

  1. I’ve made zpool from 3 HDDS - firstpool, then a dataset using

zfs create firstpool/nas

and mounted it as second hdd into OMV machine. Now it’s time to create File System in OMV and it asks me about type of it. There is BTRFS, EXT3, EXT4, F2FS, JFS and XFS to choose from. Does it matter? Is it not a wrong way, if I want to profit from deduplication in zfs pool?

  1. The HDDs are constantly spinning, even as I do nothing on system.
    I stopped all VMs, and added global filter in /etc/lvm/lvm.conf

global_filter=[“r|/dev/zd.|","r|/dev/rbd.|”, “r|/dev/sda*|”, “r|/dev/sdb*|”, “r|/dev/sdc*|”]

but they won’t stop spinning. How to stop them?

Software:
Proxmox 8.2.2 on bare metal
Open Media Vault 7.2.1-1 Sandworm in VM

Hardware:
HDD 8 TB (x3)
some SSD or two
NVMe 1 TB in pcie adapter (waiting for it’s shipment)
NVMe 2 TB on board
Ryzen 3700x, x370 mb
RAM: two pairs of 2 x 8GB sticks (3200 MT/s with ‘overclocking’ - AMP). Currently just 1 pair in (16GB)

I use hdparm to configure hdd sleep, with ZFS.

You’d better put vm stuff on SSD. VMs are pretty active on disk, and hdd might not get chance to spin down.

2 Likes

Thanks!
hdparm works like charm (with -S option)
VMs are on NVMe.

I’ve asked one nosoul and it means the drive should benefit from deduplication.
No clarity on best filesystem, but I hope any will do.
Thanks again for showing hdparm to me.
:vulcan_salute: