TRIM or no TRIM?

Steven Hartland killing at multiplay.co.uk
Wed Jul 24 11:09:49 UTC 2013


----- Original Message ----- 
From: "Karl Pielorz" <kpielorz_lst at tdx.co.uk>
> --On 24 July 2013 11:07 +0100 Steven Hartland <killing at multiplay.co.uk> 
> wrote:
> 
>> 9.1 is a bit old, 9.2-BETA1 or 9/stable will be able to tell you if
>> indeed your SSD is reporting TRIM via:
>> camcontrol identify <disk>
> 
> 'bit old'? - if only freebsd-update handled updating to 'stable' (unless it 
> does?).
> 
> Anyway, the camcontrol runs on this ancient 9.1 system ;) and shows:
> 
> "
>  data set management (TRIM)     yes
> "
> 
> So it is supported by the drive - remembering the file system is mounted 
> from '/dev/raid/r0' - i.e. not the actual underlying drive). But everything 
> I've seen about geom etc. indicates on this version is should support 
> 'trim' - it may well even be using it, but with the warning logged about 
> 'disk does not confirm that it supports trim' - I'd rather be sure...

I'm guessing that the software raid your using doesn't support TRIM then

Have you considered switching to ZFS based install, which does support
TRIM in 9.2, 9/stable and 8/stable?

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-geom mailing list