in→docs
This commit is contained in:
parent
c3af60bbfd
commit
96f5a0771a
109 changed files with 0 additions and 0 deletions
31
docs/public/mdadm/creation.rst
Normal file
31
docs/public/mdadm/creation.rst
Normal 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
|
10
docs/public/mdadm/index.rst
Normal file
10
docs/public/mdadm/index.rst
Normal file
|
@ -0,0 +1,10 @@
|
|||
mdadm
|
||||
=====
|
||||
|
||||
Multi Disk ADMin
|
||||
|
||||
.. toctree::
|
||||
|
||||
creation
|
||||
persistence
|
||||
manual
|
27
docs/public/mdadm/manual.rst
Normal file
27
docs/public/mdadm/manual.rst
Normal 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
|
14
docs/public/mdadm/persistence.rst
Normal file
14
docs/public/mdadm/persistence.rst
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue