Beiträge von Markus13

    Thank you for your work. That means I don't have to backup all my data and do raid first and then luks? It will work after an update of your plugin now?


    Something off topic:
    Before omv I did it this way: Filled disc after disc and put it in the cupboard. Of course I thought: What will happen, when I take a disc out and it fails?
    So I learnd about the nas solutions on the marked. I decided for omv, because it doesn't need specail hardware.I have enough computers to take one for the nas. No additional cost.


    The testing i mentioned upon I did, because somebody told me to. Know what happens on failure before the nas is filled with more or less important data. I thought this would be wise.


    Now I have omv and I can survive one dead disc.


    The disadvantages: Each time I power up, all disc are powering up. With the discs in the cupboard only one disc is used.
    The discs in the cupboard are safe for thunderstorms (because who pulls out power and ethernet every time?)


    Would you advice me to stay with omv or go back to the disc in the cupboard (without a backup of each disc. This would be too expensive)? The loss of a disc would be annoying but not worth spending hundrets of bucks for backup of all discs.

    Ok, thanks. I'm waiting.


    (... with one new problem: where do i get enough discs for a backup ;(


    I thought about it for a while: Why do I have openmediavault (with Raid 5). I can "survive" the failure of one disc.


    Now: OMV starts. I have to login, I have to unlock the drives. I have control, I see everything.


    When I take your plugin: You say that the raid is build before the unlocking. After the unlocking the system comes up with shares and web interfaces. Right?


    What happens, when something is wrong?
    1) Boot
    2) Build raid, but hey: one disc is missing.


    What happens now? Does omv build the raid. Is your script able to unlock the raid and then the gui comes up and the omv sends a Mail: "Hey dude, there is a disc missing"


    Or is it something in this way:
    Power up. Disc missing. Problem with the raid. Stand by. Launch your script (or not). Can't unlock a luks on a raid, which isn't there. No gui, which helps me. I don't know, what to do. No gui, where I can see, what's giong on.



    I'm not shure, but when I first played around with omv, I have tested some things like, what happens, when the discs are in wrong order. What happens, when I pull one sata cable and boot. I think I had first to put in a new disc and omv told me, not to use system, till raid is clean again. I'm not shure ...


    I hope you see: I'm a bit cunfused. I hope, you can help.

    When decrypted sdb becomes sdb-crypt, sdc becomes sdc-crypt.
    Should I enter for example sdb-crypt at "mapped name" oder /dev/mapper/sdb-crypt


    In addition to this: Is the missing of spinner.sh a problem? Wehre can I get it?

    Hello,
    I have tested the new luks plugin on a test openmediafault.


    I changed nothing, but:
    Uninstall the old luks plugin
    Install the new luks plugin
    In the web interface: Activate crypttab und bellow add the three discs to crypttab. At "mapped name" I wrote nothing.


    Reboot.


    What happens: The webinterface doesn't come up. Good.
    When I log in via ssh:
    root@openmediavault:~# omv-luks-start
    /usr/sbin/omv-luks-start: Zeile 37: /root/bash-spinner/spinner.sh: Datei oder Verzeichnis nicht gefunden (in english: file not found)
    Proceeding to unlock drives
    Unlocking of drives ended, attempting to mount disks and encrypted containers
    Mounting linux filesystems from /etc/fstab


    There was no question that I have to type in the passwords for the discs.


    After this the webinterface comes up and I can unlock the discs.The I have to mount the filesystem and my test data is still there.

    Of course raid is not backup. You should have another mirror server or an external hard drive.
    What is encrypted the raid device or the device members?

    I know, what you mean: But in this case there is no backup, because the archive is to big and I'm not willing to buy a bunch of additional 4 TB discs. Too expensive for me. The raid is for the case, that one disc fails. And as I say: Most of the time the NAS is switched off. It's an archive.


    I did the instalaltion as it's meant to be (I think): Installed the luks plugin und encrypted drive by drive from the web interface. Than I created the raid.

    Hallo,
    I have a omv with luks encrypted disks and raid 5 and want to use it as an archive. It is switched off most of the time.


    I unlock the disk in the web interface with a password.


    After the disks are unlocked it is not possible tho mount the share via nfs. It looks, like it mounts the disk with the omv system on it without any rights.


    I see, that the problem ist the startup of nfs before the disks are unlogged.


    I saw, that somebody had the same problem in 2016 (!)


    https://github.com/OpenMediaVa…t-luksencryption/issues/8


    I'm open for any solution for my problem: Power the OMV on, Unlock the disks via web interface, Mount the share. How can I do this?


    I hope somebody can help. Thanks!


    Markus