im-0 / hpsahba

Tool to enable/disable HBA mode on some HP Smart Array controllers
GNU General Public License v2.0
128 stars 45 forks source link

P410i TRIM #3

Open JKJameson opened 5 years ago

JKJameson commented 5 years ago

Has anyone managed to get TRIM working?

[ 4572.111874] EXT4-fs (sda1): mounting with "discard" option, but the device does not support discard [ 4572.111970] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: discard

lsblk -D NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO sda 0 0B 0B 0 └─sda1 0 0B 0B 0 sdb 0 0B 0B 0 ├─sdb1 0 0B 0B 0 └─sdb2 0 0B 0B 0

fstrim -v /mnt fstrim: /mnt: the discard operation is not supported

=== START OF INFORMATION SECTION === Device Model: Crucial_CT750MX300SSD1 Serial Number: 162412F8XXXX LU WWN Device Id: 5 00a075 112f81a58 Firmware Version: M0CR050 User Capacity: 750,156,374,016 bytes [750 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-3 T13/2161-D revision 5 SATA Version is: SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Sun Aug 4 00:00:55 2019 IST SMART support is: Available - device has SMART capability. SMART support is: Enabled

ktkd commented 4 years ago

trim are not supported by hardware

JKJameson commented 4 years ago

Neither is HBA mode, yet here we are.