Ask Your Question
1

How Do I prevent RAID resync on every boot? [closed]

asked 2018-11-06 15:52:30 -0600

iliffe gravatar image

For the last two updates of Fedora 27 workstation, every reboot has started the software RAID resync process. mdadm reports "clean, resync" but my workstation is effectively unavailable for about 2 hours while the resync process runs. While it is running, boot takes 8 minutes (used to be fairly fast) and it is nearly impossible to get any application process started. Even incoming mail isn't avaailable because if you can get Evolution open, it just reports "creating mail list" for several minutes at a time.

As you can imagine, this makes my workstation usless and I can't get any work done.

Where is this resync being triggered from, why does it happen on every boot, and how can I prevent it?

Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by iliffe
close date 2018-11-07 20:18:22.467171

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-11-07 20:16:26 -0600

iliffe gravatar image

Thank you. I set that up as a batch file so I can get it running immediately when I log on, although it seems that I will still get the very slow boot process since the sync starts immediately, before the machine has booted to the log in prompt.

Any idea why this just suddenly started to happen?

edit flag offensive delete link more

Comments

When the sync starts that often it's usually a hardware problem. Check your drives, your cables, power supply and controller. Use

mdadm --detail /dev/md0

or whatever name has your raid to see what's going on.

ed209 gravatar imageed209 ( 2018-11-08 03:47:48 -0600 )edit
0

answered 2018-11-06 19:44:45 -0600

johntate gravatar image

On Fedora you stop it through proc, since its mdadm packaged don't have the checkarray script.

# echo idle > /sys/block/md0/md/sync_action
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-11-06 15:52:30 -0600

Seen: 33 times

Last updated: Nov 07