Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!
QNAP - How to abort resynchronizing of RAID group?
April 30, 2022 7:32 AM
First of all a big fat warning to not just do this whenever you feel like it.
The resynchronization of your RAID group is there for reason!
(bad disk, bad block, raid out of sync etc).
Having said that, If your array is md2 then
echo "idle" > /sys/block/md2/md/sync_action
You can determine which is your array by using:
In the example below you'll see that md2 is my RAID-6 array ...
[~] # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md2 : active raid6 sdg3 sde3 sdf3 sdd3 sdc3 sdh3 sdj3 sdi3
23382380544 blocks super 1.0 level 6, 512k chunk, algorithm 2 [8/8] [UUUUUUUU]
bitmap: 12/30 pages [48KB], 65536KB chunk
md1 : active raid0 sda3 sdb3
956863488 blocks super 1.0 512k chunks
md322 : active raid1 sde5(S) sdf5(S) sdd5(S) sdc5(S) sdh5(S) sdj5(S) sdi5 sdg5
7235136 blocks super 1.0 [2/2] [UU]
bitmap: 0/1 pages [0KB], 65536KB chunk