Posts by KM0201

    Thanks for the reply.


    Well... I absolutely had done this :S . It is best practice to have a separate ssh user account? What if I need to perform sudo operations via ssh? Or do you just not do that? Surely it's no different than the admin account have access to the web gui?

    Recommend? I don't know but I've personally thought it a good practice. I'd somehow your server (or clients) are compromised, they'll need to figure out two separate passwords to do any real damage. Most of the threads we see here over the years where "OMV got hacked"... It was almost always the client that was hacked, not OMV. Making them guess two passwords to do any real damage could be a big help.


    As for you using a Mac... Everything in my house is Linux, and I still do this.

    If you're going to setup remote access like this ... For the love of all that is holy..


    Do not allow root ssh

    The user you allow to ssh, do not put them in the sudo group.


    Assuming you have good passwords, haven't just opened access to everything, etc.. Guessing two passwords will at least slow them doing any real damage.


    I'm not that familiar with wireguard, but is it possible windows has been hacked and someone is trying to remotely ssh your server from your laptop?

    Yes, it works when I run it in command line as root user.

    I figured I'd give others a chance to respond who may be more familiar with snapraid (I have personally never used it), but you aren't getting responses... so this is what *I* would try. Kind of a long way to go about it, I can't see any reason it won't work


    SSH your server as root and cd to your root partition

    Code
    cd /

    Make a directory called scripts and cd into it

    Code
    mkdir scripts
    cd scripts

    Now, once in the scripts folder, create/open a file with nano


    Code
    nano snapraid.sh


    Now paste your command in there to run


    Bash
    #!/bin/bash
    
    snapraid diff -c /etc/snapraid/omv-snapraid-da1cdb2f-b94b-4fd3-a647-99bbbbed7fbf.conf


    (make sure you don't hit enter at the end of the command or it will likely fail)


    Save it: Control +X, then Y, then Enter nd that will put you back at the prompt.


    Make the script executable


    Code
    chmod +X snapraid.sh

    Now test it


    Code
    sh snapraid.sh


    Assuming it works, now you just add it to the Schedule task section of OMV


    Here's a simple example of my cloudflare update task... As you can see it runs hourly. Just pay attention to your scheduling otherwise this thing will be running 24x7



    Now where it says user to run the command choose root

    Thent the command to run (if you've followed exactly with me)


    Code
    sh /scripts/snapraid.sh

    Then save it.


    Now you should see it as a scheduled task... You can run it manually from the webUI to make sure it works correctly.

    Agreed. This is the way. It’s a good idea to create a new user account in omv for smb access at least while you are testing stuff.


    My limited understanding of the situation for the op is the shared folders are not visible in windows explorer. This can be the the case depending on how network discovery is configured. You should still me able to created a mapped drive. I do this fine using my work pc when at home.

    I guess I didn't pick up on that.


    So, let's go w/ brain dead simple something to check. Since they aren't showing up in Explorer... You did enable SMB right? You can add shares to SMB all day long, but if the service is not enabled, you won't be able to access them.


    I'm not a Windows user.. but everytime I help one there is always an issue with guest shares.


    Have you tried creating a user and using a user to log in to those shares? If you go this method, when you create your shares and add them to SMB.. everything just needs to be default and it "just works"

    I would not partition it. That is more or less pointless as next time you do a clean install, you're going to nuke that partition setup (unless you do an alternative install). Not to mention if you accidentally make the partition to small, you'll be resizing, etc. if you must use this drive for the OS, just use the share root plugin so you can use the root drive for shared folders and nix the partitioning idea.


    If it were me, I'd get a 32gig flash drive, install OMV on to it (make sure it's at least USB 3.0, 2.0 is unbearable)... Then use your large drive for docker Jellyfin, etc as you intended.


    Generally speaking a properly configured OS, should really only take about 4-5 gigs of space.

    not totally true,that is the latest OMV related:

    External Content www.youtube.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.



    https://www.youtube.com/@TechnoDadLife/videos

    Hmm, I thought it had been a while.. looks like most of his videos are "vs" videos instead of how to's.