XorMon shows since its version 2.5.0, for every volume, pool and child pool of IBM SAN Volume Controller, Storwize and FlashSystem, how many SCSI unmap operations the hosts sent, how much data they unmapped and how long the operations took.
Hosts send SCSI unmap commands (also known as trim or discard) to tell the storage system that blocks are no longer in use, for example after files were deleted. Typical sources are the Linux fstrim command or the discard mount option, Windows Optimize Drives and automatic space reclamation in hypervisors such as VMware VMFS.
On thin-provisioned and compressed volumes and in data reduction pools, the storage system can then release the capacity behind the unmapped blocks. The unmap metrics show:
The storage reports cumulative unmap counters per volume and node in its I/O statistics files. XorMon takes the increase over each collection interval, sums it over the nodes and shows it as a rate, so 0 means no unmap command in that interval.
| XorMon metric | IBM counter | Unit | Meaning |
|---|---|---|---|
| Unmap IO | uo | IO/s | Unmap operations processed per second |
| Unmap Data | ub | B/s | Amount of data unmapped per second (blocks × block size) |
| Unmap Latency | ul / uo | ms | Average response time of an unmap operation, from receiving the SCSI unmap command to its successful completion |
| Page | Tab | Subtabs | What it shows |
|---|---|---|---|
| IBM FlashSystem → Volume → Totals | Unmap | IO, Data, Latency | All volumes of the device: IO and Data stacked per volume, Latency as a line per volume |
| Single volume | Unmap | IO, Data, Latency | One volume |
| IBM FlashSystem → Pool → Totals | Unmap | IO, Data, Latency | All pools of the device |
| Single pool | Unmap | IO, Data, Latency, Volume IO, Volume Data, Volume Latency | The pool itself, and the volumes in the pool (to find which volumes generate the unmap load) |
| IBM FlashSystem → Child Pool → Totals | Unmap | IO, Data, Latency | All child pools of the device |
| Single child pool | Unmap | IO, Data, Latency, Volume IO, Volume Data, Volume Latency | The child pool itself, and the volumes in the child pool |
| IBM FlashSystem → Totals | Unmap | Pool IO, Pool Data, Pool Latency, Child Pool IO, Child Pool Data, Child Pool Latency, Volume IO, Volume Data, Volume Latency | All pools, child pools and volumes of the device in one place |
The storage system reports unmap statistics only per volume. XorMon calculates the pool and child pool values from the volumes they contain:
Unmap commands come only when hosts release space, so most of the time the graphs stay at 0 and show spikes after deletions or scheduled trim runs.
fstrim or a hypervisor reclamation job. The spike shows how much data was released and on which volumes.Dernière mise à jour :