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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-10-2020, 08:27 PM
|
#1
|
Member
Registered: Apr 2007
Posts: 423
Rep:
|
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.
|
|
|
02-10-2020, 09:13 PM
|
#2
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
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.
|
02-10-2020, 09:27 PM
|
#3
|
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
|
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.
|
02-10-2020, 10:27 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
|
|
1 members found this post helpful.
|
02-15-2020, 07:43 AM
|
#5
|
Member
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141
Rep:
|
Quote:
Originally Posted by dave8671
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
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.
|
02-15-2020, 07:58 AM
|
#6
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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.
|
02-16-2020, 09:08 AM
|
#7
|
Member
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141
Rep:
|
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
|
|
|
02-17-2020, 07:14 PM
|
#8
|
Member
Registered: Apr 2007
Posts: 423
Original Poster
Rep:
|
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.
|
|
|
02-18-2020, 08:52 AM
|
#9
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,252
|
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.
|
02-18-2020, 09:42 AM
|
#10
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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.
|
|
|
02-18-2020, 12:23 PM
|
#11
|
Member
Registered: Apr 2007
Posts: 423
Original Poster
Rep:
|
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  .
|
|
|
02-18-2020, 01:12 PM
|
#12
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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.
|
|
|
02-18-2020, 06:50 PM
|
#13
|
Member
Registered: Apr 2007
Posts: 423
Original Poster
Rep:
|
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.
|
02-19-2020, 04:10 PM
|
#14
|
Member
Registered: Aug 2008
Location: Ohio
Distribution: debian
Posts: 141
Rep:
|
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.
|
02-20-2020, 11:23 AM
|
#15
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,252
|
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!
|
|
|
All times are GMT -5. The time now is 10:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|