LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2021, 03:47 PM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
Question Nextcloud on SSD or HDD


Hi,

I am setting up a Nextcloud server on Ubuntu 20.04 LTS running on a ESXI VM with 4GB of RAM.

Do you recommend installing the O/S and Nextcloud on 1 HDD or installing the O/S to a SSD and the nextcloud data on a HDD?

If any of you already have a Nextcloud server, please let me know how you configure storage.

Thank you!

# of users: 5

Xeon E3-1225 v5 3.3GHz Quad Core
500GB Samsung SSD
2TB WD Black 64MB cache
 
Old 02-05-2021, 03:15 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
To answer this question, one needs to know if the server is used for other tasks, and which other tasks, and what the expected Nextcloud usage is.

Normally, I would say that an SSD is not needed for the OS, as the OS doesn't cause disk I/O worth speaking of. Except if you foresee frequent reboots.

If you expect a lot of I/O by Nextcloud, I would put Nextcloud data on the SSD. If not, it's fine to use the same disk for OS and data. It might be a good idea to configure a separate partition or logical volume for Nextcloud data, though.
 
Old 02-07-2021, 03:41 PM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
Quote:
Originally Posted by berndbausch View Post
To answer this question, one needs to know if the server is used for other tasks, and which other tasks, and what the expected Nextcloud usage is.

Normally, I would say that an SSD is not needed for the OS, as the OS doesn't cause disk I/O worth speaking of. Except if you foresee frequent reboots.

If you expect a lot of I/O by Nextcloud, I would put Nextcloud data on the SSD. If not, it's fine to use the same disk for OS and data. It might be a good idea to configure a separate partition or logical volume for Nextcloud data, though.
Hi,

No, the server is just dedicated to Nextcloud. Expected usage is probably a few times a day.

Yes, that's what I was thinking of doing. A 500GB perhaps, 50GB for home and the rest of / since the nextcloud data typically resides in /var
 
Old 02-08-2021, 12:31 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,327

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Quote:
Originally Posted by ceantuco View Post
Hi,

No, the server is just dedicated to Nextcloud. Expected usage is probably a few times a day.

Yes, that's what I was thinking of doing. A 500GB perhaps, 50GB for home and the rest of / since the nextcloud data typically resides in /var
This is on a vm? Why even attach a separate drive for anything except the nextcloud data? And only then if there is a lot of change in the content. The entire vm can be easily backed up. The data can be easily backed up. The best of both worlds in data reliability.
 
1 members found this post helpful.
Old 02-08-2021, 01:39 PM   #5
Hermani
Member
 
Registered: Apr 2018
Location: Delden, NL
Distribution: Ubuntu
Posts: 261
Blog Entries: 3

Rep: Reputation: 113Reputation: 113
IMHO there is no need for Nextcloud data to be on a SSD. I run multiple instances of Nextcloud both in the cloud and on bare metal (in a container) and I don't think that drive speed is a bottleneck.
  1. When using the web front-end you will not notice any speed difference because the web GUI is much slower than any drive
  2. When using the sync client drive speed is no bottleneck since the whole sync process take MUCH longer than any drive delay
  3. When editing documents online using the build-in Collabora server, the speed of a drive will have no impact on your experience

Now I may have overlooked something, so please correct me if I'm wrong.

I do think you will be very pleased with Nextcloud. I have been using it for about two years now and I won't be going anywhere else..
 
Old 02-08-2021, 07:05 PM   #6
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
Yes, it will be on a VM host which has 3 drives. (1 SSD and 2 HDDs). I think I will use one of the HDD since SSD vs HDD seems to not impact nextcloud performance.
 
Old 02-25-2021, 03:03 PM   #7
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
UPDATE: I installed the server OS and nextcloud on a HDD. Comparing it to my old installation where I installed the OS and everything else on an SSD and the nextcloud data on a HDD, the server running the SSD is slightly faster than the one running on a HDD.

Now, do I want to re-install the O/S and nextcloud on a SSD and create a separate drive for the nextcloud data on a HDD? ummm not sure.. lol

Installing nextcloud does not take that long; however, fixing the errors/notifications on the admin page is a whole different story...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NextCloud gets bigger and better with Nextcloud Hub 19 LXer Syndicated Linux News 0 06-05-2020 08:42 PM
Will cloning one hdd (not ssd) to another encrypted hdd work on a cloning device? hddfsck Linux - Newbie 16 09-05-2019 07:02 AM
Install Linux in Toshiba u940 series with 32gb ssd and 750gb hdd I would like to have boot code in ssd only cvkchary Linux - Laptop and Netbook 4 08-31-2016 04:26 PM
SSD raid1 vs SSD raid10 advice ? wonker Linux - Hardware 8 05-23-2012 01:46 AM
[SOLVED] Using both SSD/HDD for partitioning or is it better to just get external HDD? Switch7 Linux - Hardware 16 10-26-2009 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration