Ran into this today. Can confirm that above post with thread to disable apparmor in grub works as advertised. "Something went wrong trying to pull and start portainer"
Posts by ala.frosty
-
-
I was just correcting that 6.0.24 is not the latest stable version.
The OMV page that lists the "current stable version" takes the visitor to the 6.0.24 download page. That's the page that Google brought up for me when I did the search "OMV stable". If there's a newer stable version, then it might be a good idea for someone to update that link.
-
The latest package update was a dramatic improvement. I'm attempting to hand out kudos here.
-
The "current stable" version of OMV is 6.0.24, but the newest release is actually 6.3.0-2 and the improvements in the GUI speed that I've experienced are simply stunning! I have a LOT of drives and shares and the GUI used to take a lot of time to build pages but not any more. I'm not sure whether smaller installations will notice the change quite as much, but for me, I'd say that the GUI interface is 3x - 4x faster than it was.
I'm just a user, and not a dev, but I felt like this sort of dramatic improvement merited an announcement, so I decided to post one.
-
NTFS disk afre not wellcome on linux, please consider to use a Ext4 disk instead.
I've used ZFS to create block devices without file systems on them, then using ISCSI to share the dataset with WIndows. Windows reads the iscsi device as blank drive and can format it as an NTFS drive. ZFS doesn't see the NTFS data structure created inside the dataset and it doesn't care.
-
run systemctl unmask proftpd.service before installing the plugin. This is strange because openmediavault 6.2.0 is doing that during installation.
I suspect that OMV6.2.0 is *supposed* to be doing that during installation, but after running the aforementioned unmask, the omv-upgrade worked properly, so something is awry.
Also, at the end of the upgrade, my system is still at 6.2.0-2.
Adendum: After some clickety-clickety in the GUI, everything feels considerably faster. I don't have a clue whether I'm just imagining it, or not, but there seems to be a performance improvement. -
FTP disappeared from my GUI today after an # apt update and ProFTP is an available System-Plugin. And the bottom line is: FTP under OMV6 is not working right now. I have rebooted several times to no avail.
Oddly, my OMV6 Version is 6.2.0-2 (Shaitan) and I don't think that I can get to 6.3 because the ProFTP install component is broken.
Pro-FTP will not install and omv-upgrade generates these errors:Code
Display MoreSynchronizing state of proftpd.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable proftpd Failed to enable unit: Unit file /etc/systemd/system/proftpd.service is masked. dpkg: error processing package proftpd-core (--configure): installed proftpd-core package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of proftpd-mod-vroot: proftpd-mod-vroot depends on proftpd-abi-1.3.7a; however: Package proftpd-abi-1.3.7a is not installed. Package proftpd-core which provides proftpd-abi-1.3.7a is not configured yet. dpkg: error processing package proftpd-mod-vroot (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of openmediavault-ftp: openmediavault-ftp depends on proftpd-mod-vroot; however: Package proftpd-mod-vroot is not configured yet. dpkg: error processing package openmediavault-ftp (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of proftpd-mod-crypto: proftpd-mod-crypto depends on proftpd-core (= 1.3.7a+dfsg-12+deb11u2); however: Package proftpd-core is not configured yet. dpkg: error processing package proftpd-mod-crypto (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of proftpd-mod-wrap: proftpd-mod-wrap depends on proftpd-core (= 1.3.7a+dfsg-12+deb11u2); however: Package proftpd-core is not configured yet. dpkg: error processing package proftpd-mod-wrap (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of proftpd-basic: proftpd-basic depends on proftpd-core; however: Package proftpd-core is not configured yet. proftpd-basic depends on proftpd-mod-wrap; however: Package proftpd-mod-wrap is not configured yet. proftpd-basic depends on proftpd-mod-crypto; however: Package proftpd-mod-crypto is not configured yet. dpkg: error processing package proftpd-basic (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: proftpd-core proftpd-mod-vroot openmediavault-ftp proftpd-mod-crypto proftpd-mod-wrap proftpd-basic E: Sub-process /usr/bin/dpkg returned an error code (1)
-
After a few hours fuming at the back of the struggle bus, I was able to get iSCSI shares working using ZFS datasets by following this guide.
Once it's configured, it's terrific. While the currently implemented OMV LVM solution for TGTs works, ZFS provides a lot more features including snapshots, RAID-Z, on-the-fly compression and encryption. The ZFS target that I created does not appear in the webGUI but appears in the CLI with # tgtadm. I think that it would be pretty great to be able to add ZFS iSCSI shares right from the webGUI, although I suppose it would be useful to know how many others would find this feature helpful.
In my use-case, I'm running OMV in a VM on Proxmox. I have Proxmox hand over a SAS HBA controller to the OMV session and run all my network shares through there. I have other proxmox VMs and CTs for various other tasks. In this configuration, I can (theoretically) lift the HBA controller with drives out of the Proxmox box and use it in either a bare metal OMV box or another Proxmox box, or for testing purposes, shut down one VM and passthrough the HBA to another VM with the data configurations all readable directly from the disks with ZFS. -
I'm having almost the exact same trouble. Except for me, after I do the undo, even the web GUI won't let me make changes, throwing the 500 - internal server error. And the error message is massive! I'm running a Proxmox kernel. Error message is too large to include here due to 10,000 char limit!!!
-
Portability! This practice makes the drives and HBA portable between computers. I can pick up the HBA and/or the driveset and drop them in a bare metal server running Debian and read everything on the drives. Or boot from a Debian flash USB stick on the same box and read everything for troubleshooting. And yes, I've done this on multiple occasions when I've upgraded my hardware and OS drives, etc. Maybe it's possible to configure this same sort of thing with Virtual drives, but I don't know how to do it reliably.
-
I discovered this same bug today. I created a new dataset in an existing pool and then all the other zfs pool datasets automagically changed from using the pool to using the newly added dataset as their device.
Note: This is NOT an installation bug report but is instead a bug with the ZFS GUI. Will file a report on GitHub as this does not appear to be an open issue.Code# dpkg -l | grep openmediavault ii openmediavault 6.0.42-2 all openmediavault - The open network attached storage solution ii openmediavault-kernel 6.3.3 all kernel package ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive ii openmediavault-omvextrasorg 6.1.1 all OMV-Extras.org Package Repositories for OpenMediaVault ii openmediavault-resetperms 6.0.2 all Reset Permissions ii openmediavault-zfs 6.0.11 amd64 OpenMediaVault plugin for ZFS # uname -a Linux OMVserver 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200) x86_64 GNU/Linux
-
Speed update: It's slow!
I've got six SATA-III drives connected into it using ZFS and it's running at 35.2M/s.
For contrast, my SAS drives (6Gbs) are also doing a scrub but they're seeing throughput at 126M/s .. Which is roughly five times faster. So, the card works, but I may send it back anyway and use my SAS controller to access the SATA drives. For similar sized ZFS pools, the difference in scrub speed is 8 hours vs around 40 hours!
I ran some zio test on the SAS ZFS pool and the SATA zfs pool and the SAS pool is about twice as fast. This kinda makes sense as SAS is bidirectional.Code# fio --loops=5 --size=1000m --filename=/mnt/test_drive/fiotest.tmp --stonewall --ioengine=libaio --direct=1 --name=Seqread --bs=1m --rw=read --name=Seqwrite --bs=1m --rw=write --name=512Kread --bs=512k --rw=randread --name=512Kwrite --bs=512k --rw=randwrite --name=4kQD32read --bs=4k --iodepth=32 --rw=randread --name=4kQD32write --bs=4k --iodepth=32 --rw=randwrite>~/test.Sata-controller.txt &
Note that the above test evaluates the speed writing to the file fiotest.tmp at whatever location you select. So, mount your file system up on /mnt/ and set the directory appropriately, then run the code to see how your system is doing.
-
My LSI 9201-16i decided to take dirt-nap, necessitating a drive controller purchase.
I went onto the Amazon and found this 8-port drive controller for $35: PUSOKEI PCI-E to SATA 3.0 Card, 8-Port SATA3.0 Interface Expansion Card
It works right out of the box and the boot rom POST properly detected all my drives. Debian instantly recognized the controller and all my ZFS drives. I'm running OMV6 in a Proxmox 7.2-3 VM. Proxmox runs on Debian so that was the first test that the controller passed. With that working, I set about passing the entire HBA controller into the OMV instance to Proxmox using passthrough and it also works perfectly with ZFS reading and importing all the drives.
I haven't run any speed tests on it just yet, but it seems okay so far, with about 6 hours of use. I'm moving a bunch of files around and will test it's speed later. And if you don't care about the speed, then it's simply a very reasonably priced controller. I also found a 10 drive controller for almost double the price, but I think I'd rather purchase two of these 8-port controllers if I really needed more than 8 storage drives.
I have no financial interest in the sale of these cards. It worked for me on an old dual-xeon x58 BIOS mobo and I figure this info might be useful to some of you.Code
Display More# lspci -v -s 02:00 02:00.0 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02) (prog-if 01 [AHCI 1.0]) Subsystem: ZyDAS Technology Corp. Device 2116 Flags: bus master, fast devsel, latency 0, IRQ 82, IOMMU group 36 Memory at fac7c000 (32-bit, non-prefetchable) [size=8K] Memory at fac7e000 (32-bit, non-prefetchable) [size=8K] Expansion ROM at fac80000 [disabled] [size=512K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [80] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [130] Secondary PCI Express Kernel driver in use: vfio-pci Kernel modules: ahci
-
My ZFS installation went to borked after an update when backports was not enabled on my system. It stayed borked when I enabled backports. I tried flipping back and forth and a variety of other things last night. Backports now off again. Today, I uninstalled openmediavault-zfs, then installed it again and, after rebooting, everything is back to working.
Whatever dependency changes were added, or dependency conflicts resolved, worked. Thank you. -
I have no idea whether this will help or not. I attempted to update zfs-dkms and encountered an error "Bad return status for module build on Kernel: 5.4.98-1-pve"
Code
Display Moreapt-get install zfs-dkms Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libnvpair2linux libuutil2linux libzfs3linux libzpool3linux Use 'apt autoremove' to remove them. Recommended packages: zfs-zed zfsutils-linux The following NEW packages will be installed: zfs-dkms 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/1,399 kB of archives. After this operation, 10.8 MB of additional disk space will be used. Preconfiguring packages ... Setting up spl-dkms (0.7.12-2+deb10u1) ... Removing old spl-0.7.12 DKMS files... ------------------------------ Deleting module version: 0.7.12 completely from the DKMS tree. ------------------------------ Done. Loading new spl-0.7.12 DKMS files... Building for 5.4.98-1-pve Building initial module for 5.4.98-1-pve configure: error: error Error! Bad return status for module build on kernel: 5.4.98-1-pve (x86_64) Consult /var/lib/dkms/spl/0.7.12/build/make.log for more information. dpkg: error processing package spl-dkms (--configure): installed spl-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: spl-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)
-
That appears to be caused by 2.03 dkms, but 2.02 works
Where did you get 2.02? My zfs-dkms is at 0.7.12 !!!!
After all the messing about, I only have two options under "update Management -> Install from updates" which are "Pre-release" and "Community-maintained" .. backports is now AWOL. -
I am having the same issue. I cannot get ZFS to install (even with -f force). I've tried reverting to the previous PVE kernel and removing/reinstalling OMV-Extras but no luck either through the GUI or CLI.
-
Any luck with the repartition?
-
As I suspected, your disk is 100GiB but your partition is still 50GB:
CodeGPT PMBR size mismatch (104857599 != 209715199) will be corrected by w(rite). Disk /dev/sdb: 100 GiB, 107374182400 bytes, 209715200 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 39D43581-36CA-42A2-B921-3BCE200E8619 Device Start End Sectors Size Type /dev/sdb1 2048 104857566 104855519 50G Linux filesystem
Refer back to my post #6. Use Parted to resize /dev/sdb1. Once you've followed that, return here and repost the "fdisk -l" result.you want your new
Because that's where fdisk reports the disk ends.
-
I think I've managed to get ExtJS (6.2 not 6.6) to read the hostname with an RPC, but the framework makes a very special effort to keep data and procedure separate and I'm having a really hard time getting the result onto the gui. It's frustrating.