unable to enable trim?
-
I just rebuilt my firewall and I'm going through a few things and thought I'd check to make sure trim is enabled since fstrim obviously doesn't work so I can't just add a cron job.
/sbin/tunefs -p / gives me the following...
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)
My drive is a SATA SSD and trim is disabled.
I tried the option found here
https://forum.netgate.com/topic/87458/2-2-4-and-how-i-enabled-trim
BUT booting from a bootable USB installer goes straight to the installer.
I'm running 2.5.2-Release. How do I enable trim?running tunefs -t enable gives me.....
tunefs: /dev/gptid/45501687-7d62-11ec-9295-90e2ba8c936c is not clean - run fsck.
running fsck comes back with everything clean, reboot confirms.
Any ideas?
-
@visseroth said in unable to enable trim?:
BUT booting from a bootable USB installer goes straight to the installer.
I'm running 2.5.2-Release. How do I enable trim?You should see the big pfsense ASCI logo showing up while it's booting.
That's the moment you can "press a key" (I don't remember the screen) to boot into console single user mode. -
@gertjan Guess somehow I missed that.
Tried again successfully.
Thanks!