I’m in the process of setting up a small private NAS/Cloud and have a couple of choices to make which i need help with.
My system contains two 4TB HDDs running in Raid 1 and a single SSD for the OS, which is a fresh install of Ubuntu Server 18.04.3 LTS.
Now my idea is to store the data in a directory on the Raid partition (e.g. /mnt/raid/cloud) and connect it to Nextcloud as an external storage. I would like to maintain my own file structure so i can easily use SMB etc., so this to me seems the best way to do it.
Q1: Are there performance disadvantages compared to making this directory Nextclouds native data directory? If there are, I might be willing to give up control over the data structure and leave it to Nextcloud.
Q2: Is ext4 a good choice for the data partition?
Q3: How do i need to set up the permissions so that the Nextcloud snap (running on the SSD) can r&w in that directory?
I must add that my knowledge of both Linux and Nextcloud is quite rudimentary, but im happy to learn.
Thanks in advance,