Monitoring prefetch
You can display the status of an AFM prefetch request by running the mmafmctl prefetch command without the list-file option.
For example, for file system gpfs1 and fileset iw_1, run the following
command:
# mmafmctl gpfs1 prefetch -j iw_1
Fileset Name Async Read (Pending) Async Read (Failed) Async Read (Already Cached) Async Read(Total)
Async Read (Data in Bytes)
------------ -------------------------------------- ------------------ ------------------------
iw_1 11 0 0 11 0
This
output displays that there are 11 inodes that must be prefetched Async Read (Pending). When the job
has completed, the status command
displays:# mmafmctl gpfs1 prefetch -j iw_1
Fileset Name Async Read (Pending) Async Read (Failed) Async Read (Already Cached) Async Read(Total)
Async Read (Data in Bytes)
------------ -------------------------------------- ------------------ ------------------------
iw_1 0 0 10 11