[BlueOnyx:14716] Re: RAID Sync paused
Darren Shea
dshea at ecpi.com
Fri Feb 21 10:01:38 -05 2014
Having this problem with my Blue Onyx box, and running the
"/etc/init.d/mdchk restart" gets me the following output:
-- Reading system configuration from /etc/raidtab
/dev/md0 [raid1]: <sdb1> <sda1>
/dev/md1 [raid1]: <sdb2> <sda2>
-- Reading current status from /proc/mdstat
! /dev/md0 [raid1]: <sdb1> <sda1> (FAIL)
! /dev/md1 [raid1]: <sdb2> <sda2> (FAIL)
-- Fixing failed partition: /dev/sdb1
mdadm: An option must be given to set the mode before a second device is
listed
mdadm: An option must be given to set the mode before a second device is
listed
-- Fixing failed partition: /dev/sdb2
mdadm: An option must be given to set the mode before a second device is
listed
mdadm: An option must be given to set the mode before a second device is
listed
-- RAID status: OK
I've tried using the other commands Gerald suggested (below), but they just
complain that the command mdadm isn't found, even if I'm in the /sbin
directory.
> mdadm /dev/md0 -a /dev/sdb1
> mdadm /dev/md1 -a /dev/sdb2
Any thoughts? Am I missing something obvious?
Thank you,
Darren
========================================
From: Michael Stauber <mstauber at ...>
Subject: [BlueOnyx:13006] Re: RAID Sync paused
Newsgroups: gmane.linux.devices.blueonyx.user
Date: 2013-05-15 12:27:38 GMT (40 weeks, 2 days, 2 hours and 15 minutes ago)
Hi DD,
> We suspect a heavy disk load is causing the resync to pause which I have
> stopped but the synchronisation hasn't restarted.
Yes, that's typically the case. For example: When cron.daily runs and
all the logs are rotated, and/or the backup runs, then this might pause
an ongoing RAID-resync.
> Can anyone advise how to restart is manually?
/etc/init.d/mdchk restart
Another option is to manually speed up the RAID resync:
/bin/echo 35000 > /proc/sys/dev/raid/speed_limit_min
Which might not be a bad idea either, as usually the RAID rebuild runs
at slower speeds. With the above command you can set it to a maximum
allowed 35MB/sec. Or anything else by replacing the 35000 with something
else.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list