How do I know if defragmentation is going on?

Look for this line in DEBUG level logging in the Swarm cluster:

DISK.ZFS DEBUG: [/dev/sdg]iterator: cycle 172, 0 good streams, 0 corrupt, 92628 relocated, 1552 reclaimed (31014959 pgs of 0 trapped) 31014959 is the number of pages reclaimed during defragmentation. 0 pages are now trapped. 1152 deleted/ trimmed streams were regained during this defragmentation process. 92628 streams were relocated on disk as part of the defragmentation.

© DataCore Software Corporation. · · All rights reserved.