Re: hung grow

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

 



On Wed, Oct 11 2017, Curt wrote:

> On Wed, Oct 11, 2017 at 12:49 AM, NeilBrown <neilb@xxxxxxxx> wrote:
>>
>> Nope.  It is a kernel bug that is still present.  I can easily reproduce
>> it on the mainline kernel now that I have your metadata.
>> I know generally what the problem is.  I'll try to craft a fix tomorrow.
>> You'll need to build and run a new kernel to be able to fix you array.
>> That might seem scary, but it really isn't that hard.
>>
>> NeilBrown
>  Awesome thanks.  Just let me know what I need to do.

I had hoped to have this for you today, but it didn't quite work out.  I
have a patch which I believe is correct, but I try not to trust myself
about such things after about 3pm.
Fixing the spin turned out to be very easy, but subsequent testing
showed another problem.  'sdb' is not fully recovered but after the
reverted reshape completed, md thought that it was.  It took a while to
figure out exactly what was going on there.

If nothing urgent intervenes tomorrow I'll review the patches and then
send them along with instructions on how to build a kernel.
It might help to know what distro you plan to do that on.
The key steps will be:
1/ get the kernel source
2/ apply the patch
3/ get a .config that matches what your distro kernel
4/ build the kernel
5/ make install modules_install
6/ reboot

The kernel source is simply https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.13.5.tar.xz
The "make install.." assumes your distro has the right helpers
installed.
The ".config" might be
   zcat /proc/config.gz > .config
If not, you'll need to hunt for it.  Someone can probably help.

NeilBrown

Attachment: signature.asc
Description: PGP signature


[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