Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an Acer Aspire One with an SSD for storage. I recently installed Ubuntu on it and chose ext4 for my filesystem. Then I read that journaling on an SSD isn't the best idea, so I will try to disable journaling and I have found these intstructions (from http://fenidik.blogspot.com/2010/03/ext4-disable-journal.html):

# Create ext4 fs on /dev/sda10 disk
mkfs.ext4 /dev/sda10

# Enable writeback mode. This mode will typically provide the best ext4 performance.
tune2fs -o journal_data_writeback /dev/sda10

# Delete has_journal option
tune2fs -O ^has_journal /dev/sda10

# Required fsck
e2fsck -f /dev/sda10

# Check fs options
dumpe2fs /dev/sda10 |more

For more performance add fstab opions: data=writeback,noatime,nodiratime
i.e:
/dev/sda10 /opt ext4 defaults,data=writeback,noatime,nodiratime 0 0

I will use them on my boot partition. Are there any particularly bad parts here, or are there any missing steps? Will my boot partition be fit for being on an SSD after this?

Or should I consider switching to ext2, or even reinstall it all and choose ext2 at partitioning time (I'd rather not though, since I've configured quite some stuff already)?

share|improve this question
1  
This post describes a similar method, and also explains how to get TRIM working with ext4: cptl.org/wp/index.php/2010/03/30/… –  sblair May 27 '10 at 9:55
    
I've only read the beginning yet, but it seems to be a very good guide. Thanks! –  Peter Jaric May 27 '10 at 10:14
add comment

2 Answers

up vote 1 down vote accepted

This post describes a similar method, and also explains how to get TRIM working with ext4.

share|improve this answer
add comment

I used the guide that sblair referred to and it seems to have worked fine. Unfortunately I can not mark that as the answer since it was only a comment...

share|improve this answer
    
Ok, I've upgraded my comment to an answer (I originally didn't think it really answered your question). So feel free to accept my answer if you wish - that way we both get some points :) –  sblair May 28 '10 at 22:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.