From 6b76fc4ca08c02f91e29362e426d387e6c6068aa Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Fri, 14 Jan 2022 21:06:31 +0100 Subject: [PATCH] fix mdadm added disks --- data/mdadm.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/data/mdadm.md b/data/mdadm.md index 6362db3..98f0b65 100644 --- a/data/mdadm.md +++ b/data/mdadm.md @@ -25,16 +25,5 @@ You should see `State : clean`. If you see it is `degraded`, then a disk has bro ## 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 -