diff options
author | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
commit | 60d3abc6ecdc21b4ab921d34a55b4af48690f55a (patch) | |
tree | 1ee530dd7367d743fb619f341100e41df22e1985 /content/en/blog/commands/mdadm.md | |
parent | Updated docsy theme (diff) | |
download | www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.gz www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.bz2 www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.zip |
Rewrote the whole website to get rid on a heavy theme
Diffstat (limited to 'content/en/blog/commands/mdadm.md')
-rw-r--r-- | content/en/blog/commands/mdadm.md | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/content/en/blog/commands/mdadm.md b/content/en/blog/commands/mdadm.md deleted file mode 100644 index 1dbc3f8..0000000 --- a/content/en/blog/commands/mdadm.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: "mdadm" -linkTitle: "mdadm" -date: 2011-11-15 -description: > - mdadm ---- - -## Watch the array status - -{{< highlight sh >}} -watch -d -n10 mdadm --detail /dev/md127 -{{< /highlight >}} - -## Recovery from livecd - -{{< highlight sh >}} -mdadm --examine --scan >> /etc/mdadm.conf -mdadm --assemble --scan /dev/md/root -mount /dev/md127 /mnt # or vgscan... -{{< /highlight >}} - -If auto detection does not work, you can still assemble an array manually : -{{< highlight sh >}} -mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 -{{< /highlight >}} - -## Resync an array - -First rigorously check the output of `cat /proc/mdstat` -{{< highlight sh >}} -mdadm --manage --re-add /dev/md0 /dev/sdb1 -{{< /highlight >}} - -## Destroy an array - -{{< highlight sh >}} -mdadm --stop /dev/md0 -mdadm --zero-superblock /dev/sda -mdadm --zero-superblock /dev/sdb -{{< /highlight >}} - |