How can I know if my proxmox system boots from ZFS

alex.tls

Member
Oct 17, 2020
35
0
11
40
Hi,

I want to hard code the RAM usage for ZFS, I read below document, then I got a question, how can I know if my proxmox system boots from ZFS?


Create the file /etc/modprobe.d/zfs.conf, and add the following lines.
Replace the numerical values with your calculations above.

options zfs zfs_arc_min=4294967296
options zfs zfs_arc_max=8589934592

If your system boots from ZFS, this file will not be available until after ZFS is started since it’s stored on a ZFS volume, so you will need to update the initial RAM file system to pick up the changes before the root ZFS volume is mounted.

update-initramfs -u
If you are on an EFI system, you will also need to update the kernel list in the EFI boot menu so the updated initial RAM file system is used.

pve-efiboot-tool refresh
After rebooting the system, use the command arcstat to make sure the changes have been applied, the value of the last column (c) should be the maximum ARC size you’ve set in /etc/modprobe.d/zfs.conf (expressed in GiB).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!