From: NeilBrown <neilb@suse.de>
To: Nikolay Kichukov <hijacker@oldum.net>
Cc: "Mathias Burén" <mathias.buren@gmail.com>,
linux-raid <linux-raid@vger.kernel.org>
Subject: Re: add another disk to existing raid 0, ie grow raid 0 possible?
Date: Thu, 16 Feb 2012 17:55:53 +1100 [thread overview]
Message-ID: <20120216175553.654595b4@notabene.brown> (raw)
In-Reply-To: <4F3A2CC2.4090101@oldum.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 14 Feb 2012 11:43:30 +0200 Nikolay Kichukov <hijacker@oldum.net>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Neil,
> Here is the result, I think I managed to reproduce it as it has converted the raid0 to raid4.
>
>
> so commands in sequence:
>
> mdadm --verbose --create /dev/md/mdtest --level=0 --raid-devices=2 --metadata=1.2 /dev/loop0 /dev/loop1
> mdadm: chunk size defaults to 512K
> mdadm: array /dev/md/mdtest started.
>
> strace -o /tmp/foo -f mdadm --grow /dev/md/mdtest --raid-devices=3 --add /dev/loop2
> mdadm: level of /dev/md/mdtest changed to raid4
> mdadm: /dev/loop2 not large enough to join array
> mdadm: Need to backup 3072K of critical section..
> mdadm: /dev/md/mdtest: Cannot grow - need a spare or backup-file to backup critical section
> mdadm: aborting level change
>
I tried exactly that and it worked perfectly.
Maybe the bug has been fixed.
Please remind me exactly which versions of mdadm and linux you are using.
Thanks,
NeilBrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
iQIVAwUBTzyoeTnsnt1WYoG5AQIHRA//f5pof7kxIEqOU32X0G0ngzWraHoVDFrY
kVYptqvXsiQi2gUzkOoSIvd3jp/oFDnl4VEIAXiq1MmxVHw4URZWFUmkuFlNezmm
NVwfW194Cjn0lfBVWg5+tp6zMjtZKhgpv2B8eLlzcd0/EQ+tBXTeMMS/aLufWIl/
oZI60t6Thhgki+ZViWoU+R3/X2qqvlfS4+1NtbHLOf0YhQdH16w3M2F5V5tIwbgI
3YKtt/5gUl652TBd5Jt6tVwF8Prn2DFrRbTdBfNOSLUd9vALezf3TswCtKnjsL1T
uTS7v6ANhVlitdLg5jbkt69qZIHxI+kCkafNkTSmeZVi3BiePHIwfnF5RVg6tml3
W8jF1+S5yzw28htS1nr9kKt9aShaZj7A/tkE/BjpXRKySKdFk6jI1jYp0E+hsjUb
39D72wEXAVsjOvleAfip97CKktFH4cqtm5xWsnHWjggwVvjDw4pbYardq+8znwun
MCOAPxuQDAmI5HVl3ZXoEue6w6UZDBpvt9s09Vuh6x+jWK8xgZOWIe+afovbSvP5
3yL6tFOCrb6VROwCEOtD2MTTd52KWGCwrH8lbMD7q3C1c4ou61EOUkRLpe68+hjF
pSQb0yti8iqjR6LHWsRpeuOnXp2uDQ5z0b6sj7HlWnyCHVBdP4Hr4smAxXqL6ups
IHQJ0QqjZqQ=
=MAea
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-02-16 6:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-26 10:26 add another disk to existing raid 0, ie grow raid 0 possible? Nikolay Kichukov
2012-01-26 10:47 ` Mathias Burén
2012-01-26 10:57 ` NeilBrown
2012-01-26 11:30 ` Nikolay Kichukov
2012-01-26 11:52 ` NeilBrown
2012-01-26 12:12 ` Nikolay Kichukov
2012-02-09 3:50 ` NeilBrown
2012-02-10 14:10 ` Nikolay Kichukov
2012-02-12 22:07 ` NeilBrown
2012-02-14 9:43 ` Nikolay Kichukov
2012-02-16 6:55 ` NeilBrown [this message]
2012-02-16 15:38 ` Nikolay Kichukov
2012-02-20 5:26 ` NeilBrown
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=20120216175553.654595b4@notabene.brown \
--to=neilb@suse.de \
--cc=hijacker@oldum.net \
--cc=linux-raid@vger.kernel.org \
--cc=mathias.buren@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).