Posts by m4tt0

    Yes, I'm sure I removed the right disk. I double-checked by excluding all other disks in the /srv/ directory per CLI. I've tried to delete the pool as well, but unsuccessfully. I can "delte" the pool, but it throws another error message when applying the new configuration. I've attached it as a screenshot:


    For some reason I cannot copy the error message to the clipboard from the message center. And when I undo the changed configuration, the error messages in the message center disappear, too.

    ryecoaaron As you have been working on the mergerfs add-on, may I ask you whether you have any idea how to fix the above?


    I'm not sure, but the issue may also be related to my OMV5 -> 6 upgrade, as the mergerfs was set up on OMV5, then converted during the upgrade process. Then I changed it from fstab to systemd in the OMV6 web interface. Still, I don't know how to get out of this...

    One of my hard disks died. It was part of a MergerFS. No big deal, but it left my OMV 6 in an inconsistent state:

    • The failed drive does not appear under "Storage -> Disks" anymore, as it should be.
    • "Storage -> File Systems" fails to load though, as the broken MergerFS can no longer be found. This is an issue, I think, as I cannot "unmount" it anymore.
    • In "Storage -> Shared Folders" the MergerFS still appears, but I cannot delete it. I think this is because it is still mounted (see above).
    • If I try to remove the failed drive from the MergerFS under "Storage -> MergerFS", editing the pool is confirmed, but applying the changes throws the following error (apparently the mount cannot be found):

    It seems, there are circular references in the logic, which do not allow me to solve the problem. Any idea what I could do to regain a consistent state on my system?

    *Lol* Same here. Your server really has a beautiful layout! My 2U server was more expensive and can only host 8 drives. Hotswap, though, but I've never used it and it's not critical for my usecase. Congrats on your foresight!

    I've never intended to install a desktop environment on my OMV system and never used it, but remember that it was installed as a dependency while I was experimenting with something else. No guarantees for anything, but I've successfully purged the desktop environment using the following command and have been able to upgrade from OMV5 to 6 afterwards.

    Code
    apt purge task-desktop hyphen-en-us libglu1-mesa libreoffice-* libu2f-udev mythes-en-us x11-apps x11-session-utils xinit xorg xserver-* desktop-base task-german task-german-desktop totem gedit gedit-common gir1.2-* gnome-* gstreamer* sound-icons speech-dispatcher totem-common xserver-* xfonts-* xwayland gir1.2* gnome-*

    Source: unix.stackexchange.com


    Hope this helps. But as always: Backup FIRST!

    Not sure this will help everyone in this thread, but maybe some: I've had loads and loads of RPC errors and could neither see my RAID5, nor my mergerfs nor my filesystems anymore. In my case the solution was very simple: I only had to go to the extensions and remove the old mergerfsfolder plugin I was using. As soon as that was purged, my RAID and mergerfs miraculously reappeared.

    I think, I've got it! :)


    Here what I've done now:


    3. Reactivated the missing extensions/plugin via

    Code
    /usr/sbin/omv-mkaptidx
    dpkg-divert --remove --rename /usr/sbin/omv-mkaptidx
    omv-mkaptidx

    ...as described in many other places on this forum


    4. Received loads and loads of RPC errors when looking for my RAID and mergerfs. The solution was very simple. I only had to remove the old "version 5.x" mergerfs plugin. After I've purged it, Raid and mergerfs reappeared. No RPC errors anymore...


    It seems everything is working now! YIKES!!! :)

    I've been able to solve two issues:


    1. I had a problem with collectd because I changed my domain sometime ago. Found the solution on this very forum: #RE: collectd configuration
    2. The Brother printer drivers were no longer needed anyways, so I simply purged them


    Running omv-upgrade succeeded now. YAY! I could also log into the OMV6 GUI and "apply changes" as requested.

    Now my Raid, my mergerfs and my extensions are not showing, but it seems I've advanced...



    dpkg -C does not return any errors anymore.


    It seems the old unionfs and mergerfs extensions have not migrated correctly, probably because the migration was interrupted by the collectd error. Is there any way to migrate those "after the fact"? As I'm on OMV6 already omv-release-upgrade obviously does not longer exist...

    Just tried to omv-release-upgrade from OMV5 to OMV6, but the upgrade errors out with the following message:


    Looking into dpkg -l, I get:

    Code
    root@MyRS:~# dpkg -l | grep openmed                                                                                                                                                                                                             ii  omvextras-unionbackend          5.0.2      all    union filesystems backend plugin for openmediavault
    iU  openmediavault                  6.0.27-1   all    openmediavault - The open network attached storage solution
    iU  openmediavault-backup           6.0.4      all    backup plugin for OpenMediaVault. iU  openmediavault-clamav           6.0-9      all    openmediavault ClamAV plugin
    iU  openmediavault-diskstats        6.0-6      all    openmediavault disk monitoring plugin
    iU  openmediavault-fail2ban         6.0.2      all    OpenMediaVault Fail2ban plugin
    iU  openmediavault-flashmemory      6.1        all    folder2ram plugin for openmediavault
    ii  openmediavault-keyring          1.0        all    GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-mergerfsfolders  5.1.4      all    mergerfs folders plugin for openmediavault.
    iU  openmediavault-omvextrasorg     6.0.8      all    OMV-Extras.org Package Repositories for OpenMediaVault
    iU  openmediavault-resetperms       6.0        all    Reset Permissions

    dpkg -C yields:

    Any advice to resolve this, or should I restore my backup or install cleanly?

    Looking for advice on whether to upgrade or restart with a clean install...


    The last clean install was OMV4, which I upgraded to OMV5 (the hard way) when OMV4 went EOL.


    All extensions I'm using have been migrated, so I'm not worried there.

    I also understood that docker and docker containers should not be an issue as they are not really touched.


    I'm wondering about my disk setup though:

    My system SSD and some, but not all HDDs of a RAID5 have been installed under OMV4 and are still mounted by label, not by UUID.

    I also have MergerFS with 5 internal SATA HDDs and 1 external USB HDD (installed under OMV5, mounted by UUID)


    I understand that I was never supposed to upgrade OMV4 -> 5. Therefore my questions:

    1) Is the OMV5 -> 6 upgrade correctly handling "by-label-mounts" or not?

    2) Would you recommend me upgrading or clean installing this time?

    3) If the latter, is there some step-by-step guide you'd recommend to install the new system while keeping the RAID5 intact?


    Any advice appreciated...

    Thinking about upgrading from OMV5 to OMV6 within the next couple of weeks. I'm currently using OMV-diskstats and OMV-ClamAV as extensions, but understand they have been integrated into "base" OMV6 in the meantime.


    Does that mean that I should deinstall them as omv-extras extensions before upgrading or can I just keep them, so that settings are migrated?


    Any advice appreciated...

    Agreed. Just checked my average CPU usage over the last year (Intel i3-8100):

    - Most of the time idling at 5% with peaks at about 20%

    - Three months at ~70% while I was plotting Chias (waste of time and resources)

    - Two weeks at ~40% while Frigate ran AI algorithms on my webcams.

    - After I installed a Coral TPU to handle the AI I'm back at ~20% now.

    No video encoding involved though...

    I like your thinking! Most DIY NAS builders completely overpower their servers (like me!!!). I'd stick with Intel or Ryzen as that gives you best compatibility for linux-based server systems. Even if you are fed up with your QNAP box (same with me with Syno some years ago), I'd still look at what CPUs are built into QNAP and Synology servers and take that as reference. They usually optimize for power consumption in light of typical user performance requirements (which are less than you'd think, no, but at least what I thought at the time).


    I'm more familiar with Syno. They don't even consider Intel or Ryzen for their "value" NASs, but offer Realtek stuff. But their recent + NAS series (which is for "advanced" NAS needs) comes with an Intel Celeron J4025, which should be plenty for your needs AND pretty power-efficient. Not sure whether QNAP servers give you better references, but whatever you choose, it should consume less or equal power than that...

    Very interesting! Installed docker scan as per the docker link provided above, logged into the docker environment, registered with snyk and scanned my container images. Apparently I'm log4j safe. However, docker scan found several other vulnerabilities based on outdated, unpatched linux images in some of the containers. One of the downsides of docker containers apparently, especially if they are not updated regularly. Perfectly logical, but I wasn't aware. Learned something...

    Answering my own questions:

    • Yes, the pci=nomsi kernel parameter deactivates MSI support completely and was the root-cause of the culprit.
    • Fixed it the "old-school" way by simply editing `/etc/default/grub` and running `update-grub`. Rebooted the system.
    • The EdgeTPU/Coral AI started working immediately after the reboot.

    Marking as solved...