From: Nikolay Kichukov <hijacker@oldum.net>
To: NeilBrown <neilb@suse.de>
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: Tue, 14 Feb 2012 11:43:30 +0200 [thread overview]
Message-ID: <4F3A2CC2.4090101@oldum.net> (raw)
In-Reply-To: <20120213090727.1d06291f@notabene.brown>
-----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
The 3 devices are equal sizes, all 200MB in size:
- -rw-r--r-- 1 root root 209715200 Feb 14 11:28 raid_device1.loopback
- -rw-r--r-- 1 root root 209715200 Feb 14 11:28 raid_device2.loopback
- -rw-r--r-- 1 root root 209715200 Feb 14 11:17 raid_device3.loopback
Output of mdadm -E :
http://pastebin.com/WBhgP4L5
Contents of /tmp/foo:
http://pastebin.com/jcietEaa
Let me know if you need any more information to debug this.
Thanks,
- -Nik
On 02/13/2012 12:07 AM, NeilBrown wrote:
> On Fri, 10 Feb 2012 16:10:09 +0200 Nikolay Kichukov <hijacker@oldum.net>
> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>
>> Hi Neil,
>> Do you think it will make sense to try to replicate using loop devices?
>
> It certainly won't hurt. It might not achieve anything though.
> Give it a try ... it you manage to reproduce, let me know.
>
> Thanks,
> NeilBrown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPOizCAAoJEDFLYVOGGjgXylEIAK0JwigUO+E+L0GqdlYoU/N8
5zdEBZ+0yu0VjsyKPAhOTz5g9348lNRPFyuQkOlGoDm3T06WxAbgo/Hh1kS2Q4IT
sWjw2w9NQI6qE0sRJPZS7Xie57M/dLVvNGUcLGvYCYTqXZQlAZbMf0tr8BCg8A6F
ddkvagi+QPyQg9NQultRhHwt10Ed6D2J1NFbnpoytoJy+27lwGfom1hmGKdtLVZG
2ZRoGtzk2yhomF8qgY4xujClZSaF7HaZc1eJ0FDDoUvQfEHEtjImSd/BbwAiUpsH
zv8aNn2Gik5v1RAHq8eOCg148J/XY/4RVD05zKj7fQqnphiwZGdirSKWv9YQCN0=
=VwH2
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-02-14 9:43 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 [this message]
2012-02-16 6:55 ` NeilBrown
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=4F3A2CC2.4090101@oldum.net \
--to=hijacker@oldum.net \
--cc=linux-raid@vger.kernel.org \
--cc=mathias.buren@gmail.com \
--cc=neilb@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.