Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
force raid5 to resync [answered]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Tue Jun 07, 2022 3:33 pm    Post subject: force raid5 to resync [answered] Reply with quote

Greetings,

is there a easy way to force an raid5 to resync it self?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein


Last edited by DaggyStyle on Tue Jun 07, 2022 4:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54831
Location: 56N 3W

PostPosted: Tue Jun 07, 2022 4:03 pm    Post subject: Reply with quote

DaggyStyle,

Do you want to check it and report or just fix it, if you can?

Code:
echo check > /sys/block/md0/md/sync_action
will start a check on md0.
After the check completes,
Code:
cat  /sys/block/md0/md/mismatch_cnt
will be a count of the problems, which should be zero.

Change check to repair, if you really want a repair.
However, that calculates the redundant data from the elements that can be read.

What do you really need to do?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Tue Jun 07, 2022 4:12 pm    Post subject: Reply with quote

NeddySeagoon wrote:
DaggyStyle,

Do you want to check it and report or just fix it, if you can?

Code:
echo check > /sys/block/md0/md/sync_action
will start a check on md0.
After the check completes,
Code:
cat  /sys/block/md0/md/mismatch_cnt
will be a count of the problems, which should be zero.

Change check to repair, if you really want a repair.
However, that calculates the redundant data from the elements that can be read.

What do you really need to do?

I remembered the was a option but no matter what, I wasn't able to find it.
thanks for the help/
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum