The trim command is only used on SSDs (Solid State Drives); it must be supported by the host OS as that informs the drive to perform safe 'garbage collection' on blocks of data that are unused and so can be wiped.

learn more… | top users | synonyms

0
votes
0answers
23 views

Large ammount of data trimmed after running fstrim

Each time after I restart my computer I run fstrim. And each time this is the output I receive: emil@emil-Lenovo-G580 ~> sudo fstrim -v / [sudo] password for emil: /: 84.2 GiB (90372820992 bytes) ...
1
vote
0answers
13 views

I Keep Getting DIfferent Large Numbers When Trimming SSD

Each time I type the command "sudo fstrim / -v", I keep getting large numbers like 9 digits. It should say 0, since I haven't deleted anything? Are my deleted files actually trimmed? Blossom
1
vote
0answers
135 views

Ubuntu 14.04 installed on Samsung 850 Pro 512GB results in data corruption

In short: Does anybody know why running Ubuntu 14.04.3 LTS on Samsung 850 Pro 512GB drive results in corrupted file system and random files disappearing? Here is the long story: In 2013 I got ...
0
votes
0answers
32 views

fstrim on ntfs trims EiB instead of GiB

Why fstrim on 30 GB ntfs partition says 16 EiB (18446744073709551615 bytes) trimmed. Why so much ?
1
vote
0answers
60 views

14.04 LTS Trim problem on an SSD

I own a Lenovo laptop with an M.2 NGFF slot. I put a 128 GB ZTC SSD card. This card is GPT partitioned and seen as sdb. I use it for the / which is EXT4 formated. Then I did a fresh install of Ubuntu ...
2
votes
1answer
99 views

What is so dangerous about --trim-sector-ranges?

I have an SSD that I want to TRIM before installing Ubuntu on it. It has been suggested to me, that I leave some unpartitioned space, such that the wear leveling will have free blocks to work with. ...
0
votes
0answers
86 views

SSD - Trim - trimmed a lot of data

I have a Xubuntu distribution and a new SSD (Plextor 128GB) Partitions scheme: 16GB / 52GB home rest free Every day Cron runs script: #!/bin/sh LOG=/var/log/trim.log echo "*** $(date -R) ***" ...
0
votes
0answers
25 views

Intel 330 Series SSD Trim Compatability

Hi guys I'm rebuilding a eMachines eM350 Netbook and I'm going to be using an Intel SSD as mentioned above, checking the BIOS has AHCI enabled, I was wondering if Ubuntu Post-14.10.5 Has the TRIM ...
0
votes
1answer
404 views

How is trim enabled in Ubuntu 15.04? [duplicate]

Does it work once a week or does it continually trim the system? I have seen answers for this but they refer to Ubuntu 14.04 but not to Ubuntu 15.04
0
votes
0answers
70 views

Hardware raid 0 SSD with TRIM

I currently use 1 SSD with discards enabled in my fstab, but I am looking to move to 2 SSD's in RAID 0. If I hardware raid 0 the drives using my motherboard, would trim still work using the discard ...
1
vote
1answer
221 views

FSTrim, how to check if it was succesful in the last run

I recently installed an SSD and AFAIK Ubuntu makes a weekly FSTrim on SSD's that support it. Is there a log file of this Trims ?
0
votes
0answers
302 views

How to enable TRIM on Crucial BX100 SSD?

Changing back from Windows to Ubuntu after a good 5 years or so on windows and can't rememer much. 1) Do I need to enable TRIM or any other ssd features for a crucial BX100 on Ubuntu 15.04? Will the ...
0
votes
0answers
1k views

Enable TRIM for Kingston SSDNow v300 on Ubuntu 15.04? [duplicate]

Although Ubuntu 14.04 enables TRIM out-of-the-box, it only does so on Intel and Samsung SSDs. I bought a Kingston SSDNow v300, not knowing that Kingston wasn't supported, and now I'm rather lost. How ...
0
votes
1answer
90 views

TRIMming shared partition in dual-boot on SSD

In a couple of days, I'm going to buy a new notebook (Asus N551, should it matter), tending to replace the HDD with a Samsung EVO 500GB SSD. I'll set it up in a dual-boot configuration of Windows ...
0
votes
0answers
19 views

Is Trim enabled? [duplicate]

Is TRIM also enabled and working when moving the root partition to a Samsung Evo 850 SSD (no clean-install)? The home partition is still on my HDD. I've done this 2 months ago. I do know that TRIM is ...
1
vote
2answers
470 views

Disable TRIM to avoid file system corruption

