This commit is contained in:
Marc Beninca 2018-07-23 15:01:53 +02:00
parent 19ccd39c1d
commit 0558f2f53f
6 changed files with 88 additions and 0 deletions

View file

@ -16,6 +16,7 @@ RTFD
public/network/index
public/packages/index
public/security/index
public/storage/index
public/systems/index
public/versions/index
public/web/index

View file

@ -0,0 +1,7 @@
Storage
=======
.. toctree::
:maxdepth: 2
mdadm/index

View file

@ -0,0 +1,31 @@
Creation
========
.. warning::
Only use partitions, never whole devices,
otherwise assembly will fail after reboot!
RAID 0
------
.. code:: shell
mdadm --create /dev/md0 --level=0 \
--raid-devices=2 /dev/sd[bc]1
RAID 1
------
.. code:: shell
mdadm --create /dev/md0 --level=1 \
--raid-devices=2 /dev/sd[bc]1
RAID 5
------
.. code:: shell
mdadm --create /dev/md0 --level=5 \
--raid-devices=3 /dev/sd[b-d]1

View file

@ -0,0 +1,8 @@
MDadm (MultiDisk admin)
=======================
.. toctree::
creation
persistence
manual

View file

@ -0,0 +1,27 @@
Manual operations
=================
.. note::
Use --scan to refer to all known devices
Details
-------
.. code:: shell
mdadm --detail /dev/md0
Stop
----
.. code:: shell
mdadm --stop /dev/md0
Assemble
--------
.. code:: shell
mdadm --assemble /dev/md0

View file

@ -0,0 +1,14 @@
Persistence
===========
* reference the device in configuration
.. code:: shell
mdadm --detail --scan /dev/md0 >> /etc/mdadm/mdadm.conf
* update the initial file system
.. code:: shell
update-initramfs -u