We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How can I detect and repair out of sync/degraded vdisks?
Answer
If you login to any HV from the CP server as root for a zone, you can use:
- the 'getdegradedvdisks' CLI tool tells you which vdisks are in a degraded path state and are repairable.
- the 'parallelrepairvdisks' tool will repair up to ten vdisks in parallel. If you wan to choose number of parallel repairs, you can add "numthreads" option. For example, if you want to start five repair at once, you should run: "parallelrepairvdisks numthreads=5" .
- the 'repairvdisks' tool will repair all vdisks, one after another. You can safely run this periodically, e.g. as a cron task regardless of whether there are degraded vdisks or not.