I've encountered challenges with ZFS in OMV7, specifically with formatting disks using the web interface and recognition of ZFS partitions. It fails using the webgui however I can formatby cli along with a dataset creation but I'm unable to get it to be recognized by omv. They are labeled 'missing' under file systems. The issue is present with a fresh install of OMV7 and also with an upgrade from OMV6 to 7. It works fine in OMV6 but upon upgrade any ZFS filesystems show up as missing. When I click anything related to adding/creating a toast RPC 500 message appears.
It appears to be an issue with php according to the system logs.
2023-12-23T03:58:33-0500 omv-engined[178797]: PHP Fatal error: Uncaught ValueError: bccomp(): Argument #1 ($num1) is not well-formed in /usr/share/php/openmediavault/functions.inc:709
2023-12-23T03:58:33-0500 omv-engined[178797]: Stack trace:
2023-12-23T03:58:33-0500 omv-engined[178797]: #0 /usr/share/php/openmediavault/functions.inc(709): bccomp()
2023-12-23T03:58:33-0500 omv-engined[178797]: #1 /usr/share/php/openmediavault/system/filesystem/filesystemzfs.inc(358): binary_format()
2023-12-23T03:58:33-0500 omv-engined[178797]: #2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(112): OMV\System\Filesystem\FilesystemZfs->getDescription()
2023-12-23T03:58:33-0500 omv-engined[178797]: #3 [internal function]: Engined\Rpc\ShareMgmt->getCandidates()
2023-12-23T03:58:33-0500 omv-engined[178797]: #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
2023-12-23T03:58:33-0500 omv-engined[178797]: #5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
2023-12-23T03:58:33-0500 omv-engined[178797]: #6 /usr/sbin/omv-engined(535): OMV\Rpc\Rpc::call()
2023-12-23T03:58:33-0500 omv-engined[178797]: #7 {main}
My output of php versions is as follows.
dpkg -l | grep -E "openme|bcmath"
ii openmediavault 7.0-18 all openmediavault - The open network attached storage solution
ii openmediavault-kernel 7.0.3 all kernel package
ii openmediavault-keyring 1.0.2-2 all GnuPG archive keys of the openmediavault archive
ii openmediavault-md 7.0-5 all openmediavault Linux MD (Multiple Device) plugin
ii openmediavault-omvextrasorg 7.0 all OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-sharerootfs 7.0-1 all openmediavault share root filesystem plugin
ii openmediavault-symlinks 7.0 all OpenMediaVault symlinks plugin
ii openmediavault-webdav 7.0 all OpenMediaVault WebDAV plugin.
ii openmediavault-zfs 7.0.1 amd64 OpenMediaVault plugin for ZFS
ii php-bcmath 2:8.2+93 all Bcmath module for PHP [default]
rc php7.4-bcmath 7.4.33-1+deb11u4 amd64 Bcmath module for PHP
ii php8.2-bcmath 8.2.7-1~deb12u1 amd64 Bcmath module for PHP
Alles anzeigen