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 |
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.
|
 |
10-05-2017, 02:08 AM
|
#1
|
LQ Newbie
Registered: Sep 2017
Posts: 6
Rep: 
|
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.
|
|
|
10-05-2017, 05:20 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,766
|
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.
|
|
|
All times are GMT -5. The time now is 06:03 PM.
|
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
|
|