From owner-freebsd-questions@freebsd.org Wed Oct 21 10:48:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95595A1AA90 for ; Wed, 21 Oct 2015 10:48:40 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CEE614EB for ; Wed, 21 Oct 2015 10:48:40 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by wicfv8 with SMTP id fv8so68696282wic.0 for ; Wed, 21 Oct 2015 03:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dUjGqGWENfMrrCrxRvfzFbXwyLu4iT292MLbV+Almm4=; b=TgqazNYotgGsMMVczAaLBWsBxCbDMnmqSbTB8VqwzvUEXaaQbDHoyUqu/hqCWasRe7 xen/GwPpSpE5qLdoGKytlFKhHzJK8NTdP/P+uFK4QzD/l3Mo22JeDydfydm3/5k+QABz dd18YbpwQmPSBIz5DZU25Hd27gricqQzb3m5PtYM4mPjXTbqTp8qdV/Rlvk3bFpyRRbm nxp5vvMOYR6Us4jZ7v2Nf7VIJ+0hqC5CHuaEueIiltdJRRvNL4lnSng6HIh/tu1DsKWg HL81z1ifGcUpDYgPBGmg7QeinTS0Ai3p9xLNyUmj3L++GNDHFt49vYcbAIE37PVsUmS5 67Pw== MIME-Version: 1.0 X-Received: by 10.194.19.169 with SMTP id g9mr9645980wje.64.1445424518234; Wed, 21 Oct 2015 03:48:38 -0700 (PDT) Received: by 10.28.181.193 with HTTP; Wed, 21 Oct 2015 03:48:38 -0700 (PDT) In-Reply-To: <867fmh12nq.fsf@WorkBox.Home> References: <867fmh12nq.fsf@WorkBox.Home> Date: Wed, 21 Oct 2015 11:48:38 +0100 Message-ID: Subject: Re: gjournal and TRIM: A safe combination? From: krad To: "Brandon J. Wandersee" Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2015 10:48:40 -0000 I thought SU+J was the preferred method these days, not gjournal. I quite out of touch with ufs these days though. On 21 October 2015 at 01:33, Brandon J. Wandersee < brandon.wandersee@gmail.com> wrote: > > I've recently created several new UFS partitions on an SSD. I activated > gjournal on the largest--about 200Gb in size--and afterward received a > warning during boot-up: > > WARNING: /usr/home: TRIM flag on fs but disk does not confirm that > it supports TRIM > > The disk does indeed support TRIM, and `camcontrol identify` can detect > as much, but it seems gjrounal interferes with this detection. But does > it actually interfere with TRIM in any way? More importantly, does it > endanger the data on the filesystem at all? The real issue, I suppose, > is that there are four possible formatting options: > > 1. UFS with TRIM, but without journaling. Disk performance is > maintained, but data is unprotected in the event of a crash. > > 2. UFS with journaling, but without TRIM. Data is likely protected should a > crash occur, but the filesystems need to be periodically recreated with > `newfs -E`to restore performance. > > 4. UFS with both journaling and TRIM. Ideal, so long as one doesn't > interfere with the other. > > 3. UFS with neither journaling or TRIM. Not an option. > > I guess I'm just curious which of the first three I should go for. Daily > backups are part of my routine in any case. Thanks in advance for any > advice or clarification. > -- > ================================================================== > :: Brandon Wandersee :: > :: brandon.wandersee@gmail.com :: > ================================================================== > 'A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools.' > - Douglas Adams > ================================================================== > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >