I’ll just back up the whole server, just in case something happened. Also, I have a question - I’m running a Python script in /root and I want it to run for a couple of weeks, will these steps can cause it to step?
If you succeed with this, then for the rest it is simple:
For step 5 e.g. this tutorial. Do not miss up - you need to delete md3. First unmout it.
For step 6 you need to remove/dev/sda4 and /dev/sdb4 - on both HDDs. Do not miss up. First unmout it.
For step 7 you need to grow your partition with e.g. sudo resize2fs /dev/sda3 and sudo resize2fs /dev/sdb3.
For step 8 I didn’t found straight way for a root partition, e.g. this could help. And this is a good tutorial to grow partitions. As it root this could cause problems with expanding mounted partition.
very hard to say. There is no “that handbook” for all about running linux.
The best thing you could do is probably saveing your important stuff to an stick or additional drive and just try advice you get. If you may mess with the server don’t very try it again.
And with each try you gonna get better and better.
Hey, @gas85 I just heard that we can use the External Storage Addon on nextcloud to use the additional HDD on the server? I just installed and set it up and it is showing the content of my /home, so I guess it’s properly set up.
No it is standard way to add some other storage’s. Only it will not add to your root home folder, but as additional folder.
if you add it as Local storage, there will be no speed degradation at all.
Just be aware that if you modify/add/delte files not via NC but locally, you need to perform rescan of this external storage. You can use this command:
But I think it’s for scanning the internal files, which I think is not needed since Nextcloud can easily find them all. However for external files, I think we need to scan them after like 20 minutes(as you said). This comes for external path.