From f81e855131ad955492d569ef13380022a939b208 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 24 Feb 2018 23:50:17 +0100 Subject: [PATCH] Clear cache script --- raid-clear-all-caches | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 raid-clear-all-caches diff --git a/raid-clear-all-caches b/raid-clear-all-caches new file mode 100755 index 0000000..d79a3a7 --- /dev/null +++ b/raid-clear-all-caches @@ -0,0 +1,6 @@ +#!/bin/sh +# Nico Schottelius, 2018-02-24 +# Copyright ungleich glarus ag + +# Removes entries for virtual drives without physical drives +megacli -DiscardPreservedCache -Lall -aall