Re: Raid 5 to raid 6 reshape failure after reboot

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

 



On Tue, October 20, 2009 12:53 am, Guy Martin wrote:
>
> Hi Neil,
>
> Same result with the latest commit after a reboot.
>
> Maybe the problem comes from the fact that I first try to assemble
> the array without providing a backup file ?

That should not cause a problem - mdadm will simply fail in that
case and leave you to do it 'right'.

I assume it is the same backup file from before - not a file in /tmp
or something like that?

>
> For reference I did the following :
> mdadm --create /dev/md0 -l 5 -n 3 /dev/sd[bdf]1
> mdadm --add /dev/md0 /dev/sde1
> [wait for the raid 5 to rebuild]
> mdadm --grow /dev/md0 --backup-file backup -l 6 -n 4
> [wait a few hours]
> reboot
> mdadm --assemble /dev/md0 /dev/sd[bdef]1
> mdadm --assemble /dev/md0 /dev/sd[bdef]1 --backup-file backup
>
> Any other output you'd need ?

In general adding '-v' to '--assemble' is a good idea, but I doubt
it would give anything particularly useful in this case.
I'll try to reproduce your result and let you know how I go.

Thanks,
NeilBrown

>
>   Guy
>
> On Mon, 19 Oct 2009 07:14:06 +1100
> "NeilBrown" <neilb@xxxxxxx> wrote:
>
>>
>> Thanks for doing this testing!
>>
>> > Any idea how to resolve this issue ?
>>
>> Try pulling the very latest from my git repo.  I was doing some
>> testing like this just last week and found a number of issues which I
>> think I have fixed.
>>
>> NeilBrown
>>
>

--
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