Re: raid5 reshape is stuck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 05/29/2015 07:19 PM, NeilBrown wrote:
On Fri, 29 May 2015 19:13:38 +0800 XiaoNi <xni@xxxxxxxxxx> wrote:


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

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux