Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2015 11:48:38 +0100
From:      krad <kraduk@gmail.com>
To:        "Brandon J. Wandersee" <brandon.wandersee@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: gjournal and TRIM: A safe combination?
Message-ID:  <CALfReyfg-71nCg4K0dKmUK-YmZ8yi0ppeGGv4WOD-2Mt8NP9HQ@mail.gmail.com>
In-Reply-To: <867fmh12nq.fsf@WorkBox.Home>
References:  <867fmh12nq.fsf@WorkBox.Home>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyfg-71nCg4K0dKmUK-YmZ8yi0ppeGGv4WOD-2Mt8NP9HQ>