UFS Trim wont stay set

Mike Jakubik mike.jakubik at intertainservices.com
Thu Jul 4 20:48:41 UTC 2013


On 07/04/13 16:33, Jeremy Chadwick wrote:
> Yup, experienced this myself many times over. The reasons are 
> understood (it's not limited to just the TRIM bits, it's related to 
> anything adjusting the superblock -- it gets cached in memory in 
> certain situations and not flushed back to disk). Hint: are you 
> booting into single user and then issuing a "mount" command before 
> doing your tunefs stuff? If so, this is probably what's causing it (at 
> least it was in my case). Instead just boot into single-user, do not 
> mount anything, and use /sbin/tunefs (if available -- depends on your 
> filesystem setup) or /rescue/tunefs. 

I booted in to single user mode and the system mounted the only file 
system there, which is mounted at /. What i did now however is boot off 
a Live CD and run tunefs, this did the trick!

Thank You!



More information about the freebsd-stable mailing list