Slackware This Forum is for the discussion of Slackware 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.
|
|
11-14-2013, 07:43 PM
|
#1
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,241
|
Time to do some TRIMming...
So now that I am on Slackware14.1 , and 3.10 kernel series, TRIM for JFS is now supported, though I can't seem to figure it out. Tried to peruse the man pages for all JFS , nothing really about TRIM, I guess I am looking in the wrong place?
How do I get started with TRIM for JFS for my SSD?
Last edited by Jeebizz; 11-14-2013 at 07:46 PM.
|
|
|
11-14-2013, 08:10 PM
|
#2
|
Member
Registered: Aug 2004
Distribution: Slackware
Posts: 216
Rep:
|
TRIM isn't jfs specific. Just add discard after defaults in your fstab on your ssd partitions,
reboot, and never think about it again.
For example, change
/dev/sda2 / jfs defaults 1 1
to
/dev/sda2 / jfs defaults,discard 1 1
|
|
1 members found this post helpful.
|
11-14-2013, 08:18 PM
|
#3
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,241
Original Poster
|
Ah ok, where can I get some more info though about that option discard?
Also thanks for the help!
Last edited by Jeebizz; 11-14-2013 at 08:24 PM.
|
|
|
11-14-2013, 11:21 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,826
|
If you are using an SSD, which I assume you are since you are asking about trim, you should add "notime" to your fstab also.
/dev/sda2 / jfs defaults,discard,noatime 1 1
Last edited by Daedra; 11-14-2013 at 11:38 PM.
|
|
|
11-15-2013, 05:02 AM
|
#5
|
Member
Registered: Sep 2011
Posts: 925
|
To trim the free space of a file system, use fstrim(1).
|
|
|
11-15-2013, 02:10 PM
|
#6
|
Senior Member
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,241
Original Poster
|
I will look into more info on how to do that, since I don't understand at all how to use it - and don't really want to make any other changes just yet. Overall if I keeping discard option in my fstab is all that I need, then I'm happy right now
|
|
|
All times are GMT -5. The time now is 05:12 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
|
|