LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 08-09-2020, 04:16 PM   #1
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Rep: Reputation: 41
Saving my SSD


My /etc/fstab shows...

/dev/mapper/bodhi--vg-root / ext4 errors=remount-ro 0 1

...while it's installed on an older notebook with early SSD drive. Should I have installed it on an ext2 file system to reduce wear?

I tried to disable jounaling on my installed ext4 file system by booting the USB installation media and invoking tune2fs, but it told me I had a bad magic number on a LVM parttioned drive. So is my only option to re-install using ext2?
 
Old 08-09-2020, 05:53 PM   #2
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 795

Rep: Reputation: 181Reputation: 181
i don't know a whole lot about journaling, but isn't most (all?) of that stored in /var/log? if so and you don't want to reinstall, i wonder if it would be possible to symlink /var to an external drive? auto-mount the external in fstab and send the bulk of writes to that drive.
 
Old 08-09-2020, 06:18 PM   #3
cwizardone
LQ Guru
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 5,893
Blog Entries: 1

Rep: Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211
Have you considered using F2FS for your SSD?

https://en.wikipedia.org/wiki/F2FS

Here is a recent "conversation" on the subject. Reading through it may or may not help.


https://www.linuxquestions.org/quest...or-4175673968/

Last edited by cwizardone; 08-09-2020 at 06:21 PM.
 
Old 08-09-2020, 06:48 PM   #4
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Original Poster
Rep: Reputation: 41
I was not aware of that, but as it's a little more complicated, I decided to re-install. That would make it simpler if I ran into problems. Thank you for the suggestion.
 
Old 08-10-2020, 10:19 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,452

Rep: Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564Reputation: 3564
Not an expert here but how old is old? Running a S.M.A.R.T. test should output the health as well as the wear level count which is one way to estimate its remaining life.
Did you run tune2fs using the logical volume name and not the partition ID?

To check if your drive supports trim run the command:
lsblk --discard

If DISC-GRAN and DISC-MAX are non zero your drive supports trim.
https://wiki.archlinux.org/index.php/Solid_state_drive

If you still want to use ext2 then you might also want to consider using noatime or relatime as a mount option to limit writes. Using noatime will break applications that use access times. Since ext2 does not support trim if your SSD is capable you should occasionally run fstrim to clear out the garbage.
 
1 members found this post helpful.
  


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 - Distributions > Bodhi

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