I read the following article on a problem with TRIM and Samsumg. I am running Ubuntu 14.04.1 and I have a Samsung PRO 850 of 250GB. I am worried to get my file system damaged due to same firmware ...
3
votes
0answers
2k views

Samsung SSD, TRIM and Ubuntu 15.04

In light of a recent issue raised in regards to Samsung SSD firmware relating to TRIM and the related launchpad bugs for Ubuntu.. Bug# 1465663 'libata Samsung SSD 8 series TRIM blacklist' and the ...
0
votes
1answer
76 views

About TRIM command execution

I have some question about TRIM command for SSDs. First of all, mounting partitions with discard option vs. trim in crontab. I'm aware discard option forces immediate trim after every single file ...
1
vote
1answer
46 views

Is it possible to use a dedicated parity drive without striping?

I'm setting up a log server. I'd like to set them up so that each disk is independent of the next, but the last disk is parity of all the rest. The reason why I want this is because: You can't ...
0
votes
0answers
118 views

Problem enabling TRIM on SSD on Ubuntu 14.04/Dell Power Edge T620 workstation

I have problem activating TRIM on INTEL SSDs in a Dell PowerEdge T620 workstation. The SSDs are handled by BIOS and not behind the HW RAID controller. The symptoms are the following: fstrim -v /ssd ...
1
vote
1answer
115 views

Ubuntu 14.10 does trim SSD RAID 0 discs?

I've got Ubuntu 14.10 in a RAID 0 set up with 2 x Samsung Evo 840 SSD 256Mb, for performance reasons while acessing/modificating very large files. I've also got a schedule backup to another HDD for ...
1
vote
2answers
292 views

convert with bash - trim/crop and center

i need a fast and reliable way to modify a lot of images. There is a lot of white around my pictures i want to get rid about. The problem is, it is a number of similar pictures, but they have ...
0
votes
0answers
19 views

enable trim for mounted ntfs partition on dual boot system [duplicate]

