Update external_usb_ssd_UAS.md

This commit is contained in:
aiminick 2021-05-16 21:34:12 +08:00 committed by GitHub
parent 6233dc6a59
commit b2e76f1e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -6,9 +6,9 @@
- **Main Controller:** ***ASM1153E***
- **Support:** UASP Transfer Protocol
#### OPEN Trim for external usb ssd
## OPEN Trim for external usb ssd
- **1. Check TRIM support**
#### 1. Check TRIM support**
```
sudo fstrim -v /
@ -26,7 +26,7 @@ sdb 0 0B 0B 0
If the **DISC-MAX** value is **0B**, then TRIM is not **enabled**.
- **2. Enable TRIM**
#### 2. Enable TRIM
Find the USB **idVendor** and **idProduct** :
@ -45,7 +45,7 @@ ACTION=="add|change", ATTRS{idVendor}=="174c", ATTRS{idProduct}=="1153", SUBSYST
Then reboot, the TRIM will be **enabled**.
- **4.Fstrim the SSD device**
#### 3.Fstrim the SSD device
1st time, run "**fstrim -v /**" successfull:
@ -62,7 +62,7 @@ sda 0 512B 4G 0
└─sda2 0 512B 4G 0
```
- **5.Automatic trimming**
#### 4.Automatic trimming
The last thing you will need to do to make sure the TRIM command is run automatically in the background