You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If STATUS is non-zero in the below code, then the drive is bad and needs to be replaced prior to upgrading to 4.5. This check needs to be run on all ctlvms in the cluster.
Note - the 'bad' drives need to be removed regardless of whether it is already hard-blacklisted and not in use as pre-upgrade validation does the same check and will fail during pre-upgrade validation.
for D in $(/bin/lsblk -dpn -e 1,2,7,11 | awk '{ print $1 }'); do
echo $D | grep -q nvme
if [ $? -eq 0 ]; then
STATUS=$(/usr/sbin/nvme smart-log $D 2> /dev/null | \
awk -F': ' '/critical_warning/ { print $NF }')
else
/usr/sbin/smartctl -q silent -H -i $D;
STATUS=$?
fi
echo "$D: $STATUS";
done
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
If STATUS is non-zero in the below code, then the drive is bad and needs to be replaced prior to upgrading to 4.5. This check needs to be run on all ctlvms in the cluster.
Note - the 'bad' drives need to be removed regardless of whether it is already hard-blacklisted and not in use as pre-upgrade validation does the same check and will fail during pre-upgrade validation.
The text was updated successfully, but these errors were encountered: