Posts by godfuture

    Only if someone else writes the code. There is nothing stopping you from adding encryption from the command line.

    Since you are doing it from the command line, you can probably use whatever you want.

    That is just begging to have problems especially timing on startup. I would not do that.

    Can something like this be used with zfs? Because till now I see only possibility with files...

    dev-crypt /dev/disk/by-uuid/dev-crypt-uuid /dev/disk/by-id/usb-myStick luks,tries=3,keyfile-size=4096,keyfile-offset=512

    If this would work, how to plan auto mount with zfs? Is systemd service file the only way as the thread owner published?

    I am also interested into zfs native encryption. Till now I am working with mdadm, luks, lvm and ext4/btrfs. I want to reduce complexity, but there are no GUI options for encryption in openmediavault-zfs plugin. Also my luks automount is organized with non-file based key read from usb stick.

    Till now I have seen only passkey or binary file encryption with zfs. I would have to implement a script that reads from usb stick to write temporally to tmp device just to let zfs read from it. As I had issues with systemd service files to get them working properly timed during boot, I am scared to go down this path.


    Is it planned to get zfs native encryption into the plugin? And will the use of USB sticks (non file based keys) be part of the solution like it is for luks?


    Otherwise I think I have to use luks beneath zfs and encrypt every drive separatly.

    What is the output in your system of:

    root@server:~# dpkg -l | grep openmediavault

    The omv-release-upgrade command will only be available when you upgrade the system with the correct command:

    omv-upgrade


    Edit: I just saw that I made a typographical error in my previous post, it has now been corrected.

    Could you explain a little? What means will only be available when you upgrade the system with the correct command? I ran into this as well. I executed omv-upgrade. Then omv-release-upgrade. Then I got an error (just like reported here omv 6 to 7 upgrade grub-pc error

    Code
    Errors were encountered while processing:
    grub-pc
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I guess this means the upgrade failed short before end, but nonetheless never really finished properly. At first glance, everything looks fine. But this is just an impression. Now after upgrade, executing omv-release-upgrade gives me: -bash: omv-release-upgrade: Kommando nicht gefunden.


    As I had issues, I don't know what to expect. Therefore the question: can I expect the command omv-release-upgrade to be available after upgrade?

    The 9300-16i runs EXTREMELY hot! It's technically 2 packages (2 8-ports). I'd be weary for smaller builds. For a time I had it replaced with a 9305-16i which ran ~15c cooler.

    I could cancel my order. I had luck due to Chinese holidays. The cheapest 9305-16i incl. cables was 190€, but I have found 9500-16i for 243€. Lower power consumption 24/7 will pay off over years. Therefore I think the better option...also having the better product in the end.


    Many thanks for all the support. I finally figured out what stressed me since I started to selfhost. 8)

    The 9300-16i runs EXTREMELY hot! It's technically 2 packages (2 8-ports). I'd be weary for smaller builds. For a time I had it replaced with a 9305-16i which ran ~15c cooler.

    The board I am using only has one 16x PCIe, all other are just 1x. There is a long story behind it, but to make it short, two important points that led me into this: price and transcoding.


    I wanted to have an Intel CPU because their GPU has good transcoding. But I could not find a cheap board having multiple x16 or x8 slots.


    Thats why I need a card bundling a lot of ports into one entity.


    Alright, I will try to cancel my order and watch out for 9305-16i, even it will be much more expensive.


    Thanks for all your help. Really looking forward having my server without these ata kernel timeouts anymore.

    This is the post I should have received many years ago.


    My setup is very special. I have two SSDs for system in RAID1 (OMV is normally installed on one disk). I have 3x disks in RAID5 for Nextcloud and backups (I have written scripts to create a backup before upgrades), 5x disks in RAID5 for my media and 2x disks in RAID0 for everything that needs speed. So no, not all disks are in one array!


    The LSI card should be the right one. How to see if it is fake? https://www.ebay.de/itm/195717998105


    Many thanks!


    Edit: channels, ports, IT mode, full duplex, port multiplier....this storage topic isnt easy at all!

    Maybe starting a new thread asking about the DeLOCK 8938 card would grab people's attention rather than tagging onto an old thread. But the message I take from the old thread is to just to ditch the DeLOCK and get yourself a server grade RAID card capable of running as a pure Host Bus Adapter (HBA) in IT mode. One card will support 8 drives.


    I've no idea how your hardware is setup. Whether you're using consumer or server grade parts, nor what kind of case and cooling you're using, nor how your 10 HDDS are combined.


    Among other things you can see in top is the kind of iowaits your system has. Things point to the DeLOCK 8938 card as a possible bottle neck and perhaps even a source of file errors.

    I was wasting so many days, weeks, maybe even months of searching the internet and trying out stuff. You took the right conclusion in few hours. Yes, you are right. This card messed up everything. I already ordered LSI Broadcom 9300 16i card.

    OK you've got your answer as to why the DeLOCK card is bad for your setup.



    JMB575 is a port multiplier chip and not suitable for RAID applications. Just google JMB575 + RAID.

    I didnt know port multiplier is a problem with RAID. I have seen a lot of complain about the kernel errors I experienced, because I was googling like hell. It seems you know a lot more than many admins out there.

    I am pretty late, but I have 100% same situation.


    10 HDDs, Openmediavault, DeLOCK 89384, all SMART ok, "retrying FLUSH 0xea Emask 0x4" under high load.


    Edit: I contacted DeLOCK, but they dont see any issues with the card. So it would be interesting to know the exact name of the DeLock JMicron chip being used.

    I also have a lot USB hdd issues. I bought a Seagate Deskdrive which sometimes worked at the USB 2.0 port. But very likely failed on USB 3.0.


    But lately also on USB 2.0 I see issues. Then I shucked the drive and bought a Inoteck USB 3.0 SATA adapter. Same problem here.


    My personal issue is a bit that I dont know how to monitor or debug all these situations. I just see EOF errors while copying files via my docker container "cloud commander". And I see io errors in dmesg.


    Summary is...all these USB drives perfectly work on my windows machine, but rarely to never work on my Intel board running openmediavault/Debian with kernel 6.1 (...and also 5.19).


    Edit: I stopped plugging the external drives into the server to move data. I am using a notebook wired to local network and transfer the data via shared folders. I get better speed, no interruptions and no data corruptions.

    I have changed /etc/cron.d/mdadm to "57 0 * 2,5,8,11 0". Lets see if that works :)