I have read some wiki info,but still not sure how to do what I need to do.When I mount my external HD and I create a Local storage,does it matter what I use for the configuration path? Can I use something like…/nextcloud/media etc or are there a certain path I should use?
Personally, i have a debian build using mdadm and lvm2 for disk management.
the disk management:
mdadm used to created an raid6 array with 5 HDD:
md0 : active raid6 sdb1 sdd1 sdc1 sde1 sdf1 11720658432 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/5] [UUUUU] bitmap: 0/30 pages [0KB], 65536KB chunk
That array md0 is known as a device /dev/md0 (equivalent to a virtual single disk )
the partition management:
With lvm2, i have created a logical volumes within a physical volumes using /dev/md0
witch is equivalent to a signle partition type EXT4
Linux mount definition:
all that appear as /mnt/raid6/nextcloud as ext4
And finally, my nextcloud usage:
‘datadirectory’ => ‘/mnt/raid6/nextcloud’,
BUT something bother me a lot:
You are talking of a
I am not sure it is safe to use an external disk as your nextcloud storage.
What king of storage is it:
- your permanent nextcloud storage ?
- an usb type storage or else ?
Your heading for troubles like:
- cache error
- unwanted umount of external hdd
- Error during copy.The destination is only for reading error types.
Building a server with external disk is like a logical non-sense.
Wanting to use my 250Gb USB Pidrive for external storage.
honestly, if you have the possibility to use an internal disk, it’s better.