Re: raid5 reshape is stuck
From: XiaoNi <hidden>
Date: 2015-05-29 12:19:58
On 05/29/2015 07:19 PM, NeilBrown wrote:
On Fri, 29 May 2015 19:13:38 +0800 XiaoNi [off-list ref] wrote:quoted
And it's really the problem about selinux. The patch works after the command "setenforce 0". It need the patch you gave. Is it right to setenforce 0 every time? I'll read the doc about selinux.I know nothing about selinux, and don't really want to. Presumably selinux needs to be told that mdadm, when run from systemd, can access all block devices. If there is something I can add to the system unit file to make this happen I am happy to, but I would need someone to tell me what. Glad you are making progress and learning a lot!! NeilBrown
But it really need the patch you gave several days before. I already tried without the patch, reshape can be stuck even selinux is set to Permissive. And it's a problem with systemd and selinux too. If I run mdadm --grow --continue /dev/md0, the reshape can start. If I run systemctl start mdadm-grow-continue@md0.service, it can't start. I'll look for the answer. Best Regards Xiao