You are Here:
Linux Lite 4.0 Final has been released. See the Release Announcements Section.




Trim on NTFS and ext4

Author (Read 779 times)

0 Members and 1 Guest are viewing this topic.

Trim on NTFS and ext4
« on: June 07, 2018, 04:07:09 PM »
 

T1125P

  • Occasional Poster
  • **
  • 99
    Posts
  • Country: us
  • Reputation: 4
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: Intel i5-3340M

  • MEMORY: 8Gb

  • VIDEO CARD: Intel HD Graphics 4000
Hi all, I want to know if trim is indeed working on my NTFS hard drive in Linux Lite 3.8?
I have 2 SSD's in my laptop one is the main one with LL 3.8 the other is another one thats NTFS.
I ran the command fstrim --all -v and this is the output:



root@Dell-E6330:~# fstrim --all -v
/mnt/84786FC9786FB896: 16 EiB (18446744073709551615 bytes) trimmed
/: 207.7 GiB (222991659008 bytes) trimmed




where is says /mnt/ I'm not sure but it looks like that would be my NTFS drive and the one below that shows 207.7 would be my main LL drive thats ext4. Because it shows 2 entries that are trimmed.

I just came across NTFS-3G which was installed when I checked install/remove software. I also read that it does support Trim with NTFS.



Thanks
Last Edit: June 07, 2018, 05:05:55 PM by T1125P
 


Re: Trim on NTFS and ext4
« Reply #1 on: June 11, 2018, 05:04:40 PM »
 

kpanic

  • PayPal Supporter
  • Forum Regular
  • *****
  • 152
    Posts
  • Country: fi
  • Reputation: 16
  • Linux Lite Member

  • Linux Lite: 4.0 64bit

  • CPU: Core i5 M450

  • MEMORY: 8Gb

  • VIDEO CARD: Nvidia GT216
Hi,

Linux does not support NTFS very well because it is a proprietary filesystem.
Use ext4 filesystem and set mount option 'discard' to the corresponding fstab entry
to enable trim in your SSD

And of course you should not use any "tools" on a mounted filesystem in any case
Last Edit: June 11, 2018, 05:10:11 PM by kpanic
 

Re: Trim on NTFS and ext4
« Reply #2 on: June 16, 2018, 08:31:07 PM »
 

T1125P

  • Occasional Poster
  • **
  • 99
    Posts
  • Country: us
  • Reputation: 4
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: Intel i5-3340M

  • MEMORY: 8Gb

  • VIDEO CARD: Intel HD Graphics 4000
Oh, but I thought that with NTFS-3G  installed Trim would be supported on NTFS drives?
 


Tags:
 


Linux Lite 4.0 Final has been released. See the Release Announcements Section.