pt-stalk does not report NFS iostat

Bug #986847 reported by Olivier Doucet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Medium
Brian Fraser
2.0
Won't Fix
Undecided
Unassigned
2.1
Fix Released
Medium
Brian Fraser

Bug Description

in pt-stalk, iostat is launched with flags 'dx'.

When MySQL datadir is on NFS, iostat usage is not reported because iostat needs flag 'n' to report NFS volumes.

How to fix :

add -n to each call to iostat binary.

Related branches

tags: added: pt-stalk sys-cmd
Revision history for this message
Brian Fraser (fraserbn) wrote :

The attached branch doesn't exactly fix this, because just adding the -n would've meant a bunch of useless clutter to people not using NFS, but instead lets you work around it by doing something like this:

$ CMD_IOSTAT="iostat -n" pt-stalk ...

Which will make pt-stalk use 'iostat -n -dx ...'. You can actually replace most commands used by pt-stalk with this, so in conjunction with the new --plugin interface, it should let you do most things in whichever way you want.

I think this is the way to go, and will be merging it soon (with docs) unless someone objects / thinks it's a brain-damaged idea / etc.

Revision history for this message
Olivier Doucet (odoucet) wrote :

as long as this workaround is stated clearly in docs, it's ok ;)

Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-521

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.