-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
This is on endeavouros with latest zfs 2.3.4.
I have a RAIDZ2 pool consisting of 5 HDD. Today I realized that two of the HDD (Seagate ST4000VN006-3CW104) show that they can be trimmed. And I can successfully trim them. The trim takes 1-2 minutes while showing the progress in percent and finishes successful. What does that mean? How can that be?
This is a pool on LUKS. The LUKS open command is with --allow-discards --perf-no_read_workqueue --perf-no_write_workqueue
If I remove the --allow-discards
I can not execute the trim but it still shows the trim status for these two Seagate drives: (100% trimmed, completed at Thu Sep 11 08:07:02 2025)
The other two Seagate drives ST4000VN008-2DR166
are correctly shown as (trim unsupported)
Status before trim:
# zpool status -t zsea
pool: zsea
state: ONLINE
scan: scrub repaired 0B in 10:23:29 with 0 errors on Tue Jun 24 23:41:46 2025
config:
NAME STATE READ WRITE CKSUM
zsea ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ST4000VN008-2DR166-ZDHB956C ONLINE 0 0 0 (trim unsupported)
ST4000VN008-2DR166-ZDHB95H0 ONLINE 0 0 0 (trim unsupported)
WD40EZRZ-00GXCB0-WCC7K7EK9VC4 ONLINE 0 0 0 (trim unsupported)
ST4000VN006-3CW104-ZW62YK8E ONLINE 0 0 0 (untrimmed)
ST4000VN006-3CW104-ZW62YHYW ONLINE 0 0 0 (untrimmed)
Status after trim:
# zpool status -t zsea
pool: zsea
state: ONLINE
scan: scrub repaired 0B in 10:23:29 with 0 errors on Tue Jun 24 23:41:46 2025
config:
NAME STATE READ WRITE CKSUM
zsea ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ST4000VN008-2DR166-ZDHB956C ONLINE 0 0 0 (trim unsupported)
ST4000VN008-2DR166-ZDHB95H0 ONLINE 0 0 0 (trim unsupported)
WD40EZRZ-00GXCB0-WCC7K7EK9VC4 ONLINE 0 0 0 (trim unsupported)
ST4000VN006-3CW104-ZW62YK8E ONLINE 0 0 0 (100% trimmed, completed at Thu Sep 11 08:07:02 2025)
ST4000VN006-3CW104-ZW62YHYW ONLINE 0 0 0 (100% trimmed, completed at Thu Sep 11 08:07:02 2025)