Good Morning All,
Before I ported over to FreeBSD (which I am quite happy with), I had a command in Linux that would allow me to manually issue a
Ref: http://www.unix.com/man-page/All/8/fstrim/
This utility did two things: It showed the user on the cli the amount of data that needed to be trimmed, and then actually trimmed the file system at the same time. I wish to validate on my system that the UFS2 FS is actually following the trim that was setup in
While
I have read through wiki.freebsd, this webstite, wblocks excellent article on SSD's, the man pages, searched through the ports tree for anything that has "trim" in the file name, and lastly performed a
I don't see any similar command in FreeBSD that roughly parallels
Can someone please enlighten me how to accomplish this under FreeBSD?
Thank you,
Sincerely and respectfully,
Dave
Before I ported over to FreeBSD (which I am quite happy with), I had a command in Linux that would allow me to manually issue a
fstrim
command on a mounted file system. Ref: http://www.unix.com/man-page/All/8/fstrim/
This utility did two things: It showed the user on the cli the amount of data that needed to be trimmed, and then actually trimmed the file system at the same time. I wish to validate on my system that the UFS2 FS is actually following the trim that was setup in
newfs -U -t <Device/slice>
While
tunefs
in single user mode tells me that the trim flag is indeed set.....I'd really like to see what the filesystem is actually doing.I have read through wiki.freebsd, this webstite, wblocks excellent article on SSD's, the man pages, searched through the ports tree for anything that has "trim" in the file name, and lastly performed a
pkg search trim
. I have also done searched via google and yahoo and found a site that roughly approximates cli command parallels between Linux and FreebSD. Nothing is coming up.I don't see any similar command in FreeBSD that roughly parallels
fstrim
in linux. So I am assuming it is a script, or there is some procedure to do this in FreeBSD. If it's a procedure, then I'll encapsulate it in a shell script if a script doesn't already exist to do this somewhere.Can someone please enlighten me how to accomplish this under FreeBSD?
Thank you,
Sincerely and respectfully,
Dave