LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-10-2020, 08:27 PM   #1
dave67
Member
 
Registered: Apr 2007
Posts: 423

Rep: Reputation: 68
SSD drives configuration


I been looking into these drives for a bit now thinking of trying one with a Debian based distribution. When I did the search installing ssd Debian I got so many hits. I finely looked at these two sites.

https://wiki.debian.org/SSD%20Installation

https://easylinuxtipsproject.blogspo...p/ssd.html#ID5

What I have discovered is the configuration for ssd drives on these to sites are contradicting each other in areas. There seems to be different views how to configure them. I also though that maybe Distributions would have by now implemented some protocol during installation. From what I read I think there is more work to be done.

What I did understand is trim is needed and writes have to be minimized to SSDs after read that in both articles. IF I did try a ssd I would be a test system for now.
 
Old 02-10-2020, 09:13 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
SSD's have been around for a while. Pretty much every modern distro fully supports them.

So, I guess it may depend on the distro version you are trying to use as last question.
 
1 members found this post helpful.
Old 02-10-2020, 09:27 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,948
Blog Entries: 28

Rep: Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358Reputation: 6358
Quote:
What I did understand is trim is needed and writes have to be minimized to SSDs after read that in both articles.
I believe that much of the concern about writes when SSDs first came out has moderated.

This is not to say that it's not an issue, but rather that it's not as dire as reports indicated when SSDs first appeared. Indeed, many vendors are now offering machines with SSDs as the primary drives. (I just bought a Zareason laptop with an SSD drive.)

Here's a fairly recent article on the situation: https://www.enterprisestorageforum.c...-lifespan.html

Last edited by frankbell; 02-10-2020 at 09:29 PM. Reason: style
 
2 members found this post helpful.
Old 02-10-2020, 10:27 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
An example of trim on a distro web page. https://wiki.archlinux.org/index.php/Solid_state_drive
 
1 members found this post helpful.
Old 02-15-2020, 07:43 AM   #5
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
Quote:
Originally Posted by dave8671 View Post
I been looking into these drives for a bit now thinking of trying one with a Debian based distribution. When I did the search installing ssd Debian I got so many hits. I finely looked at these two sites.

