snipt

Ctrl+h for KB shortcuts

Bash

Raid array reporting

0   *    *    *    *    /sbin/mdadm --monitor --scan --mail= [email protected] /dev/md0 -1
https://snipt.net/embed/a1b5585c9e2bedb90af00f26f0989f53/
/raw/a1b5585c9e2bedb90af00f26f0989f53/
a1b5585c9e2bedb90af00f26f0989f53
bash
Bash
2
2019-07-06T05:37:21
True
False
False
/api/public/snipt/50040/
raid-array-reporting
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="m">0</span> * * * * /sbin/mdadm --monitor --scan --mail<span class="o">=</span> [email protected] /dev/md0 -1 </span></pre></div> </td></tr></table>
raid

Bash

Activate SoftRAID & LVM

1
2
3
dmraid -ay
vgscan -v
vgchange -a y 
https://snipt.net/embed/3875d2267822be040f9a6438251759be/
/raw/3875d2267822be040f9a6438251759be/
3875d2267822be040f9a6438251759be
bash
Bash
3
2019-07-15T10:55:23
True
False
False
/api/public/snipt/597/
activate-softraid-lvm
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>dmraid -ay </span><span id="L-2"><a name="L-2"></a>vgscan -v </span><span id="L-3"><a name="L-3"></a>vgchange -a y </span></pre></div> </td></tr></table>
linux, lvm, raid

Bash

raid drives status check

mdadm --query --detail /dev/md1
https://snipt.net/embed/24ab27e4c5e18f6957d22cf3c8a19515/
/raw/24ab27e4c5e18f6957d22cf3c8a19515/
24ab27e4c5e18f6957d22cf3c8a19515
bash
Bash
1
2019-07-10T08:19:14
True
False
False
/api/public/snipt/180/
raid-drives-status-check
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>mdadm --query --detail /dev/md1 </span></pre></div> </td></tr></table>
raid