From 3394d3ce69af98c348bc6fcd979c477b7444c4f7 Mon Sep 17 00:00:00 2001 From: whirigoyen Date: Mon, 30 Aug 2021 16:58:08 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20section=20arr=C3=AAt=20d'un=20d?= =?UTF-8?q?isque=20+=20pr=C3=A9cisions=20sur=20changement=20d'=C3=A9tat=20?= =?UTF-8?q?->=20make=20good=20pour=20d=C3=A9bloquer=20des=20commandes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- InfosMegaCLI.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/InfosMegaCLI.md b/InfosMegaCLI.md index 05c5459f..67afba94 100644 --- a/InfosMegaCLI.md +++ b/InfosMegaCLI.md @@ -87,8 +87,21 @@ megacli -PDOnline -PhysDrv \[64:2\] -a0 megacli -PDMarkMissing -PhysDrv \[E:S\] -a0 ~~~ +## Stopper la rotation d'un disque (dans le but de le retirer) + +~~~ +megacli -PDPrpRmv -PhysDrv \[E:S\] -a0 +~~~ + +Notes : + +* `PrpRmv` signifie «  prepare removal ». +* Dans son status, on voit ensuite que le disque est `spun down` (rotation arrêtée) + ## Passer un disque de bad à good (on peut utiliser l'option `-force`) +Si la statut du disque est `Unconfigured(bad)` et qu'en lançant une commande vous rencontrez l'erreur `The specified device is in a state that doesn't support the requested command`, passer son état en `good` peut résoudre le problème : + ~~~ megacli -PDMakeGood -PhysDrv\[E:S\] -a0 ~~~