- yakovz
- 17. April 2024
1. offizieller Beitrag
- 17. April 2024
Hi All,
I'm a newbie to OMV and ZFS in general, this is my 1st time installing NAS in general.
I've installed latest proxmox on old PC with LSI adapter with few SAS drives, PCIe passtrough and all is configured properly.
I've installed on top of proxmox the latest OMV, i did upgraded, installed from a script shell the omv extras and then zfs plugin.
I do see the drives, i was able to create ZFS pool but from reading thread's i'm not sure i'm using the optimal settings (i.e. kernel/module) i've seen i need to have proxmox kernel within my OMV.
below is my module and kernel, is it ok or should i do anything else, i'm asking this before i start the enter this NAS into my home "production"
root@omv:~# zfs -V
zfs-2.1.11-1
zfs-kmod-2.1.11-1
Debian GNU/Linux, with Linux 6.1.0-20-amd64 (this is from GUI)
root@omv:~# dpkg -l | grep linux-
ii binutils-x86-64-linux-gnu 2.40-2 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii firmware-linux-free 20200122-1 all Binary firmware for various drivers in the Linux kernel
ii firmware-linux-nonfree 20230210-5 all Binary firmware for various drivers in the Linux kernel (metapackage)
ii linux-base 4.9 all Linux image base package
ii linux-compiler-gcc-12-x86 6.1.85-1 amd64 Compiler for Linux on x86 (meta-package)
ii linux-headers-6.1.0-20-amd64 6.1.85-1 amd64 Header files for Linux 6.1.0-20-amd64
ii linux-headers-6.1.0-20-common 6.1.85-1 all Common header files for Linux 6.1.0-20
ii linux-headers-amd64 6.1.85-1 amd64 Header files for Linux amd64 configuration (meta-package)
ii linux-image-6.1.0-18-amd64 6.1.76-1 amd64 Linux 6.1 for 64-bit PCs (signed)
ii linux-image-6.1.0-20-amd64 6.1.85-1 amd64 Linux 6.1 for 64-bit PCs (signed)
ii linux-image-amd64 6.1.85-1 amd64 Linux for 64-bit PCs (meta-package)
ii linux-kbuild-6.1 6.1.85-1 amd64 Kbuild infrastructure for Linux 6.1
ii linux-libc-dev:amd64 6.1.85-1 amd64 Linux support headers for userspace development
ii util-linux-extra 2.38.1-5+deb12u1 amd64 interactive login tools
ryecoaaron
Hat das Thema freigeschaltet.
- 17. April 2024
- Offizieller Beitrag
I recommend installing the openmediavault-kernel plugin and installing the proxmox kernel.
- 17. April 2024
Zitat von ryecoaaron
I recommend installing the openmediavault-kernel plugin and installing the proxmox kernel.
So your saying my current settings is not optimal. i was unable to find official documentation on how to do it with OMV 7.
How do i do that on OMV 7?
should i destroy the zfs pool i've already created for that?
Where can i find step-by-step for how to enable zfs for OMV7?
- 17. April 2024
root@omv:~# !73
zfs -V
zfs-2.2.3-pve2
zfs-kmod-2.2.3-pve2
Debian GNU/Linux, with Linux 6.8.4-2-pve
OK I've managed to switch to the above, is this OK?
- 17. April 2024
Zitat von yakovz
Alles anzeigenroot@omv:~# !73
zfs -V
zfs-2.2.3-pve2
zfs-kmod-2.2.3-pve2
Debian GNU/Linux, with Linux 6.8.4-2-pve
OK I've managed to switch to the above, is this OK?
That's OK. But before you load data on to your pool just check it's been created with correct value for ashift and other properties. If you've not destroyed the first pool you created you'll probably want to do an zpool upgrade to make use of new ZFS features.
- 17. April 2024
Zitat von Krisbee
That's OK. But before you load data on to your pool just check it's been created with correct value for ashift and other properties. If you've not destroyed the first pool you created you'll probably want to do an zpool upgrade to make use of new ZFS features.
Thanks for your response.
So if i just destroy/delete the pool and create it again it will be created with all correct values and properties?
- 18. April 2024
Zitat von yakovz
Thanks for your response.
So if i just destroy/delete the pool and create it again it will be created with all correct values and properties?
You don't necessarily have to destroy your first pool. But when creating pools via the WebUI just pick the appropriate values and make sure to set devices by-id , ashift = 12 and compression lz4 or zstd.
- 18. April 2024
Zitat von Krisbee
You don't necessarily have to destroy your first pool. But when creating pools via the WebUI just pick the appropriate values and make sure to set devices by-id , ashift = 12 and compression lz4 or zstd.
Thank you for your answer.
since it's a fresh setup i have no problem to destroy and re-create. i did that with ashift 12 already, and lz4 compression. what other values should i set?
and when you say set the devices by id you mean instead of pick them from the drop down menu (/dev/sdb /dev/sdc etc...) i should grab their id (how do i find it) and put it?
- 18. April 2024
The ashift and compression values are pool properties set on pool creation which cannot changed at a later date. There are other properties associated with the ZFS filesystem created on the pool which you can view/set as you wish via the WebUI.
You pick the devices from the drop down menu, but set the device alias to "by-id".
The other very important factor is the pool layout. How many hard drives are you using and what layouts have you considered?
- 18. April 2024
Great, thank you all for assisting
- 26. April 2024
Zitat von ryecoaaron
I recommend installing the openmediavault-kernel plugin and installing the proxmox kernel.
It looks like the kernel plugin isn't available for OMV 7. Do I need to try to downgrade so I can get that, grab a kernel, then reupgrade? I don't know how to downgrade.
- 26. April 2024
- Offizieller Beitrag
Zitat von nironwolf
It looks like the kernel plugin isn't available for OMV 7.
The openmediavault-kernel plugin is available in OMV7. You have to install omv-extras previously.
Thema
OMV-Extras.org Plugin
Installation of OMV-Extras.org
Description
OMV-Extras.org is a plugin which enables you to do several things...- Install proxmox kernel
- Install even more plugins.
Installation
From command line as root (preferred method) and only method for OMV6 and OMV7
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
OR
From OMV web interface (alternative method)
…
WastlJ
- 28. April 2024
Zitat von chente
The openmediavault-kernel plugin is available in OMV7. You have to install omv-extras previously.
Thanks for the link. It seems the image I got for my FriendlyElec board already had Extras installed. I removed and reinstalled with the command line. omv-kernel still doesn't show up in the list on the plugin page. Because kernel wasn't listed under the branch for OMV7 on the wiki I thought maybe it just wasn't available. Could it be because it's ARM not x64?
- 28. April 2024
- Offizieller Beitrag
Zitat von nironwolf
Thanks for the link. It seems the image I got for my FriendlyElec board already had Extras installed. I removed and reinstalled with the command line. omv-kernel still doesn't show up in the list on the plugin page. Because kernel wasn't listed under the branch for OMV7 on the wiki I thought maybe it just wasn't available. Could it be because it's ARM not x64?
I think most of the plugins in omv-extras are botgh ARM and x64, but it's possible.
Try this
In the webUI, System > omv-extras
and click the apt-clean button.
- 28. April 2024
Zitat von KM0201
Alles anzeigenI think most of the plugins in omv-extras are botgh ARM and x64, but it's possible.
Try this
In the webUI, System > omv-extras
and click the apt-clean button.
Nope. Still goes from k8s to kvm on the list. (Yes, I hard refreshed the page too.)
- 28. April 2024
- Offizieller Beitrag
Zitat von nironwolf
Thanks for the link. It seems the image I got for my FriendlyElec board already had Extras installed. I removed and reinstalled with the command line. omv-kernel still doesn't show up in the list on the plugin page. Because kernel wasn't listed under the branch for OMV7 on the wiki I thought maybe it just wasn't available. Could it be because it's ARM not x64?
If it is an sbc you will not have the omv-kernel plugin available because it does not use grub.
- 28. April 2024
- Offizieller Beitrag
Zitat von chente
If it is an sbc you will not have the omv-kernel plugin available because it does not use grub.
And the proxmox kernel on works on amd64 and all of the iso images only work on x86.
- 28. April 2024
Interesting. So, to sum up, I'm not seeing omv-kernel more because it's single board. than ARM, right? But because I don't have a bootloader (GRUB) there isn't an easy way to get a kernel that supports ZFS? I'm seeing that ZFS is available on RPi boards, is there still a way to get this support? I feel like I'm starting to get outside what the OMV community will support, but I'm at a loss as to finding instructions on how to do this more advanced configuration on my board.
Here's the hardware: https://wiki.friendlyelec.com/….php/CM3588#Hardware_Spec
- SoC: Rockchip RK3588
- CPU: Quad-core ARM Cortex-A76(up to 2.4GHz) and quad-core Cortex-A55 CPU (up to 1.8GHz)
- GPU: Mali-G610 MP4, compatible with OpenGLES 1.1, 2.0, and 3.2, OpenCL up to 2.2 and Vulkan1.2
- VPU: 8K@60fps H.265 and VP9 decoder, 8K@30fps H.264 decoder, 4K@60fps AV1 decoder, 8K@30fps H.264 and H.265 encoder
- NPU: 6TOPs, supports INT4/INT8/INT16/FP16
- RAM: 64-bit 16GB LPDDR4X at 2133MHz
- Flash: 0GB/64GB eMMC, at HS400 mode
Thank you all for the help.
- 28. April 2024
- Offizieller Beitrag
Zitat von nironwolf
I feel like I'm starting to get outside what the OMV community will support
It seems that way, yes.
In case it helps, in this thread you can see how someone did that "experiment" and apparently it worked. But you can also read opinions about the use of ZFS on a Raspberry.
Thema
OMV6 RPI CM4 IO ZFS with 6x HDD 4TB. Error 500/404.
I'm new here so please be understanding. I ran OMV6 in the latest available version using an RPI CM4 8GB. I used 6x identical 4TB HDDs as disks. I wanted to create RAID5.
It takes a long time and every few seconds I get an error:(Quelltext, 24 Zeilen)
Where is a problem ?
Jedrek
- 28. April 2024
- Offizieller Beitrag
Zitat von nironwolf
ut because I don't have a bootloader (GRUB) there isn't an easy way to get a kernel that supports ZFS?
Adding zfs support for a kernel just requires installing zfs-dkms which will compile the zfs kernel module. Unfortunately, that requires installing the kernel headers which isn't always easy because it depends on the board. What image are you using for the cm3588? friendly or armbian?
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!
Benutzerkonto erstellenAnmelden
Ähnliche Themen
Successful Migration from OMV 6 to OMV7
- motox22a
- General
OMV6 RPI CM4 IO ZFS with 6x HDD 4TB. Error 500/404.
- Jedrek
- RAID
zfs pve kernel - openmediavault-zfs
- spupuz
- Updates/Upgrades
Is BTRFS twice as slow as ZFS?
- jtmpush18
- General
ZFS Plugin errors out/won't install
- fbeye
- Plugins