LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-21-2020, 11:49 AM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Question SSD/HDD System - Tips and Pitfalls


Hi Folks,

Hope everyone is staying safe.

Now I have some time on my hands I thought I would upgrade my twin XEON machine 16Gb memory machine with an SSD drive.

No problem with that, I'll just do a fresh install of Mint 19.3 and I'll use the existing 2TB HDD for data. In fact I'll wipe it as well, as it's all backed up to an external drive.

So should I use LVM or partitions?

Any tips/pitfalls would be much appreciated, like where should swap go, and where should system folders go like var, tmp, sys, bin, sbin and so on.

Do any system folders benefit from being on either ssd or hdd?

Cheers
 
Old 03-22-2020, 10:10 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243

Rep: Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364
I'd use the SSD for the ESP and root partitions, the old drive for home and swap. Swap can get overused and it's always a good idea to set swappiness to 10, but you don't want the SSD used for swap. You can also save unnecessary wear on the SSD by adding noatime,nodiratime to the root partition parameters in /etc/fstab. Set trim to run using
Code:
# systemctl enable fstrim.timer
# systemctl start fstrim.timer
As for LVM, I always think that's best left to servers.
 
2 members found this post helpful.
Old 03-23-2020, 05:05 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
With 16GB RAM and swappiness set to 10, the wear on the SSD can't be so bad, no?
However, if the system evtl. does start swapping heavily you'll definitely feel the difference between HDD and SSD.
 
1 members found this post helpful.
Old 03-25-2020, 05:49 AM   #4
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Thanks folks, not as many responses as I though, but appreciated those that did
 
Old 03-25-2020, 02:42 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Ok.

LVM uses partitions. You'd consider LVM for it's features beyond typical partitions. I'd consider other advanced tools like ZFS and Btrfs while you are looking.

Swap may or may not be needed. Your use dictates that. If I only used swap partition to hibernate then I'd put it on mechanical drive. If I needed fast swap then ssd. If I wanted more advanced then I'd go with swap file(s) and even raid or set swappiness on various ones.

The things you may wish to have on mechanical are things that maybe are compressed, things that don't get used often like backups, things that may need more security in MTBF, and almost all of the nuts and bolts of the OS. You want programs on the ssd usually.
 
Old 03-26-2020, 04:21 AM   #6
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
I use a value of 5 for swappiness
 
  


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
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
[SOLVED] Tips/warnings for cloning OS disk from HDD to SSD? penyuan Linux - Hardware 11 08-13-2017 08:00 PM
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
[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
LXer: System Administration Toolkit: Problems and pitfalls LXer Syndicated Linux News 0 11-18-2006 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:16 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