Is it possible to compile pve-kernel without the ZFS module?

dude20

New Member
May 3, 2020
2
0
1
19
Hello.
I've been using ProxMox compiled from source for a while now, and wanted to know if it is possible to compile pve-kernel without ZFS on Linux.
That is, completely remove ZoL from the compilation process, and use the native/default file system solution instead.

I'm asking because I've tried to do it manually, by editing the main Makefile as well as debian/rules, but I keep getting errors.
The most recent one being on debian/rules in the debian/scripts stage, on fwcheck.
(fwlist-previous is 1600 lines long, whereas my fwlist is 9 lines long. P.S. Any information regarding this/the firmware check process/find-firmware.pl is widely appreciated).

Thus, my questions are:
1. Is it possible to compile ProxMox without the ZFS module? Can it be done?
2. What are the implications of compiling ProxMox without ZFS support?
3. If it can be done, what changes are needed to compile it correctly?

Thank you very much for your time
 

H4R0

Active Member
Apr 5, 2020
314
49
28
28
Why would you want to do that ?

As zfs comes as kernel module, you can simply blacklist it from loading.
 

dude20

New Member
May 3, 2020
2
0
1
19
I understand that it is possible to blacklist it from loading; I'm looking for something stronger- I want to compile pve-kernel without ZoL at all.
I'm currently using a custom kernel that is incompatible with ZFS, and focused my efforts on trying to remove it in the compilation stage.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!