Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 May 2015 18:09:32 +0200
From:      "lokadamus@gmx.de" <lokadamus@gmx.de>
To:        Mike Tancsa <mike@sentex.net>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: enabling TRIM on an existing UFS file system ?
Message-ID:  <554CDFBC.3020804@gmx.de>
In-Reply-To: <554CCE55.9090307@sentex.net>
References:  <554CCE55.9090307@sentex.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 05/08/15 16:55, Mike Tancsa wrote:
> 
> I noticed TRIM was not enabled on an existing SSD drive, so I thought I
> would shut the box to single usermode and enable it.
> 
> But once I boot up, it seems to be disabled again ?
> 
> 0(mdt)# tunefs -p /dev/ada0p2
> tunefs: POSIX.1e ACLs: (-a)                                disabled
> tunefs: NFSv4 ACLs: (-N)                                   disabled
> tunefs: MAC multilabel: (-l)                               disabled
> tunefs: soft updates: (-n)                                 enabled
> tunefs: soft update journaling: (-j)                       enabled
> tunefs: gjournal: (-J)                                     disabled
> tunefs: trim: (-t)                                         disabled
> tunefs: maximum blocks per file in a cylinder group: (-e)  4096
> tunefs: average file size: (-f)                            16384
> tunefs: average number of files in a directory: (-s)       64
> tunefs: minimum percentage of free space: (-m)             8%
> tunefs: space to hold for metadata blocks: (-k)            6408
> tunefs: optimization preference: (-o)                      time
> tunefs: volume label: (-L)
> 0(mdt)#
> 
> the SSD seems to report that it does support TRIM
> 
>     ---Mike
> 
I kick some lines of your mail.
Have you set the parameter in your fstab?
http://www.freebsd.org/cgi/man.cgi?query=tunefs

greetings



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?554CDFBC.3020804>