Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Dat Chu" <dattanchu@gmail.com>
To: Neil Brown <neilb@suse.de>
Cc: Justin Piszcz <jpiszcz@lucidpixels.com>, linux-raid@vger.kernel.org
Subject: Re: Linear RAID hot grow
Date: Mon, 20 Aug 2007 22:18:03 -0500	[thread overview]
Message-ID: <d0e8f6370708202018p7bd20122o56c577507320c84a@mail.gmail.com> (raw)
In-Reply-To: <18122.9211.998879.841835@notabene.brown>

I am currently running 2.6.22.1 kernel with mdadm version 2.6.2.

When I try to run
mdadm --grow /dev/md2 --add /dev/sdd1
mdadm: Cannot add new disk to this array

mdadm -D /dev/md2
/dev/md2:
        Version : 00.90.03
  Creation Time : Thu Apr 12 15:10:30 2007
     Raid Level : linear
     Array Size : 4394524224 (4190.94 GiB 4499.99 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 2
    Persistence : Superblock is persistent

    Update Time : Mon Aug 20 21:59:02 2007
          State : active
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

       Rounding : 64K

           UUID : 2d55a746:46480234:2bd67da3:078a1f37
         Events : 0.17

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1
       2       8       33        2      active sync   /dev/sdc1

I am missing something?

Thanks for the quick reply Neil.

With warm regards,
Dat Chu

On 8/20/07, Neil Brown <neilb@suse.de> wrote:
> On Monday August 20, dattanchu@gmail.com wrote:
> > The links on Neil's website to those patches are no longer there. When
> > I try to hot grow a linear raid, it says that hot grow for linear raid
> > is not supported.
>
> What is the exact error message?
> What kernel are you using?
>
> hot-grow for linear does work with recent kernels and mdadm - it is
> part of my test suite.
>   mdadm --grow /dev/md-linear --add /dev/new-device
>
> NeilBrown
>

  reply	other threads:[~2007-08-21  3:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-20 21:35 Linear RAID hot grow Dat Chu
2007-08-20 21:46 ` Justin Piszcz
     [not found]   ` <d0e8f6370708201455i37e21a4mf2dbf8ecb0133cb0@mail.gmail.com>
2007-08-20 22:21     ` Dat Chu
2007-08-20 23:30       ` Neil Brown
2007-08-21  3:18         ` Dat Chu [this message]
2007-08-21  5:22           ` Neil Brown
2007-08-22  4:12             ` Dat Chu

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=d0e8f6370708202018p7bd20122o56c577507320c84a@mail.gmail.com \
    --to=dattanchu@gmail.com \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-raid@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox