mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-04 07:47:45 +02:00
mdadm: added raid 5
This commit is contained in:
parent
ee57a84d37
commit
3b91231c46
@ -1,6 +1,6 @@
|
|||||||
# MDADM
|
# MDADM
|
||||||
|
|
||||||
`mdadm` is a utility to create and manage raid devices.
|
MDADM is a utility to create and manage raid devices.
|
||||||
For the rest of this entry `n` is the number of drives inside a raid device.
|
For the rest of this entry `n` is the number of drives inside a raid device.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -50,7 +50,7 @@ Note that mostly raid 1 devices consisting of 2 drives should be converted to
|
|||||||
`mdadm /dev/md0 --add /dev/sda1`
|
`mdadm /dev/md0 --add /dev/sda1`
|
||||||
- Finally grow the active drive number to your needs (in this example 4)
|
- Finally grow the active drive number to your needs (in this example 4)
|
||||||
`mdadm --grow /dev/md0 -n4`
|
`mdadm --grow /dev/md0 -n4`
|
||||||
- `mdadm` now reshapes the raid. You can monitor it by running
|
- MDADM now reshapes the raid. You can monitor it by running
|
||||||
`watch cat /proc/mdstat`
|
`watch cat /proc/mdstat`
|
||||||
|
|
||||||
### Raid 5
|
### Raid 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user