HowTo: OpenMediaVault - Set up external hard disk as drive

As the name of OpenMediaVault suggests, it is all about managing media. Of course, you also need the appropriate storage space for this.

In the article NetworkAttachedStorage / Build your own NAS from a RaspberryPi 4 I used an external USB hard disk for this purpose. However, many other drives can also be used to expand the storage space for your OpenMediaVault installation. Even the internal SD card can be used to make media available on the network.

How to integrate a connected data carrier into OpenMediaVault and create an initial folder share is described in the following article.


Safety instructions

I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/

Affiliate links/advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂 


Requirements

Helpful articles:
Before you start with this article you should have prepared the RaspberryPi so that it is accessible via the network and controllable via SSH.

The following three articles describe what needs to be done to prepare the RaspberryPi:

In the following lists you will find all the parts you need to implement this article.

Required tool:

NumberLink
1xScrewdriver set  Buy at Amazon
1xSD card reader  Buy at Amazon

Required material:

NumberLink
1x Raspberry Pi  Buy at Amazon
1x Raspberry Pi power supply  Buy at Amazon
1x Raspberry Pi case  Buy at Amazon
1x Micro SD card 64GB  Buy at Amazon


Check connected data carriers

Before you can mount the file system of a data carrier, you should first check whether the corresponding data carrier has been recognized correctly.

To do this, switch to the OpenMediaVault web interface and click on the tab

  • Storage

... and

  • disks

If your external hard disk, USB stick or similar is already connected, this drive should already be listed here.

In the example shown on the left, the system drive and an additional external hard disk are listed.

Here you also have the option of reformatting the data carrier (Attention! You should back up the data on the data carrier beforehand).


Integrate file system

If your additional drive has already been recognized, you can continue with mounting the file system.

Click on the tab

  • File Systems

in the category

  • Storage

This list shows all additionally mounted file systems (apart from the system partition which is not shown).

To mount your externally connected drive, first click on the plus symbol in the top left-hand corner.

Then click on

  • Mount

In the next view, select the partition you want to integrate from the "File System" drop-down menu.

Some external drives have several partitions. You should then take a close look at which one you integrate.

Here you can also set a limit value for the "Memory warning". If the memory used exceeds this value, you will be notified (if e-mail notification is activated).

Then click on "Save" to apply the settings.

And confirm this again by clicking on "Yes".

Then you have to confirm the changed configuration again by clicking on the checkmark in the yellow area and...

... confirmed this once again.

The partition should now be successfully mounted.

In the example shown, the partition is now listed. You can see the current memory usage and the connection status.


Create folder sharing under OpenMediaVault

Once the partition has been successfully mounted, you can now create your first shared folder or share. This share creates a folder which can later be used with the various plugins and shared via them. For example, the content of the shared folder can be shared via SMB or FTP server.

Go to the category

  • shared folders

Now click on the plus symbol to create a new share.

You will then be redirected to the form shown.
Here you can give the release a name, select on which integrated partition it should be created and also specify the access rights.

Once you have set everything as desired, you can save the settings by clicking on "Save".

Then you have to confirm the changed configuration again by clicking on the checkmark in the yellow area and...

... confirmed this once again.

How you can then continue to use this release is described, for example, in the article OpenMediaVault - Set up Windows Share or SMB Server described.


More articles related to OpenMediaVault

I have described the many other functions of OpenMediaVault in other articles. There you will also find hints on how to extend the functionality of your OMV installation. These articles are all summarized in the following category.


Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at ko-fi.com       

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

This site uses Akismet to reduce spam. Learn how your comment data is processed.