3D-Printer Network Reviews Storage System

Own ITX NAS from 3D Printer – Setup, Software and Results | Part 2

Web UI, software RAID and storage facilities

Instead of the IP address that was displayed to us in OMV after the restart, the web UI can usually also be accessed from another computer in the network using the name assigned during installation. For example, I have assigned “printnas” as the name and “.local” as the domain, so via http://printnas.local it also works. Important: It can only be accessed http://, https:// does not work without an later assigned certificate!

The username and password are “admin” and “openmediavault” by default in this version of OMV.

For security reasons, the password should of course be changed immediately after the first login. To do this, simply click on the small user icon at the top right and select Change Password.

The next step should then be to first perform all outstanding updates. To do this, navigate to System > Update Management > Updates and click the magnifying glass there. Then install all updates by clicking on the download icon. This process can take quite a while, you may have to confirm the banner at the top of the screen afterwards with the execution of all changes!

If you have installed OpenMediaVault on a USB flash drive, it is recommended to install the flashmemory plugin. With this only the most necessary changes are written to the memory, everything else runs out directly on the RAM and preserves the USB flash drive.

To do this, it is best to follow the official instructions from the OMV forum. If version 6 or higher, an SSH connection must be established via PuTTY, for example. The username there is “root” and the password would be assigned during the installation itself.

After entering the command and restarting, you can check the status under Services > Flashmemory to see if everything has been installed correctly.

The best NAS is of no use if the disks installed there die away and take the backed up data with them. So first we activate the monitoring under Storage > S.M.A.R.T. > Settings. The interval is specified in seconds, 3600 corresponds to a full hour. If you want, you can still adjust the value.

 

But that’s not all, in Storage > S.M.A.R.T. > Devices each HDD must first be selected individually and added to the monitoring via the pencil icon.

If the check mark is at the very front of all drives, after a while the column with the temperature and status should be filled. Also in the dashboard, a green background of the name indicates the current status.

In the menu Storage > Software RAID a new RAID array can be created via the plus symbol. At this point I would like to point out the RAID calculator, which can be helpful for the level decision. Since I only have two HDDs installed so far, it will be a Raid1 mirror for me. 

Then you have to wait, because it can take quite a while until the resyncing process is completed.

Depending on the size of the hard disks, the RAID is then created within a few hours and the status simply shows “clean”.

Now the file system can be created, this is possible under Storage > Filesystem via the plus symbol.

There select the created RAID and a type as the target device, EXT4 is suggested and is usually best suited. The creation of the file system can take some time, as soon as it is ready the final size will be displayed.

Under Storage > Shared Folders now set up a share so that a parent folder can be displayed via network.

And “already” we are done, what follows now is dependent on the own purpose. I show here exemplarily the way to prepare the NAS as a network drive for Windows. But you can also configure it as an FTP server or target device for backing up macOS devices.

To do this, activate the service under Services > SMB/CIFS > Settings and select the shared folder you just created in the Shares tab using the plus symbol.

Finally, don’t forget that for the access at least one user has to be created in the group “adm” in Users > Users, which has to be provided with the Read/Write Permission in Storage > Shared Folders after clicking on the folder via “Privileges”.

 

Kommentar

Lade neue Kommentare

big-maec

Urgestein

831 Kommentare 478 Likes

Hallo,
hatte mal angefangen mit Ubuntu Server einen ITX Nas aufzusetzen, hatte da aber später zu viele Probleme beim einrichten. Ich werde deinen Artikel mal zum Anlass nehmen, um mir OpenMediaVault bei Gelegenheit mal anzuschauen.

Antwort Gefällt mir

HerrRossi

Urgestein

6,778 Kommentare 2,243 Likes

TrueNAS kannst du dir auch mal ansehen, davon gibt es zwei Varianten, eine basiert auf BSD, die andere auf Linux.

Antwort Gefällt mir

Tim Kutzner

Moderator

818 Kommentare 662 Likes

Ist aber auch deutlich mehr "aufgeblasen", lässt sich nicht vom USB-Stick laufen und hat höhere Anforderungen.
TrueNAS Core würde ich eher für einen Homeserver nehmen als ne NAS

Antwort Gefällt mir

HerrRossi

Urgestein

6,778 Kommentare 2,243 Likes

Ich bin jetzt kein TrueNAS Profi, finde das aber nicht wirklich aufgeblasen, der Fokus liegt aber doch sehr auf Storage und weniger auf Docker und VM. Der große Vorteil von Core ist imho die native Verwendung von ZFS, ich weiß jedoch nicht, wie das mittlerweile bei OMV aussieht.
Ich will hier OMV nicht schlechtreden, ich habe das selber lange und gerne benutzt, aber es war immer auch ein bisschen Bastelei dabei und das doppelte Bestätigen hat genervt.

Antwort Gefällt mir

mer

Veteran

228 Kommentare 127 Likes

Also wer im Jahre 2022 ein Raid1 System aufbaut, sollte wirklich schon die Vorteile von ZFS oder BTRFS nutzen.
Sprichwort Checksum, und durch Vermeiden von md-basiertem SW Raid1 ist man so auch gegen Bitrot geruestet!

