Questions tagged [trim]

46 questions
54
votes
4 answers

What is the current state (2016) of SSDs in RAID?

There are plenty of resources available online that discuss using SSD drives in RAID configurations - however these mostly date back a few years, and the SSD ecosystem is very fast-moving - right as we're expecting Intel's "Optane" product release…
Dai
  • 2,251
  • 8
  • 27
  • 42
21
votes
6 answers

Verify TRIM support with BtrFS on SSD

We are looking into using BtrFS on an array of SSD disks and I have been asked to verify that BtrFS does in fact perform TRIM operations upon deleting a file. So far I have been unable to verify that the TRIM command is sent to the disks. I know…
Shane Meyers
  • 1,008
  • 1
  • 7
  • 17
20
votes
6 answers

Possible to get SSD TRIM (discard) working on ext4 + LVM + software RAID in Linux?

We use RAID1+0 with md on Linux (currently 2.6.37) to create an md device, then use LVM to provide volume management on top of the device, and then use ext4 as our filesystem on the LVM volume groups. With SSDs as the drives, we'd like to see the…
Don MacAskill
  • 1,808
  • 3
  • 16
  • 22
13
votes
2 answers

Enable Discards HP 3PAR StoreServ 7400

Spin off from these previously asked questions How to get free space from mounted drive Redhat 7 Update crypttab asks for Passphrase for fstrim We have a HP 3PAR StoreServ 7400 with 170 VM's speread out across 38 hosts. Here is the problem as I…
Anthony Fornito
  • 9,526
  • 1
  • 33
  • 122
11
votes
3 answers

Background discard on swap partitions on Linux + SSD

Problem I want to enable background TRIM operations on a swap partition within a SSD disk on Linux. According to several articles, e.g. this one, the kernel detects this configuration and automatically performs discard operations, but on my tests…
santisaez
  • 201
  • 1
  • 3
  • 10
11
votes
4 answers

SSD TRIM (discard) problems with ext4 on Crucial C300 SSDs with CentOS 5.5

Playing around with using a modern kernel (2.6.37 currently) on an older OS (CentOS 5.5) so we can get TRIM (discard) working on our SSDs (Crucial C300s). The most recent hdparm (9.37) concurs that the C300 supports TRIM: ./hdparm -I /dev/sdc | grep…
Don MacAskill
  • 1,808
  • 3
  • 16
  • 22
6
votes
1 answer

Trim support in Hardware RAID (Perc H700)

We are about to order a dell R610 with a H700. We were thinking of using 2 X Samsung 850 Pro 512Gb drives in RAID 1. The question is does the Perc H700 support TRIM in hardware RAID 1? The answers I have found from googling around seem to indicate…
sysjas
  • 193
  • 2
  • 4
  • 15
6
votes
0 answers

Running fstrim as cronjob - what happens when interrupted by shutdown

One of the ways to implement fstrim on a file system, it to make a cron.daily task that runs fstrim /. This is preferred over -o discard (mount option) by a lot of people, because the latter can make writing slower, especially deleting large amounts…
Halfgaar
  • 7,921
  • 5
  • 42
  • 81
5
votes
1 answer

Should new Linux VMs under ESXi 5.5 mount their filesystems with discard option?

When creating new Linux virtual machines using recent (>= 2014) distributions in VMware ESXi 5.5, should they mount their filesystems with the discard option ? I make the assumption that the VM's admin does not necessarily know what is the actual…
Luke404
  • 5,708
  • 3
  • 44
  • 58
4
votes
1 answer

TRIM issues with software RAID1 (mdadm) on two different SSDs (size and manufacturer)

I plan to do a server with 2 SSDs in RAID1 (for OS and boot) and 3 HDDs in RAID5 (for data). All Linux (CentOS7) with mdadm. We have in the office 2 leftover SSDs, but they are from different manufacturers and with different capacities (120G and…
Pavel Tankov
  • 367
  • 3
  • 15
4
votes
3 answers

Is there a way to force a TRIM in a Windows 2012 Software RAID array?

I have a Windows 2012 server configured with two SSD under a Software RAID 1 (controlled by Windows), under that configuration the optimization tool is not supported. Is the TRIM still scheduled/performed by the OS, just not visibly so, and with no…
Eric Grange
  • 265
  • 1
  • 3
  • 10
4
votes
0 answers

Trim Azure VHD size in Windows 2008

I have an azure virtual machine and due to a broken backup script, it has previously used the entire 127GB of space. My virtual machine is now only using 20GB however I'm still being charged for the full 127GB. I know I need to trim the disk and in…
John
  • 161
  • 1
  • 5
4
votes
3 answers

Maintenance (TRIM) of SSDs in HW RAIDs

I have 2 ARECA 8040 HW-RAIDs, with 8 SSDs each. One is RAID10 with Intel 520 SSDs, the second is RAID5 with Samsung 840 SSDs. Both are connected to the Server with one shared LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 card. I am…
alfonx
  • 230
  • 3
  • 8
4
votes
1 answer

Is TRIM passed through a LVM-based PV Xen domU to the underlying SSD

Scenario: -- Debian Xen dom0 -- SSD drive setup as LVM PV/single Volume Group. -- Debian pv_ops-based domU setup on LVM logical volume. -- File system inside domU is ext4 with discard option enabled. Question: Will the TRIM command generated inside…
4
votes
0 answers

Do I need to trim my SSD? How?

I have been using a pair of Intel 320 in RAID 1 on my busy Ubuntu server for about 4 month. While the disk usage never reached 50% of the capacity, but I FEEL that the server has become less responsive, so I'm wondering whether I need to run a trim,…
alfish
  • 3,027
  • 15
  • 45
  • 68
1
2 3 4