how to set up openmediavault nas on a raspberry pi - LathDevers/RasPi-OMV-Setup GitHub Wiki

Follow the instructions in this somewhat complete tutorial.

  1. With Raspberry Pi Imager install Raspberry PI OS Lite (64-bit) on a Micro SD card.

    • during installation you have the option to enable SSH connection and set username (for example simply pi) and password.
  2. After installation insert SD card and connect Raspberry Pi through ethernet cable to the network and to the power supply.

  3. On the WiFi router site, find the Raspberry's IP address

  4. On a computer type in a terminal:

    ssh <username>@<ip-address>
    # for example: ssh [email protected]

    ⛔️ If you get this error:

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that a host key has just been changed.
    The fingerprint for the ED25519 key sent by the remote host is
    SHA256:Uc1PbMCNe1mWIbazhAqKf9TDYidSL12eVsMuVWa41As.
    Please contact your system administrator.
    Add correct host key in /Users/jozseflurvig/.ssh/known_hosts to get rid of this message.
    Offending ED25519 key in /Users/jozseflurvig/.ssh/known_hosts:7
    Host key for 192.168.1.133 has changed and you have requested strict checking.
    Host key verification failed.
    

    Just type:

    ssh-keygen -R <ip-address>
  5. Update Raspberry OS

    sudo apt update && sudo apt upgrade
  6. Install NAS OS OpenMediaVault

    • this will take long, and ssh connection will be lost + raspberry will get a new IP address
    • look up the new address on the router and connect to the raspberry again through ssh
    sudo wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
  7. In a web browser, type in the new IP address

    • default username: admin
    • default password: openmediavault
  8. Change password

    • in the current version it's in the upper right corner. A person icon: User Settings > Change password
  9. Connect HDD via USB

    • it should now appear under Storage > Disks
    • go to Storage > File Systems, then hit + and Mount. Hit Apply in the upper right corner.
    • Wait until done.
    • Then under Storage > Shared Folders hit +, name the folder, select previously created file system, and click Save
  10. Set access services

    • SMB is default for Windows (works with Mac - also Time Machine; but SMB is a bit faster on Windows)
    • NFS is for Linux/Mac
    • AFP is for Mac (tried it, SMB is faster)

    ⚠️ SMB is preferred over AFP for Time Machine. Source

    ❓ enable SMB VFS?

🧐 Use CMS NAS drives, not SMR!


>> Go visit this page for some extra info
>> Check out how you can set up Jellyfin Media Server on your Raspberry Pi with OMV

⚠️ **GitHub.com Fallback** ⚠️