OMV unterstuetzt das aber garnicht einmal. Wer dort 2 Platten mit BTRFS im Raid1 betreibt, kann ueber die GUI nur zuerst ein SW Raid1 machen, und dann ein BTRFS drueber legen. Ergo wieder in den Fuss geschossen, und nicht Bitrot sicher.
Da muss man schon selbst ueber die Command Line ein natives BTRFS Raid1 anlegen, und es dann mit der GUI mounten.

In diesem Video wirds super Erklaert:

Antwort Gefällt mir

Tim Kutzner

Moderator

818 Kommentare 662 Likes

Ist ja auch immer ein wenig geschmackssache. Mein Eindruck war, was auch auf der Startseite direkt genannt wird: "Go Beyond NAS”
Spiegelt sich auch in den jeweiligen Systemanforderungen und -empfehlungen wieder.

TrueNAS Core:
64-Bit CPU | 16 GB of RAM Memory | 16 GB Boot Drive (SSD Encouraged)

OMV:
CPU: Any x86-64 or ARM compatible processor
RAM: 1 GiB capacity

Antwort Gefällt mir

Tim Kutzner

Moderator

818 Kommentare 662 Likes

Passende Antwort, mit der ich auch übereinstimme von Teil 1:

Antwort Gefällt mir

mer

Veteran

228 Kommentare 127 Likes

Wo ist da eine Antwort? Ich sehe nur abfaellige Bemerkungen aka "Hipsterraid".
Und absolut kein Wort von Bitrot.

Guck Dir das Video an, da lernst noch was. ;)

Antwort Gefällt mir

HerrRossi

Urgestein

6,778 Kommentare 2,243 Likes

Snapraid habe ich damals mit OMV auch benutzt, das war dann im Grunde das Unraid-System nach gebaut, ich weiß aber nicht mehr, welches Filesystem ich genutzt habe, btrfs war es glaube ich nicht, das war zu der Zeit noch ziemlich instabil.
Man ist damit halt super flexibel und kann jede Festplatte ins Array einbinden, solange sie nicht größer als das parity drive ist. Das geht bei ZFS nicht so einfach.

Antwort Gefällt mir

k
kampfgurke

Mitglied

18 Kommentare 0 Likes

Bei mir läuft die TrueNAS Core (BSD) wunderbar vom Stick (SLC).

Antwort Gefällt mir

K
Kobichief

Urgestein

671 Kommentare 202 Likes

Tolle Geschichte, aber .local domain würde ich nicht mehr als domainname zu Hause empfehlen, dafür gibts inzwischen .home.arpa dem Std. entsprechend.

Antwort Gefällt mir

Tim Kutzner

Moderator

818 Kommentare 662 Likes

wird vom Installer sogar so vorgeschlagen, scheint noch nirgends angekommen zu sein

Antwort Gefällt mir

T
Thakor

Mitglied

52 Kommentare 35 Likes

Sehr cooles Teil, ich wünschte ich hätte mehr Zeit. Vielleicht kommt der eigene 3D-Drucker zum Renteneintritt, dann haben durchtüftelte Nächte nicht mehr so dramatische Auswirkungen auf die Tagesform. :D

Antwort 1 Like

G
Guest

Danke für die beiden Artikel @Tim Kutzner
Das hat mich jetzt dazu bewegt, mir selbst ein NAS zu basteln und habe mir Hardware-technisch etwas an Beispielen aus diesen Artikeln genommen.
Die Hardware ist bereits bestellt bzw vorhanden und ich habe vor, so ein kleines User-Review im "Eigene Builds"-Sektor zu erstellen. Aber da muss natürlich auch noch die Funktion geprüft werden und auch da werde ich mich an deiner Anleitung orientieren. Ein Debian-System mit dem erwähnten OpenMediaVault ist da ebenfalls angedacht.
Drückt mir die Daumen, das alles klappt.

Antwort 2 Likes

Tim Kutzner

Moderator

818 Kommentare 662 Likes
t
tomtom38

Mitglied

47 Kommentare 0 Likes

Frage ist das Gehäuse aus Plastik, ist in dem fall EMV ein Problem, also Störsignale durch das NAS?

Antwort Gefällt mir

Tim Kutzner

Moderator

818 Kommentare 662 Likes

Nicht mehr als bei jedem anderen Gehäuse mit Seitenteilen aus Glas

Antwort Gefällt mir

B
Besterino

Urgestein

6,732 Kommentare 3,328 Likes

Hast du mal gecheckt, wie OMV mit der Swap-Partition auf nem USB-Stick umgeht? In der Regel empfiehlt es sich, sowas abzuschalten oder auf „belastbarere“ Datenträger zu legen, sonst ist gerade so ein USB-Stick gerne schnell mal kaputt geschrieben. SD-Karten eignen sich dafür in der Regel besser.

Antwort Gefällt mir

Tim Kutzner

Moderator

818 Kommentare 662 Likes

Steht doch im Artikel, dass das Flashmemory Plugin installiert wurde :)
Swap gibts daher nicht und fast alles läuft direkt ausm RAM

Antwort 1 Like

Danke für die Spende



Du fandest, der Beitrag war interessant und möchtest uns unterstützen? Klasse!

Hier erfährst Du, wie: Hier spenden.

Hier kannst Du per PayPal spenden.

About the author

Tim Kutzner

Supporting force on cooler, periphery and 3D printing arcticles.
Linux novice and wanna-be datahorder with DIY NAS.

Werbung

Werbung