Hi all,
I've been experimenting with OMV for last few weeks in between working and other things. You can skip the setups I've boringly described below if you like but they provide some context if you want to read them. The question I have is as follows. I've got an arm device (nanopim4v2) with 4xsata ports (4xsata hat), I want NAS type stats monitoring (and to collect data from other network devices), I want to run Docker & Portainer with about 5 containers, I need 2x sata ports for data and thus I've 2x spare, I'm not fussed about size.
- Shall I use an SDCard for OMV, Docker etc... as seems typical
- Shall I use an SDCard for OMV and a partitioned (or not) data disk for Docker plus data
- Shall I use an SDCard for boot only and have rootfs on HDD THIS IS MY PREFERED OPTION based on experiments noted below but should it be?
My worries
- Using collectd (comes with OMV) will write lots of data to SDCard unless I use rootfs on HDD
- Using Docker containers like inlfuxdb will wirte lots of data to SDCard unless I use HDD as data disk for Docker containers
- By using SDCard as boot only and rootfs on HDD cloning becomes more tedious to create backups and restore (I need to investigate this topic more also)
- All experimental setups I tried below had some stability issues of varying degree although setup 3 seems worse, albeit the setup I've messed with the most so may I probably broke it myself
First I want to select an installation to move forward with (the real question here), then I'll go about trying to fix the issues I have with that setup in separate threads as needed. Your help, experiences and comments are looked forward to.
---
My experimenting to date.
1st Setup - Keeping it simple as it's all new to me:
- Install armbian Buster Server
- run apt update && upgrade
- Follow scripted installation for flash/SD storage using the guide Installing OMV5 on Armbian Buster found here.
OUTCOMES: Got it working okay. I then installed Docker and Portainer using OMV WebUI and started to learn about writing to flash devices and the problems that come with this. I want to run Grafana (with influxdb and maybe telegraf/collectd) to monitor this device as well as some others on my network but would like Grafana and Influxdb running on this device via Docker. Problem now being I end up with lots of writes to SDCard. Or to ram (Flash Memory Plugin) but I want to keep this data.
2nd Setup - Keep it simple ver2
- Install armbian Buster Server
- run apt update && upgrade
- Use armbian-configure to install OMV via the user interface 3rd party application installer (I was hoping this didn't implement the Flash Memory Plugin as the 1st Setup did)
OUTCOMES: Work a treat installing but still installed Flash Memory Plugin. Same comments as above, once I enable monitoring services and start using Docker I start saving lots of stuff to the SDCard. Or ram which I'll lose.
3rd Setup - Adding some complexity
- Install armbian Buster Server
- run apt update && upgrade
- run nand-sata-install to move rootfs to a HDD
- clear SDCard of now old fs, keeping /boot only
- Use armbian-configure to install OMV via the 3rd party application installer
- Disable Flash Storage Plugin
OUTCOMES: Works well-ish (see last sentnce), OMV WebUI seems no slower than when FS was on SDCard and it's plenty fast enough. There are still some folders in ram as part of the armbian install, but I believe these get flushed and copied to the rootfs periodically, I'm content with that. I've installed Docker and tried telegraf, influxdb and grafana with some success but not as I'd like. So I switched to using collectd which comes with OMV and sent the data to influxdb using network plugin, this works okay but the system is now not stable. The load spirals out of control in a very short period after an random amount of time, be it a few hours or a few days.