Posts by Lordy

    Does "systemctl status raid5.service" show any errors from the commands when they are run? - Are there any errors in the systemd journal or showing in dmesg? I'm wondering whether some sleep delays might be required space out commands? - filesystem tasks can need time to complete/settle before you run the next command; systemd ExecStart sequences need the same considerations as putting commands in a bash script.

    After I fixed the error in your file (using `use` to `usr`) and the error in `bin/mdadm` to `sbin/mdadm`, which sky42 pointed out, it actually works now :)
    God bless the king!

    Many thanks to both of you for the great help.

    For my knowledge chewitt unit file looks absolutely the right way, but i spotted a letter missing. He does not run my image and could not check and see that mdadm is in /usr/sbin/mdadm not /usr/bin/mdadm.

    So take chewitt unit file and correct the path of mdadm should do the job.

    Did it work after you corrected the path?

    I mean, chewitt said that mdadm should also be in that path.

    Please test that.

    Good luck!

    P.S.:

    ExecStart=/usr/bin/mount /dev/md0 /media/RAID

    That´ s right?

    But that's exactly how I did it, even added the Before=kodi.service because you wrote that it should start before kodi.
    O.K., my lines looked like this:

    exactly as described on the page:

    https://wiki.libreelec.tv/configuration/wireguard

    I have now even made the corresponding corrections according to your specific instructions and it still doesn't work.


    No, because I use a Synology NAS in the network with a hardware RAID6 configuration /shrug

    You haven't included software RAID5 in your distribution and you can't help me at all.
    I had already said that only someone who has a Raid5 software running in their system, which was mounted when the system started, can help me

    Use the wireguard systemd service as a template for something that runs after the network is up and before Kodi starts; change the systemctl command for whatever commands you need to mount the array. Add more ExecStart= lines as you need to run the commands in sequence. If you need more logic and error handling put the commands in a script in /storage/.config and then run the script from the systemd service.

    I really have no idea what all this is supposed to look like.

    I've posted my complete mount file here, the UUID, and how I'm assembling and mounting the RAID via SSH on another PC using the terminal.

    Now I've also created a wireguard.service file, as I understood from your description, and it's still not working.

    My question for you:

    Have you connected a software RAID 5 to your LibreELEC distribution from sky42 and gotten it working?

    If so, please post how and what you entered in your wireguard.service file or storage.mount file.

    If you don't have a RAID 5 running on your distribution, then unfortunately you can't help me.
    I need helf from a user who has managed to get a Raid 5 on sky42 version.

    I still wish you a Merry Christmas ;)

    the kernel should have already started the raid 5

    No, the kernel doesn't automatically assemble the RAID 5 system.

    I have to assemble it manually via the terminal, using the following command:

    mdadm --assemble --force /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1

    Then I need to create a folder:
    mkdir /media/RAID
    and then the mount command:
    mount /dev/md0 /media/RAID

    write a systemd mount unit file like

    https://wiki.libreelec.tv/how-to/mount_network_share

    but for a local Filesystem

    I already did that.

    I described how it doesn't work with the .mount file.
    I did follow Artembutusov's description, but there's no difference.
    LibreELEC RAID support – Artem Butusov Blog

    I inserted that into the mount file, perhaps you'll see an error:

    [Unit]
    Requires=local-fs.target
    After=local-fs.target

    [Mount]
    What=/dev/e27295f5:9fb13d9b:85b5bf5e:381f895d
    Where=/storage/RAID
    Type=ext4

    [Install]
    WantedBy=multi-user.target

    uploaded full 12.2.1 release


    still very busy at work

    Is it possible to automatically mount an unencrypted Linux software RAID 5 array using Sky42's LibreELEC version when the operating system boots?

    Otherwise, I would always have to manually type the commands myself in the terminal on another PC.

    I'm not getting anywhere with a store-RAID.mount file.

    When I check the status, it always asks for a dependency, even though I've entered the RAID's UUID.

    Please help!