Installing CentOS 6.3 on a new SSD

General support questions
Post Reply
JohnnyB
Posts: 2
Joined: 2013/03/02 02:55:13

Installing CentOS 6.3 on a new SSD

Post by JohnnyB » 2013/03/02 03:09:34

Hello everyone. I’m a lifelong Windows user who has finally decided to make the move to Linux. I’d like to install the 64-bit version of CentOS 6.3 on a new 512GB Crucial SSD I recently installed in my Lenovo ThinkPad T520. With all that said, I’d appreciate the forum’s advice regarding the following.

1) Should my SSD be partitioned differently than a standard mechanical hard drive?

2) How do I enable TRIM?

3) When using ext4 on an SSD, is there a way to lessen the amount of journaling done by CentOS? I’ve read doing so will extend the life of my SSD.

Thank you to all who reply.

User avatar
TrevorH
Forum Moderator
Posts: 32144
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Installing CentOS 6.3 on a new SSD

Post by TrevorH » 2013/03/02 03:17:00

1) No, but you might want to look at using LVM instead of plain partitions as it's more flexible, allowing for dynamic expansion (and to a lesser and more difficult extent, shrinkage) of file systems.

2) Add the word 'discard' to the file system options in /etc/fstab like
[code]
/dev/mapper/VolGroup-lv_root / ext4 defaults,noatime,nodiratime,discard 1 1
[/code]

3) See also noatime,nodiratime above. To be honest, I'm not sure that worrying about the lifepsan of an SSD due to excessive writes is a concern any more. I've had an Intel x25m 160GB in my desktop for going on 3 years now and it reports having written about 2TB to the drive in that time and that's fraction of the 178TB that Intel say you can write to the drive in 5 years.

JohnnyB
Posts: 2
Joined: 2013/03/02 02:55:13

Re: Installing CentOS 6.3 on a new SSD

Post by JohnnyB » 2013/09/20 22:26:15

Thank you, TrevorH. As sad as it sounds, I'm just now getting back to this project!


JohnnyB

Post Reply