[PLUG] Setting up RAID1 on two 1G disks

Bill Barry bill at billbarry.org
Thu Jan 6 20:34:45 UTC 2022


On Thu, Jan 6, 2022, 2:09 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:

> On Tue, 4 Jan 2022, Rich Shepard wrote:
>
> > I want to setup sde and sdf using raid1 for backups. I assume that since
> > each is partitioned (sde1 and adf1) I can run mdadm and set up the raid1.
>
> mdadm set up /dev/sde and /dev/sdf as RAID1 disks. I set the array as
> /dev/md0 and installed ext4 on it. Everything went fine, but now md0 is
> continuously running md0_resync and I cannot find how to stop it in the
> adman docs I have.
>
> The man page tells me that the initial md0_resync runs after the RAID is
> created, and md0 can be used right away. Since there are no data yet on
> either disk (both 1TiB) how long will it resync two disks with no data on
> either?
>
> Rich
>
Rich,

It is a block level resync, not a file level resync so it does the whole
partition and can take several hours. cat /proc/mdstat will tell you how
far along it is.

>



More information about the PLUG mailing list