Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] SSD discard / fstrim
Date: Thu, 04 Sep 2014 17:57:21
Message-Id: 20140904175719.GH7483@syscon7
1 This is my first SSD drive 480GB (the only one in the box). I read about all discard / trim option and just want to double check that I'm doing it correct.
2
3 I setup standard Gentoo and per instruction in Handbook.
4 Not I'm reading about discard
5 http://wiki.gentoo.org/wiki/SSD
6
7 Do I setup: fstrim -v /
8 or discard in fstab:
9 /dev/sda2 /boot ext2 noauto,noatime 1 2
10 /dev/sda4 / ext4 defaults,relatime,discard 0 1
11 /dev/sda3 none swap sw,pri=3,discard 0 0
12
13 Can I use them both?
14 Do I need to add "discard" to /boot?
15
16
17 --
18 Joseph

Replies

Subject Author
Re: [gentoo-user] SSD discard / fstrim "Сергей" <protserovsd@×××××.com>
Re: [gentoo-user] SSD discard / fstrim Peter Humphrey <peter@××××××××××××.uk>