LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-03-2010, 04:14 AM   #1
deleted08
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Rep: Reputation: Disabled
Linux and SSD


Hey

Long time no see

Anyway, I'm upgrading one of my laptops to a 64GBSSD within the next few days (waiting for it to arrive) and suddenly thought, about the estimated life of the SSD, how badly will ext3 affect that?

I've heard ext2 doesn't journel as much as ext3 but what file system should I use? I will be using kernel 2.6.34

Thanks
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-03-2010, 04:28 AM   #2
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
I've just set up a net book with SSD, and read a bit about it. Journaling is in general not a good idea performance-wise on a SSD, but it can be disabled. I used ext4 with disabled journaling, like this guy:

http://fenidik.blogspot.com/2010/03/...e-journal.html

I also used a SD-card slot and installed a fast card which I used for a swap partition, and disabled the cache in Firefox.
 
2 members found this post helpful.
Old 08-03-2010, 04:33 AM   #3
TobiasH
LQ Newbie
 
Registered: Nov 2008
Posts: 12

Rep: Reputation: 1
You can use ext3 if you like. But don't use a swap partition on your SSD disk, add more RAM instead to your machine.

ext2 doesn't journal at all, and therefore it's better for a SSD disk. But this comes at the cost of a less secure file system.

So if you are more concerned about wearing your SSD down with ext4/ext4 you should use ext2, but if you want journaling you should use ext3. I'd recommend using ext4 because it has checksummed journaling which is safer.

/Tobias
 
2 members found this post helpful.
Old 08-03-2010, 04:52 AM   #4
deleted08
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks

When you say ext2 is a less secure FS, what do you mean by that? Data can be lost?
 
Old 08-03-2010, 07:00 PM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
SSD is pretty reliable these days, or so I've read, so I doubt if journaling would be a problem. One thing you can do to reduce access is to edit the mount parameters in /etc/fstab by adding noatime,nodiratime
 
Old 08-03-2010, 09:07 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
http://www.sagecertification.org/eve...h/shin_SSD.pdf for some tests.
 
Old 08-03-2010, 09:22 PM   #7
krasl
Member
 
Registered: Nov 2005
Distribution: Fedora 4
Posts: 40

Rep: Reputation: 15
Sector alignment may be important too, to achieve the best performance. See here: http://old.nabble.com/ATA-4K-sector-...929909i20.html
Or search Google for "linux ssd 4k sector" may yield some more results.
 
Old 08-04-2010, 05:09 AM   #8
TobiasH
LQ Newbie
 
Registered: Nov 2008
Posts: 12

Rep: Reputation: 1
ext2

With lower security in ext2 i meant that it's bigger risk of loosing data due to corruption on the disk because of the missing journaling in ext2.

/Tobias
 
Old 08-05-2010, 06:14 AM   #9
deleted08
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks for the help everyone

I'm going to go with ext4 with disabled journeling

I'm fitting my SSD in a couple of hours from now so bit nervous
 
Old 08-06-2010, 01:50 AM   #10
TobiasH
LQ Newbie
 
Registered: Nov 2008
Posts: 12

Rep: Reputation: 1
Hehe! Good luck with you new SSD disk!

I think the best with my SSD disk is the lack of noise! Completely silent! The performance is also a big plus though
 
Old 08-07-2010, 03:26 PM   #11
deleted08
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Original Poster
Rep: Reputation: Disabled
In the end, I went for ext2, as ext4 wasn't availble during the install

But thanks for you help
 
  


Reply



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
cloning mixed Linux - Win xp on new SSD for laptop trentfox Linux - Hardware 3 02-09-2010 07:46 PM
SSD TRIM support on Linux Thoreau Linux - Kernel 2 03-25-2009 04:05 AM
LXer: Intel X25-E Extreme SSD Benchmarks On Linux LXer Syndicated Linux News 0 02-24-2009 04:20 PM
Archlinux or Gentoo Linux more suited to a netbook with a SSD suicideducky Linux - Laptop and Netbook 10 12-16-2008 08:13 AM
New Linux user: Acer Aspire One, Limpus Linux OS w/8gb SSD drive acpiusa Linux - General 1 08-27-2008 05:22 AM

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

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