[PC-BSD Testing] 9.1-RC2 ssd, hdd and trim

Kris Moore kris at pcbsd.org
Thu Oct 18 15:14:00 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/18/2012 16:18, Lars Engels wrote:
> On Thu, Oct 18, 2012 at 05:44:20AM -0400, Kris Moore wrote:
>> On 10/17/2012 02:18, N V wrote:
>>> Hi.
>>>
>>> If I have ssd in the system, but install RC2 onto the hdd (currently -
>>> external usb hdd), installer sets TRIM flag for the filesystems.
It's not the
>>> problem, but generates warnings during the boot. )
>>>
>>> Regards,
>>> Vans.
>>> _______________________________________________
>>> Testing mailing list
>>> Testing at lists.pcbsd.org
>>> http://lists.pcbsd.org/mailman/listinfo/testing
>>
>> This is by design at the moment. We want TRIM on by default so SSD's are
>> happy. I'll find out if we can hide the warning though, since it just
>> turns the option off at boot if TRIM isn't supported.
>
>
> But why is TRIM globally enabled for all disks in the system, if only
> one of them (which isn't even used in this case) that supports TRIM?
>

Its on because it doesn't cause any issues (except for the warning), and
at the moment I don't have any SSD auto-detection in the installer.
Better to support SSD this way, instead of not at all. If I could find
some geom magic keyword to indicate a SSD, then I could auto-detect and
selectively enabled it. Do you know of any method at the moment?

- -- 
Kris Moore
PC-BSD Software
iXsystems
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQgH8oAAoJEH/cIgwwV3zXGg4IAJatOHU9hOBC1UxCM0upixQX
WbCJ0aED+NhRCf7HqYgMy7HwPfn1GoTFphQpiMtGEhHI7ovm9SAIgV9QsYA2IVZE
QXX/IktkVzG3g1Wmq91+ud4W986AUaNUwukyS+XfsSvTNfKnRkP39/4E9yAOGwqi
FNl+0kahYtITotBFbkvd0nHV9fPIuD0Gm/U3dDRBDy1Nj8PRvQio3bv7Q+L/iHUf
Yc0mHCgYCvyJLoG0Kcxoap6kSMbKfF0ijGsqoXzV11Ael3dmPu3uhABqFs+bXrao
zEow77XfXY+TAQ05OcxsI1xvN90yMgybuQ70TDwxOT0Wmr6nxumZw6wAMJazcks=
=tT0L
-----END PGP SIGNATURE-----



More information about the Testing mailing list