I have a dual boot that I set up following this great manual on lifehacker (http://lifehacker.com/5403100/dual-boot-windows-7-and-ubuntu-in-perfect-harmony). So I have just like the author 4 sda ...
0
votes
0answers
15 views

full disk encryption on SSD with trusty [duplicate]

I am about to install a new SSD into my laptop and I have to do full-disk encryption due to regulations where I work. Since this is a new install I can get it right from the outset. How can I install ...
1
vote
1answer
728 views

fstrim not supported on USB flashdrive?

Not sure this has already been properly sorted (but I am a noob) New install of 14.04 server installed on a brand new SanDisk 16Gb USB stick mounted on the internal USB connector of a HP Proliant ...
2
votes
1answer
3k views

On ubuntu 14.04 how do you check if TRIM is on for an SSD drive

On ubuntu 14.04 how do you check if TRIM is on for an SSD drive? Other settings worth verifying for an SSD drive?
0
votes
1answer
347 views

fstrim does not work (Ubuntu 14.04, ext4, Intel SSD 520)

I've been googling around for hours without having found an answer. I've found some hints, but they don't correlate with each other. $ sudo hdparm -I /dev/sda | grep TRIM * Data Set ...
1
vote
0answers
79 views

large amount of data TRIMMed on SSD

I just recently set up a new PC with an SSD/HDD combo; my linux partition on my SSD is mounted as / with /home mounted on my HDD. I have the noatime and discard flags set for my SDD in /etc/fstab, ...
0
votes
1answer
282 views

TRIM and file fragmentation on an SSD

I ran the TRIM test proposed by frostschutz and also found here. The result 1MB file is highly fragmented. How can that be ? My one and only storage device /dev/sda is a Samsung 500GB SSD. It is ...
1
vote
1answer
153 views

TRIM on encrypted device with Precise

I have migrated the main data to a new SSD. (That is Samsung 840 EVO, 120GB.) My ~ is an encrypted partition automounted by pam_mount. That is, there is a record in /etc/security/pam_mount.conf.xml ...
0
votes
1answer
58 views

Trim for SDD in Trusty

I have 4 partitions in Trusty: on SDD there are 3: 'boot/EFI', Swap & one mounted at / which contains all other directories except /home; on HDD there is one mounted at /home containing /john ...
3
votes
1answer
245 views

Can I 'reset' an SSD to improve its performance?

I think my SSD is getting a bit slower with time. I think it just might be the case, if TRIM is not supported by my version of Ubuntu. I have an Intel 520 SSD in a Thinkpad laptop. I am using Ubuntu ...
4
votes
1answer
798 views

anacron not working

I have a clean install of Xubuntu 14.04 32-bit, and anacron doesn't seem to be working. I read that it's better to use a cron job to trim SSDs, and that Ubuntu has a cron job to do that, so I removed ...
3
votes
1answer
2k views

A command which checks that trim is working?

I have installed Ubuntu 14.04 LTS 64bit, and would liek to make sure that TRIM is enabled (as much as I know - it is enabled by default). Is there asome sort of command which would help me to find out ...
3
votes
0answers
1k views

Does Ubuntu 14.04 support SSD TRIM on Software RAID? [duplicate]

I'm using the softwareraid (mdraid) RAID1 on 2 Intel SSD DC S3500 and I found there's a fstrim job on cron.weekly. Does it mean Ubuntu supports it? I could not find any article saying that SSD mdraid ...
0
votes
1answer
109 views

Tell fstrim to ignore mount?

I've just enabled fstrim cron job on my new build in ubuntu 14 as it wasn't turned on by default. My question is, how do i tell it to ignore certain mounts? ie my SSD is my boot drive but I have a ...
2
votes
0answers
181 views

full disc encryption with SSD

I'm about to reinstall Ubuntu onto my laptop. If I use full encryption, which I desire, how will this impact performance of the SSD and FSTRIM? Will I still be able to use it or will it be ...
14
votes
2answers
13k views

Do I need to enable TRIM if I have a non-Intel/Samsung

I read in one of the webupd8 articles that TRIM support, which was introduced in Ubuntu 14.04, by default only works for Intel and Samsung SSDs. What about other? I am using Dell XPS 13 Dev Edition ...
0
votes
3answers
3k views

Can Ubuntu TRIM another (NTFS) partition?

I have three questions for Ubuntu and TRIM/SSD experts. I've got SSD drive (SanDisk SDSSDP128G 128Gb). Currently, it is the only hard drive. Connected via SATA cable however in BIOS using IDE mode ...
1
vote
1answer
110 views

Enable TRIM on the windows partitions?

Do I need to enable TRIM for the windows 8.1 partition on my dual boot ultrabook if I will be reading/writing to the windows partition while booted into Ubuntu? Also do I need to enable it for a ...
1
vote
1answer
2k views

USB: Enable Trim (FITRIM ioctl failed: Operation not supported)

First of all, I am pretty surprised my usb flash device supports trim: sudo hdparm -I /dev/sdb | grep 'Model\|TRIM' gives me: Model Number: SanDisk SSD CZ80 32GB ...
2
votes
1answer
1k views

SSD TRIM Support and Block Limits?

I'm running Ubuntu 13.10. In this situation, I have two questions? I have 4 drives on my desktop, two of which are SSD's with TRIM supported. However the two have different block limits. I am trying ...
3
votes
1answer
2k views

Does the mpt2sas driver support TRIM?

I'm running Ubuntu 13.10 with an LSI 9211-8i SAS adapter with Samsung 840 EVO SSDs. Doing some performance testing I noticed the write speed dropping off significantly so I've been attempting to get ...
2
votes
1answer
892 views

fstrim is taking too long?

I'm running manual SSD TRIM fstrim -v /, and it's added to my /etc/rc.local. Recently I realized that the command is taking too long to finish execution. It finishes after I login by average 10 ...
0
votes
2answers
470 views

Unable to get TRIM to work on Ubuntu 12.10

I am trying to use the fstrim command on my machine. The configuration is as follows : ubuntu@ip-172-16-10-56:~/test$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: ...
2
votes
1answer
3k views

Encrypted home partition + encrypted swap + working hibernate

I would like to set up disk encryption on Ubuntu 13.10 such that I have plain / encrypted /home partition encrypted swap partition working hibernation and resume As these requirements suggest, ...
0
votes
1answer
493 views

Will be TRIM enabled by default?

I heard that Ubuntu 14.04 will feature TRIM by default on SSDs. What I would like to know is that if in the current daily builds it is already activated. Also, it would be appreciated a way to verify ...
4
votes
2answers
2k views

Does TRIM work with FAT32?

I used this webupd8 guide to help me Trim my SSD on Ubuntu 13.10. The guide says that "you must make sure the partition(s) are EXT4 or BTRFS". Unfortunately, I stupidly assumed the HD was formatted to ...
1
vote
1answer
562 views

get error when try fstrim

Below is my /etc/cron.daily/fstrim file: #! /bin/sh # By default we assume only / is on an SSD. # You can add more SSD mount points, separated by spaces. # Make sure all mount points are within ...
1
vote
1answer
859 views

How to apply TRIM to an NTFS partition on an SSD drive?

I have Ubuntu 13.10 and Windows 7 installed in dual boot on a single SSD. In addition they share an NTFS partition where I put all my data and documents. How can I apply TRIM to this partition?