From: Benjamin Meier <maillists@ferienwohnung-altenbeken.de>
To: linux-raid@vger.kernel.org
Subject: Re: Recovery after failed chunk size change
Date: Mon, 11 Apr 2016 17:29:09 +0200 [thread overview]
Message-ID: <570BC2C5.4070103@ferienwohnung-altenbeken.de> (raw)
In-Reply-To: <56FED3F7.8080009@ferienwohnung-altenbeken.de>
Hi,
>
> # Create a seven disk RAID6 array with sparse files (1GiB each)
> declare -a LO_DEVICES
> for x in 0 1 2 3 4 5 6; do
> dd if=/dev/zero of=sparse$x bs=1G count=0 seek=1
> losetup -f sparse${x}
> LO_DEVICES[$x]=$(losetup -a|grep sparse${x}|cut -f1 -d" "|sed "s/://")
> done
> mdadm --create /dev/md/TestMD --chunk=4096 --bitmap=internal --level=6
> --raid-devices=7 \
> ${LO_DEVICES[*]}
> mdadm --wait /dev/md/TestMD
>
> # Provocate BUG.
> # Tested with Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4
> (2016-02-29) x86_64 GNU/Linux
> # mdadm - v3.3.2 - 21st August 2014
> mdadm --grow /dev/md/TestMD --chunk=64 --backup-file=backup.file
>
Was this issue reproducible? Or do you need any additional information?
I have discovered that the problem is not limited to changing the chunk
size. It also happens with a RAID level change from say 6 to 5.
BR!
prev parent reply other threads:[~2016-04-11 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-31 19:33 Recovery after failed chunk size change Benjamin Meier
2016-04-01 5:25 ` NeilBrown
2016-04-01 20:03 ` Benjamin Meier
2016-04-11 15:29 ` Benjamin Meier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=570BC2C5.4070103@ferienwohnung-altenbeken.de \
--to=maillists@ferienwohnung-altenbeken.de \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox