From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8F03013877A for ; Thu, 4 Sep 2014 17:57:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0ABCAE09D9; Thu, 4 Sep 2014 17:57:14 +0000 (UTC) Received: from mail142c7.megamailservers.com (mail111c7-2520.megamailservers.com [69.49.98.21]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3748E09D2 for ; Thu, 4 Sep 2014 17:57:12 +0000 (UTC) X-POP-User: admin@sys-concept.com X-VIP: 69.49.109.100 Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail142c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s84Hv9wD028203 for ; Thu, 4 Sep 2014 13:57:11 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 2488220027C; Thu, 4 Sep 2014 11:57:19 -0600 (MDT) Date: Thu, 4 Sep 2014 11:57:19 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] SSD discard / fstrim Message-ID: <20140904175719.GH7483@syscon7> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-CTCH-RefID: str=0001.0A020201.5408A7F7.013E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=aZZYw3Yt c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=Unq3plm5DvEA:10 a=M1kyBYkWWGkA:10 a=jUXUu1kZZ4MA:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=7mOBRU54AAAA:8 a=ogZVlEb-wHfG6iRtWWUA:9 a=wPNLvfGTeEIA:10 X-Archives-Salt: 5690e557-6d4a-4d60-9b9d-1619db603bd8 X-Archives-Hash: 0f43bb08903e8c76c7d58ff9a68b4163 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. I setup standard Gentoo and per instruction in Handbook. Not I'm reading about discard http://wiki.gentoo.org/wiki/SSD Do I setup: fstrim -v / or discard in fstab: /dev/sda2 /boot ext2 noauto,noatime 1 2 /dev/sda4 / ext4 defaults,relatime,discard 0 1 /dev/sda3 none swap sw,pri=3,discard 0 0 Can I use them both? Do I need to add "discard" to /boot? -- Joseph