Skip to content

OpenMediaVault

OMV

Openmediavault is a reference for anyone who wants to build their own DIY NAS.

1. Prerequisites

-Installing a smartpi, LINUX BOOKWORM SERVER is recommanded.

-During linux server installation please create user: pi

Connect to the smartpi via ssh with mobaxterm or putty, for example.

MobaXterm SSH session connected to the Smart Pi One

2. Update the smartpi

sudo apt-get update && sudo apt-get upgrade -y

3. Install

Switch to Superuser:

su

Install the openmediavault keyring manually:

 apt-get install --yes gnupg
wget --quiet --output-document=- https://packages.openmediavault.org/public/archive.key | gpg --dearmor --yes --output "/usr/share/keyrings/openmediavault-archive-keyring.gpg"

Add the package repositories:

cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm main
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm main

## Uncomment the following line to add software from the proposed repository.
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm-proposed main
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm-proposed main

## This software is not part of OpenMediaVault, but is offered by third-party
## developers as a service to OpenMediaVault users.
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm partner
# deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://downloads.sourceforge.net/project/openmediavault/packages sandworm partner
EOF

Install the openmediavault package:

apt-get install openmediavault

4. Connection to the web interface

http://Your_IP_Address

OpenMediaVault web interface login page

The default logins are :

Username: admin Password: openmediavault

You can now connect a disk and create shares.

5. Add a disk

Please note that not all changes are applied immediately. Each change requires validation. If you see the following message, this means that changes are pending. Click on validate to apply them.

OpenMediaVault pending configuration changes banner

Connecting an external usb hard drive Go to Storage\File Systems

OpenMediaVault Storage > File Systems page with the connected USB disk

Click on the Play button

Mount (Play) button in the File Systems toolbar

Select your disk and click on Save

File system selection dialog with the Save button

Go to StorageShared Folders then click on + to create a new share

OpenMediaVault Storage > Shared Folders page

The name field corresponds to the name of the share. The FileSytem field corresponds to your disk The relative path field corresponds to the name of the folder created on your disk. Once completed, click on Save

Shared folder creation form (name, file system, relative path)

If it's for a Windows share, go to Services\SMB\CIFS\Settings Activate the service and select the features you want. Once completed, click on Save

SMB/CIFS settings page with the service enabled

Then go to Services\SMB\CIFS\Shares and click on the pencil to choose the options that interest you.

SMB/CIFS shares list with the created share SMB/CIFS share edit options

Once completed, click on Save

Return to StorageShared Folders. select your share and click on permission. Then choose the desired permission

Permissions button in the Shared Folders toolbar Shared folder permissions for the pi user and group