LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-05-2017, 02:08 AM   #1
Assar
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Rep: Reputation: Disabled
reduce SSD wear&tear



Rep: Reputation: Disabled

SSD : reduce wear & tear
866/5000
What modifications should be made to reducing wear on SSD? I have read about "noatime" for example but did not get it EXACT how and
WHERE
you enter this in FSTAB! If it is wrong, the computer will not start o The entire installation is corrupt.
This is my current fstab:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/mint--vg-root / ext4 rrors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=437af9a5-5c9e-4a15-b07f-22640de64986 /boot ext2 defaults 0 2
/dev/mapper/mint--vg-swap_1 none swap sw 0 0



I used LVM2 when partitioning.


I'm not completely sure HOW I will mount the disks to access fstab if I would have to boot from a MINTSTICK o then try to edit fstab.
 
Old 10-05-2017, 05:20 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,095

Rep: Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090Reputation: 2090
I am using an ssd on /dev/sda. I've had these options for a few years and it hasn't blown up or refused to mount. These are available within 5 minutes with google, and I'm only bothering to answer this because I need to rest for a bit.
Code:
bash-4.3$ cat /etc/fstab
/dev/sda3        /                ext4        noatime,diratime,discard         	1   1
/dev/sda2        swap             swap        noatime,diratime,discard         	0   1
/dev/sda6	 /media/hd0	  ext4	      noatime,diratime,discard         	0   0
/dev/sda1	 /boot            auto        noatime,diratime,discard  	1   2
/dev/sda5        /home            ext4        noatime,diratime,discard         	1   2
/dev/sda7	 /mnt/virtual     ext4        noatime,diratime,discard,user     1   2
/dev/sr0         /mnt/cdrom       auto        noauto,user,ro,comment=x-gvfs-show 0   0
/dev/mmcblk0p1    /mnt/zip	  vfat        noauto,relatime,diratime,user,exec,dev,suid,nofail     0   0
/dev/sdb1	 /mnt/hd	  auto	      relatime,diratime,user,exec,dev,suid,nofail     0   0
/dev/sdb2        /mnt/tmp         auto        relatime,diratime,user,exec,dev,suid,nofail     0   0
/dev/sdb3        /mnt/dvd         auto	      relatime,diratime,user,exec,dev,suid,nofail     0   0 
/dev/sdc1        /media/hd1       auto        relatime,diratime,user,exec,dev,suid,nofail     0   0
/dev/sdc2        /media/zip1      auto        relatime,diratime,user,exec,dev,suid,nofail     0   0
/dev/sdc3        /media/dvd1      auto        relatime,diratime,user,exec,dev,suid,nofail     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
sdb & sdc are usb disks. BTW, mount really tries to mount stuff even if it gets stupid or incomprehensible options. It throws "you're a twit" type errors but you usually get going read only. You can remount even / rw with the sane options.
 
  


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
SSD : reduce wear & tear Assar Linux - Newbie 2 10-05-2017 07:55 AM
Power Saving vs Wear and Tear Advice. elsmandino Linux - Server 4 02-24-2017 07:11 PM
Move Kodi thumbnail cache to ram in Linux Lite to reduce ssd drive wear. Kevin Williams Linux - Software 2 01-21-2016 02:44 AM
MBR and hardware wear and tear SharpyWarpy Linux - Hardware 9 09-17-2012 06:42 PM
Environmental impact: 24/7 power vs. extra wear and tear on box sertiphyible Linux - Hardware 1 10-01-2009 04:43 PM

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

All times are GMT -5. The time now is 08:30 PM.

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