Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2020 11:43:43 -0300
From:      Mario Olofo <mario.olofo@gmail.com>
To:        Daniel Kalchev <daniel@digsys.bg>, FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Running FreeBSD on M.2 SSD
Message-ID:  <CAP4Gn9C8HKM6cqtcKZHSqUAB0Q54Xh5jwEv8e_%2BW4Z9FPizFfA@mail.gmail.com>
In-Reply-To: <84726861-EAD0-4D0B-9089-3D56DDDE3015@digsys.bg>
References:  <CAP4Gn9DFAoQtq6NP4hZ-Jq=ddnhp7Bzc_X%2BSce2FPVWn6kjASg@mail.gmail.com> <202002250115.01P1F9KX090465@mail.karels.net> <CAP4Gn9CqCSk5Lof_-05j1S0EWmTdB_HRfOe5zVig5khf7wJ0ow@mail.gmail.com> <188F34DA-192C-4D44-96B5-18A7DAE8EC67@digsys.bg> <6028c786-8610-01d9-818e-6f69a2fe9645@ingresso.co.uk> <20200225145346.GA42880@phouka1.phouka.net> <6e329bb8-b96e-fa16-cc73-426685593943@denninger.net> <CAP4Gn9D1==FR8S4O3jJbLXwNEYqffL2L_uhK8yHD2xBzJGemqQ@mail.gmail.com> <CAP4Gn9CqNpyz1S8QfDjm0vwhSVmjYMtk5Rt0Q3fZ=P_7nVMSSA@mail.gmail.com> <20200226234823.GB22189@lonesome.com> <CAP4Gn9D0Hn8F61tWokfo%2B0GY6zEodJU0LM115C3%2Bdpn3V7T=-A@mail.gmail.com> <CANCZdfquBd0PMGZ-unhrhn907nSrVpi2RpFqQqvgNxMtLNKJFg@mail.gmail.com> <CAP4Gn9AkBxBVN4aJnuTn083JSXCFFBr-fmGnVuoLvVAPqCCw3Q@mail.gmail.com> <84726861-EAD0-4D0B-9089-3D56DDDE3015@digsys.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Daniel,

Indeed setting the sysctl variable on install and after that on loader.conf
appears to solve the data corruption problem =3DO
Did the same as before, install git, node, npm, etc and all good.
I will build the kernel and install xorg and xfce to use more disk space
and see if some problem shows up

Thank you,

Mario

Em qui., 27 de fev. de 2020 =C3=A0s 10:41, Daniel Kalchev <daniel@digsys.bg=
>
escreveu:

> Like I wrote earlier:
>
> sysctl vfs.zfs.trim.enabled=3D0
>
> is your friend.
>
> Best to do this before installing and put vfs.zfs.trim.enabled=3D0 in
> /boot/loader.conf in the boot drive to permanently have it.
>
> Daniel
>
> > On 27 Feb 2020, at 14:19, Mario Olofo <mario.olofo@gmail.com> wrote:
> >
> > This was supposed to be disabled by the quirk 0x02
> (ADA_Q_NCQ_TRIM_BROKEN)
> > right?
> > There's some command to disable trim on installer boot and then
> permanently
> > after the install?
> >
> > Mario
> >
> >
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP4Gn9C8HKM6cqtcKZHSqUAB0Q54Xh5jwEv8e_%2BW4Z9FPizFfA>