What version of 2.6. Apparently a lot of what you want to do got added to 2.6.37, on RHEL 6 you are likely on 2.6.35.
This thread should have some helpful advice, http://opensuse.14.n6.nabble.com/sbin-fstrim-home-FITRIM-ioctl-failed-Operation-not-supported-td3320223.html -- Ben On Thu, Feb 14, 2013 at 10:03 AM, Michael Quick <[email protected]>wrote: > Thanks for the feedback, that explained it quite succinctly........ > > sudo fstrim -v /boot > /boot xxxxxxxxxxx bytes were trimmed, all is right with the world :-). > > sudo fstrim -v / > fstrim /: FITRIM ioctl failed: Operation not supported . WTH, Are you > stupid? > > > > > > > On Wed, Feb 13, 2013 at 4:50 PM, Chris Knadle <[email protected]>wrote: > >> On Wednesday, February 13, 2013 16:22:47, Michael Quick wrote: >> > I'm old school running RHEL6 with Kernel 2.6 x86_64... I might as well >> > have just said I was running my OS off of 5 and a quarters... lol >> >> AFAICT there is a conceptual problem with TRIM + LUKS. >> >> The idea behind LUKS is having the entire partition encrypted (usually >> filled >> with random garbage first), and then putting a filesystem on top of the >> random >> garbage. This means that the LUKS partition is "always full". The idea >> behind TRIM is to tell the SSD which blocks are now unused. These seem >> to be >> mutually-exclusive things. >> >> According to Wikipedia only certain filesystems support TRIM. Ext4 and >> XFS >> do, but Ext3 supposedly only supports offline TRIMming via a system call. >> >> Out of curiosity what error are you getting? >> >> -- Chris >> >> -- >> Chris Knadle >> [email protected] >> _______________________________________________ >> Mid-Hudson Valley Linux Users Group http://mhvlug.org >> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug >> >> Upcoming Meetings (6pm - 8pm) Vassar College >> Feb 6 - Raspberry Pi >> Mar 6 - 10th Anniversary Meeting - Linux where you least expect it >> Apr 3 - Typography: Physical Art to Digital Art >> > > > _______________________________________________ > Mid-Hudson Valley Linux Users Group http://mhvlug.org > http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug > > Upcoming Meetings (6pm - 8pm) Vassar College > Feb 6 - Raspberry Pi > Mar 6 - 10th Anniversary Meeting - Linux where you least expect it > Apr 3 - Typography: Physical Art to Digital Art > >
_______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) Vassar College Feb 6 - Raspberry Pi Mar 6 - 10th Anniversary Meeting - Linux where you least expect it Apr 3 - Typography: Physical Art to Digital Art