https://wiki.debian.org/SSD%20Installation
I've been using Debian for several years myself... notation at the bottom of the wiki page
Quote:
SSD Installation (last modified 2015-10-17 23:16:55)
It appears most of it was written circa 2010-2012... I believe it to be seriously dated (but that's me).
 
1 members found this post helpful.
Old 02-15-2020, 07:58 AM   #6
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
The only thing about SSD configuration I pay attention to is trim. On Linux I use ext4 exclusively and the author of ext4 did mention a couple of years ago that the “discard” flag in /etc/fstab is not a desirable configuration. If you use a distro with systemd, I believe there is an automatic trim function that runs periodically. If you don’t use a distro with systemd, you can run it manually about once a week with
Code:
fstrim -v <mount to trim>
. I suppose this can be scheduled with cron as well.

Last edited by sevendogsbsd; 02-15-2020 at 07:59 AM.
 
1 members found this post helpful.
Old 02-16-2020, 09:08 AM   #7
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
man fstrim
Quote:
By default, fstrim will discard all unused blocks in the filesystem. Options may be used to modify this behavior based on range or size, as explained below.
Discovered this with your mentioning how system takes over fstab, configured here (or where you put "user modified" systemd configurations) /lib/systemd/system/fstrim.service
 
Old 02-17-2020, 07:14 PM   #8
dave67
Member
 
Registered: Apr 2007
Posts: 423

Original Poster
Rep: Reputation: 68
I was planing on trying a ssd linux mint 19.x. I have read that discard is not friendly on ex4 so I was not planning on using it. I did find a cron guide to setup up ssd which stated the same about dicard.

Thanks to all I never used cron though I have read some articles on it.





I did read that ssd article frank. I have it on pdf thanks.
 
Old 02-18-2020, 08:52 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,252

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
I only have an SSD on my desktop. After a lot of reading, I settled on
> A bit of over-provisioning, although I gather that's not considered important any more.
> Weekly use of trim, although PCLinuxOS was set up to trim daily.
> Adding "noatime,nodiratime" to the parameters in /etc/fstab.
 
1 members found this post helpful.
Old 02-18-2020, 09:42 AM   #10
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
I mirror your set up - this has been working perfectly for me for nearly 4 years on both my SSDs. Both show minimal. wear when I run smartmontools against them. SSDs have matured to the point where I trust them completely. Not to be hypocritical, but I back up to spinning rust in my NAS because frankly I can't afford 4TB SSDs and I still believe spinning drives are better for long term storage. I have only had one spinning drive fail in 27 years. Plus, speed on my backups is not a concern.
 
Old 02-18-2020, 12:23 PM   #11
dave67
Member
 
Registered: Apr 2007
Posts: 423

Original Poster
Rep: Reputation: 68
I never even have 4TB hdd drives. The largest drive I have ever purchased was 1TB hdd and that on in my win10 homebuld. I back my music as wav files and they are on a single blu-ray disc.

I image my win10 with EaseUS Todo Backup free. On an internal hdd for backups. For just data backup I use freefliessync application to backup all data to the backup drive but each type is in a folder music mp3,music videos etc.


My linux systems are imaged with clonezilla on a USB stick. Home folder files are backed up with backups [duplicity] tool to an USB hdd drive currently. One drive to rule them all .
 
Old 02-18-2020, 01:12 PM   #12
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
I have never owned one either but have a NAS so decided to populate it with 2x4TB WD reds in a RAID. It holds my music and all data backups from my FreeBSD workstation, plus both my wife's and my MacBook Pro time machine backups.

I actually never clone my OS because it is more difficult (IMO) than reinstalling, which as I mentioned, typically takes me about 10 minutes. I have a packages list so the package management tool can do the install of all end user software after I do the OS install and configure. I don't use Windows at all, but if I did, I think a clone is a good idea since even though the install is easy, the patch and reboot cycle to get it up to current patch levels can take a day or more. Used to anyway, haven't owned Windows in a long time.

The method of backup isn't important; it's THAT you do a backup! Most people don't, and even those of us that do, rarely test the recovery process, which is equally as important. For my Macs, Time Machine makes this drop dead simple, and I have tested that on each machine successfully so I know I am good there.
 
Old 02-18-2020, 06:50 PM   #13
dave67
Member
 
Registered: Apr 2007
Posts: 423

Original Poster
Rep: Reputation: 68
The last time I updated windows 10 it took 5 hours to update to build 1909 0_o. If I update ubuntu it takes roughly 20 mins if the updates are core and kernel.
 
2 members found this post helpful.
Old 02-19-2020, 04:10 PM   #14
djk44883
Member
 
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141

Rep: Reputation: 29
This is a generalized comment. SSDs have become mature and reliable. Linux desktop system have become overly user-friendly. For the most part, a user can install their OS on an SSD without concern for special tweaking.

That's not to say you can't or ...if that's what you want or feel there's a need for it, fine tune it "just to feel better" about things - the freedom of free and open software.
 
1 members found this post helpful.
Old 02-20-2020, 11:23 AM   #15
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,252

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
I love all this talk about terabytes. When my PC died for Christmas, my new one gave me a great upgrade — instead of a 40 GB dive I now have all of 120 GB!
 
  


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
Access To Encrypted SSD Partition With Native Password in SSD>SATA Enclosure skidvicious Linux - Hardware 5 12-03-2015 04:40 PM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
To SSD or not to SSD jlinkels Linux - Hardware 14 10-02-2012 07:36 AM
SSD raid1 vs SSD raid10 advice ? wonker Linux - Hardware 8 05-23-2012 01:46 AM

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

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