You are not logged in.

#1 2024-12-21 12:36:42

ForeverNoob
Member
Registered: 2008-07-18
Posts: 21

Triming USB SSD drive problem

Hello,

I have an old intel 180GB ssd in a VIA Labs enclosure (https://www.via-labs.com/product_show.php?id=44). lsusb says:

    Bus 002 Device 002: ID 2109:0711 VIA Labs, Inc. VL711 SATA 6Gb/s bridge

Following the instructions here: https://forum.manjaro.org/t/howto-trim- … -ssd/33168
I created the file /etc/udev/rules.d/50-usb-ssd-trim.rules:

    # https://www.via-labs.com/product_show.php?id=44
    # lsusb: Bus 002 Device 002: ID 2109:0711 VIA Labs, Inc. VL711 SATA 6Gb/s bridge
    ACTION=="add|change", ATTRS{idVendor}=="2109", ATTRS{idProduct}=="0711", SUBSYSTEM=="scsi_disk", ATTR{provisioning_mode}="unmap"`

But this still doesn't work, fstrim says:

    fstrim: /run/media/myuser/180GB/: the discard operation is not supported

What am I missing?

TIA

Offline

#2 2024-12-21 12:53:41

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,739
Website

Re: Triming USB SSD drive problem

Probably better to follow https://wiki.archlinux.org/title/Solid_state_drive#TRIM — what does `lsblk --discard` indicate?


Para todos todo, para nosotros nada

Offline

#3 2024-12-21 13:27:52

ForeverNoob
Member
Registered: 2008-07-18
Posts: 21

Re: Triming USB SSD drive problem

Head_on_a_Stick wrote:

Probably better to follow https://wiki.archlinux.org/title/Solid_state_drive#TRIM — what does `lsblk --discard` indicate?

'lsblk --discard' says:

NAME        DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sdc                0      512B       0B         0
└─sdc1             0      512B       0B         0

Offline

#4 2024-12-21 13:35:42

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,739
Website

Re: Triming USB SSD drive problem

The drive does not support TRIM.


Para todos todo, para nosotros nada

Offline

#5 2024-12-22 09:35:03

ForeverNoob
Member
Registered: 2008-07-18
Posts: 21

Re: Triming USB SSD drive problem

Head_on_a_Stick wrote:

The drive does not support TRIM.

OK, thanks

Offline

Board footer

Powered by FluxBB