Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jul 2013 16:48:38 -0400
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: UFS Trim wont stay set
Message-ID:  <51D5DFA6.6010202@intertainservices.com>
In-Reply-To: <20130704203342.GA98181@icarus.home.lan>
References:  <51D5CEF8.9000504@intertainservices.com> <20130704203342.GA98181@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D5DFA6.6010202>