VMs run slowly
If many virtual machines (VMs) of one pool run slowly, the cause is usually in the storage: the pool is recovering data, or one of its disks is failing. Recovery completes automatically; other cases are analyzed by vStack technical support.
What you see
- Guest OSes periodically stop responding, and disk latency and I/O wait time (iowait) have increased.
- In the Center web interface, the pool Health is often Normal. Sometimes Resilvering or Scrubbing of the pool is Yes, or Health is Warning.
What to do
-
Check the VM load. On the VM page, expand Perfdata and look at the CPU and Disks charts. If one VM is slow, the cause is usually its disks or guest OS. If many VMs of one pool are slow, go to step 2.
-
Check the pool. Find the pool of these VMs in the Pools table — View pool state and capacity:
- Resilvering or Scrubbing is Yes: the pool is recovering or checking data, and while this is in progress, the VMs of the pool run slower. Wait for it to finish;
- Health is Warning: the pool runs without some of its disks — Pool health — Warning.
Write down the Current node of the pool.
-
Check on the pool node. Run this command over SSH on the node shown in Current node; it only reads data:
zpool status <pool name>scan:withresilver in progress— recovery is in progress; the line shows the percentage and the remaining time. Wait for it to finish.- A disk has nonzero
READ,WRITEorCKSUM, or is in theFAULTED,REMOVEDorUNAVAILstate — the disk is failing. Contact support without waiting for the failure.
For how to read the output, see View the cluster state on a node.
-
The cause was not found — contact support, see "If this did not help".
Check the result
- Resilvering and Scrubbing of the pool are No.
- Disk latency in the guest OSes is back to normal.
What not to do
- Do not run a pool check (scrub) as a precaution: it loads the same disks and slows down the VMs of the pool.
- Do not reboot the pool node: the pools fail over, and the returned disks start a new recovery.
- Do not transfer the pool while recovery is in progress.
If this did not help
Write down which VMs are slow and since when, the pool name, its Current node, the Resilvering and Scrubbing values and the output of zpool status <pool name>. Collect the rest from the list in Collect data for support and contact vStack technical support.