Re: What does TRIM/discard in RAID do ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Am 18.01.23 um 00:26 schrieb Pascal Hambourg:
On 15/01/2023 at 17:01, Reindl Harald wrote:


Am 15.01.23 um 16:52 schrieb Reindl Harald:

in such implementations you have to consider

* re-add of devices

Not affected. Use the event count and the write-intent bitmap as usual.

* file-systems with no trim-support

Not affected. An device does not need TRIM support to know which blocks have been written and contain valid data

well, fstrim/discard don't do anything on a HDD at the FS layer

[root@localhost:~]$ lsscsi
[0:0:0:0]    disk    ATA      WDC WD10EZEX-60Z 0A80  /dev/sda
[1:0:0:0]    disk    ATA      ST1000DM003-1ER1 CC43  /dev/sdb

[root@localhost:~]$ fstrim -v  /
fstrim: /: the discard operation is not supported





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux