May 16, 20242 yr Hello, my flash drive support TRIM: Quote hdparm -I /dev/sda | grep TRIM * Data Set Management TRIM supported (limit 8 blocks) * Deterministic read ZEROs after TRIM vfat support trim since kernel 4.19 so it would be nice to use it on my flash drive as well. fstrim -v refuse to work on /boot: Quote fstrim -v /boot fstrim: /boot: the discard operation is not supported Do i point it toward the wrong directory? Greetings and thank you in advance. Edited May 16, 20242 yr by InternetD
May 16, 20242 yr Author Quote /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 10000M On 6.12.10 UASP driver seems not do be used here. Edit: here are the related logs to the flash drive: Quote kernel: sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB) kernel: sd 0:0:0:0: [sda] Write Protect is off kernel: sd 0:0:0:0: [sda] Mode Sense: 2f 00 00 00 kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA kernel: sda: sda1 kernel: sd 0:0:0:0: [sda] Attached SCSI disk emhttpd: HP_x911w_AFFK1512800029 (sda) 512 250069680 emhttpd: import flash device: sda emhttpd: read SMART /dev/sda emhttpd: HP_x911w_AFFK1512800029 (sda) 512 250069680 emhttpd: import flash device: sda emhttpd: read SMART /dev/sda Edited May 16, 20242 yr by InternetD
May 16, 20242 yr Community Expert 14 minutes ago, InternetD said: UASP driver seems not do be used here. But it will be with v6.13, and that allows trim, again, assuming the USB device supports UASP
May 16, 20242 yr Community Expert /: Bus 010.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M |__ Port 001: Dev 002, If 0, Class=Mass Storage, Driver=uas, 5000M sda is an SSD connected via USB bridge with UASP support with v6.13-beta:
May 16, 20242 yr Community Expert does this also mean that we finally can get away from those evil, nasty and dangerous USB Sticks and soon run off UNRAID from a "real" SSD ? ? ? 😘
May 16, 20242 yr Community Expert 43 minutes ago, MAM59 said: run off UNRAID from a "real" SSD ? This is unrelated to that, and I'm not aware of any plans to switch from flash drives at the moment.
June 27, 20242 yr Author Solution Quote /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M |__ Port 002: Dev 002, If 0, Class=Mass Storage, Driver=uas, 10000M UASP and fstrim works fine on the 7.0.0-beta.1, closing the thread for now. Edited July 4, 20242 yr by InternetD
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.