All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Scoffier <marco@metm.org>
To: linux-raid@vger.kernel.org
Subject: Re: old raid0run
Date: Sun, 11 Feb 2007 02:45:30 -0500	[thread overview]
Message-ID: <pan.2007.02.11.07.45.23.972989@metm.org> (raw)
In-Reply-To: 45CEBED1.6000702@tls.msk.ru

On Sun, 11 Feb 2007 09:59:29 +0300, Michael Tokarev wrote:

> Marco Scoffier wrote:
>> Hello all,
>> 
>> I have an old raid0 with no superblocks.
>> 

> Well, mdadm is able to assemble it.  It's called 'build' (--build) --
> 
>   mdadm --build -n 2 -c 128 -l 0 /dev/md0 /dev/hde1 /dev/hdg1
>

Thanks for the clarification Micheal.  Reading the docs, I got a little
confused about what --build was for.

>> or should I build a new raid0 and then upgrade that to a raid0 with
>> superblocks (how would I do that?)
> 
> I think the best option is to convert it to raid0-with-superblocks. For
> that, I'd go this route:
> 
>   - build the array as above
>   - fsck the filesystem on it
>   - resize the filesystem to be, say, 1Mb smaller - stop the array -
>   create new array as you've shown above with -C - and finally resize
>   the filesystem to utilize all available space
> 

Thanks for these steps.  I am running them now.

Thanks for an amazingly fast and clear response.

-- 
Marco


      reply	other threads:[~2007-02-11  7:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-11  6:33 old raid0run Marco Scoffier
2007-02-11  6:59 ` Michael Tokarev
2007-02-11  7:45   ` Marco Scoffier [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=pan.2007.02.11.07.45.23.972989@metm.org \
    --to=marco@metm.org \
    --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 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.