fix mdadm added disks

This commit is contained in:
Malin Freeborn 2022-01-14 21:06:31 +01:00
parent 37c8daf655
commit 6b76fc4ca0

View File

@ -25,16 +25,5 @@ You should see `State : clean`. If you see it is `degraded`, then a disk has bro
## Replacing a Disk ## Replacing a Disk
First, prepare the disk with both a gpt partition table, and a partition:
> sudo parted --script /dev/sdb mklabel gpt mkpart primary 1MiB -2048s
Add the appropriate file system to it, e.g.:
> sudo mkfs.ext4 /dev/sdb1
Then finally, add the disk:
> sudo mdadm --add /dev/md127 /dev/sdb1 > sudo mdadm --add /dev/md127 /dev/sdb1