- Szerkesztve
Akkor becsatlakozom a tesztbe.
Először a becsavarozott adattárolók.
M.2 pcie4:
/dev/nvme0n1p2 205314024 24601888 170209992 13% /
#fstrim -v /
/: 172,3 GiB (185010483200 bytes) trimmed
Axagon SATA házban levő M.2 SATA:
/dev/sdb1 976284608 507953804 468330804 53% /home/laci/WD1TBSSD
#fstrim -v /home/laci/WD1TBSSD
/home/laci/WD1TBSSD: 447,6 GiB (480600100864 bytes) trimmed
Kakukktojás: 2TB SSHD. Olyan HDD, aminek belül van egy darab gyorsító SSD-je
/dev/sda2 487350784 349138804 138211980 72% /home/laci/ST2TB/p2
És az elvárt tiltakozás:
#fstrim -v /home/laci/ST2TB/p2
fstrim: /home/laci/ST2TB/p2: the discard operation is not supported
És akkor az USB-s adapterek siralmas eredményei. Az alany egy Patriot 240 GB-s SSD.
Noname USB 2-es SATA adapter
[ 2282.549381] usb 3-1.1: new high-speed USB device number 4 using xhci_hcd
[ 2282.650690] usb 3-1.1: New USB device found, idVendor=14cd, idProduct=6116, bcdDevice= 2.20
[ 2282.650707] usb 3-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 2282.650712] usb 3-1.1: Product: USB Mass Storage Device
[ 2282.650716] usb 3-1.1: Manufacturer: Generic
[ 2282.650720] usb 3-1.1: SerialNumber: 116AC2101219
[ 2282.652416] usb-storage 3-1.1:1.0: USB Mass Storage device detected
[ 2282.653048] scsi host8: usb-storage 3-1.1:1.0
[ 2283.658534] scsi 8:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0
[ 2283.659115] sd 8:0:0:0: Attached scsi generic sg3 type 0
[ 2283.659905] sd 8:0:0:0: [sdd] 468862126 512-byte logical blocks: (240 GB/224 GiB)
[ 2283.660145] sd 8:0:0:0: [sdd] Write Protect is off
[ 2283.660149] sd 8:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 2283.660290] sd 8:0:0:0: [sdd] No Caching mode page found
[ 2283.660293] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[ 2283.662295] sdd: sdd1 sdd2 sdd3
#mount /dev/sdd1 /mnt
#fstrim -v /mnt
fstrim: /mnt: the discard operation is not supported
Axagon ADSA-FP2 USB3 adapter
[ 2570.178067] usb 4-1: new SuperSpeed USB device number 6 using xhci_hcd
[ 2570.199249] usb 4-1: New USB device found, idVendor=152d, idProduct=0567, bcdDevice= 2.23
[ 2570.199266] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2570.199272] usb 4-1: Product: AXAGON USB to SATA adapter
[ 2570.199276] usb 4-1: Manufacturer: AXAGON
[ 2570.199280] usb 4-1: SerialNumber: 0000AB1237F1
[ 2570.206144] scsi host8: uas
[ 2570.207123] scsi 8:0:0:0: Direct-Access Patriot Burst Elite 240G 0223 PQ: 0 ANSI: 6
[ 2570.210011] sd 8:0:0:0: Attached scsi generic sg3 type 0
[ 2570.210456] sd 8:0:0:0: [sdd] Spinning up disk...
[ 2571.241422] .ready
[ 2571.241834] sd 8:0:0:0: [sdd] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 2571.241842] sd 8:0:0:0: [sdd] 4096-byte physical blocks
[ 2571.242070] sd 8:0:0:0: [sdd] Write Protect is off
[ 2571.242074] sd 8:0:0:0: [sdd] Mode Sense: 53 00 00 08
[ 2571.242520] sd 8:0:0:0: [sdd] Disabling FUA
[ 2571.242524] sd 8:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2571.242529] sd 8:0:0:0: [sdd] Preferred minimum I/O size 4096 bytes
[ 2571.242532] sd 8:0:0:0: [sdd] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[ 2571.245270] sdd: sdd1 sdd2 sdd3
[ 2571.245772] sd 8:0:0:0: [sdd] Attached SCSI disk
#mount /dev/sdd1 /mnt
#fstrim -v /mnt
fstrim: /mnt: the discard operation is not supported
A Gembird EE2-U3S-6 USB-C ház
[ 2938.618249] usb 4-2: new SuperSpeed USB device number 7 using xhci_hcd
[ 2938.639093] usb 4-2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[ 2938.639110] usb 4-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 2938.639115] usb 4-2: Product: 3.1
[ 2938.639119] usb 4-2: Manufacturer: USB
[ 2938.639123] usb 4-2: SerialNumber: 0000000000A1
[ 2938.646000] scsi host8: uas
[ 2938.646949] scsi 8:0:0:0: Direct-Access USB 3.1 0 PQ: 0 ANSI: 6
[ 2938.649165] sd 8:0:0:0: Attached scsi generic sg3 type 0
[ 2938.649369] sd 8:0:0:0: [sdd] 468862128 512-byte logical blocks: (240 GB/224 GiB)
[ 2938.649534] sd 8:0:0:0: [sdd] Write Protect is off
[ 2938.649539] sd 8:0:0:0: [sdd] Mode Sense: 43 00 00 00
[ 2938.649780] sd 8:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2938.650255] sd 8:0:0:0: [sdd] Preferred minimum I/O size 512 bytes
[ 2938.650259] sd 8:0:0:0: [sdd] Optimal transfer size 33553920 bytes
[ 2938.652542] sdd: sdd1 sdd2 sdd3
[ 2938.653058] sd 8:0:0:0: [sdd] Attached SCSI disk
#mount /dev/sdd1 /mnt
#fstrim -v /mnt
fstrim: /mnt: the discard operation is not supported
Egyelőre ennyi.
Vagy valamit félreértettem?
Hamarosan feldugom ezt a Patriotot direktben, csak ahhoz le állítsam a gépet.
szerk:
/dev/sdc1 * 2048 156239871 156237824 74,5G 83 Linux
#mount /dev/sdc1 /mnt
#fstrim -v /mnt
/mnt: 65,2 GiB (69960851456 bytes) trimmed
Tehát az USB-s adaptereim nincsenek felkészülve az fstrim átvitelére.