Reclaim space after enabling TRIM support
To reclaim space after you enable TRIM support, you must run the mmreclaimspace command.
About this task
Procedure
- Configure the file system and the recovery group.
- Run the mmreclaimspace command to manually start the TRIM function. A
sample is shown for running the command on an IBM Storage
Scale
Erasure Code Edition node.
[root@ece08]# mmreclaimspace gpfs3 -P system --reclaim-threshold 80 disk disk size failure holds holds free in KB free in KB reclaimed in KB name in KB group metadata data in full blocks in fragments in subblocks --------------- ------------- -------- -------- ----- -------------------- ------------------- ------------------- Disks in storage pool: system (Maximum disk size allowed is 4.03 TB) RG001LG001VS001 335984640 1 yes yes 177795072 ( 53%) 19448 ( 0%) 176283648 (52%) RG001LG007VS001 335984640 1 yes yes 177876992 ( 53%) 17336 ( 0%) 176328704 (52%) RG001LG003VS001 335984640 1 yes yes 177967104 ( 53%) 15320 ( 0%) 176422912 (53%) RG001LG005VS001 335984640 1 yes yes 177922048 ( 53%) 11352 ( 0%) 176392192 (53%) RG001LG004VS001 335984640 2 yes yes 177922048 ( 53%) 17208 ( 0%) 176369664 (52%) RG001LG006VS001 335984640 2 yes yes 177915904 ( 53%) 17304 ( 0%) 176369664 (52%) RG001LG002VS001 335984640 2 yes yes 177790976 ( 53%) 15160 ( 0%) 176257024 (52%) RG001LG008VS001 335984640 2 yes yes 177764352 ( 53%) 14936 ( 0%) 176218112 (52%) ------------- -------------------- ------------------- ------------------- (pool total) 2687877120 1422954496 ( 53%) 128064 ( 0%) 1410641920 (52%) ============= ==================== =================== =================== (total) 2687877120 1422954496 ( 53%) 128064 ( 0%) 1410641920 (52%)
Note: The values of the --reclaim-threshold parameter can impact on performance. For more information about this parameter, see the mmreclaimspace command in the IBM Storage Scale: Command and Programming Reference Guide.