Discuss
Hello,
I am a bit confused bewteen the specificities of a NAS vs. a self-hosting server.
Several topics on the forum ask about mounting a NAS via a NFS share to a YNH server so that the former can be used as a data source for some apps (e.g. Nextcloud or media streaming apps) hosted on the latter, in a setup that takes 2 physical machines. For example:
- Yunohost on a Western Digital PR4100 4 bay in raid 5 - #2 by Benance
- Yunohost server as nfs client - #4 by yannick
What could be the cons of using only one machine for both local networks uses and self-hosting?
Here are 4 points I can think of, although I’d appreciate feedbacks in particular on the 2 last ones which aren’t so clear to me.
- Data integrity: YNH doesn’t have at the moment out of the box advanced disk management features, as opposed to NAS OSes, cf. Concept/draft for managing several disks storage · Issue #1823 · YunoHost/issues · GitHub.
- Service availability/performances: given hardware and network resources are split between local network usage and external services, it increases the load on the machine/network and may affect services’ availability/performances. All this depending on available resources and actual needs.
- Cybersecurity: in case of security breach of YNH core or of an app, stored data might accessible to an intruder. But wouldn’t it be similar if the data source is external but shared via NFS (i.e. root access to the other machine would still give access to the NAS via NFS) ?
- Local network access: If a service (say file storage or media streaming) hosted on YNH is called from the local network, will the traffic go out the local network to come in again, or will the traffic remain local?