linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Mamedov <roman@rm.pp.ru>
To: Neil Brown <neilb@suse.de>
Cc: Mikael Abrahamsson <swmike@swm.pp.se>,
	Ben Nemec <lists@nemebean.com>,
	linux-raid@vger.kernel.org
Subject: Re: Replacing a drive in RAID 0
Date: Tue, 3 Aug 2010 13:46:58 +0600	[thread overview]
Message-ID: <20100803134658.4e48c97c@natsu> (raw)
In-Reply-To: <20100803161456.31d0f69b@notabene>

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

On Tue, 3 Aug 2010 16:14:56 +1000
Neil Brown <neilb@suse.de> wrote:

> > Yes, you can binary copy the drive like that, that's what I usually do.
> 
> Of course you need to be sure that the old and new devices are exactly the
> same size.  Normally they will but it is worth double checking that the
> number of sectors (blockdev --getsize) is exactly the same.

Isn't it okay for the new drive to be larger? At least if the RAID0 was
created from partitions, not whole block devices.
And if it was created from devices, there is a way to make the new larger
drive to be of exactly the same size as the old one, by setting a HPA on it
(see hdparm -N).

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-08-03  7:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-02 22:18 Replacing a drive in RAID 0 Ben Nemec
2010-08-03  5:22 ` Mikael Abrahamsson
2010-08-03  6:14   ` Neil Brown
2010-08-03  7:46     ` Roman Mamedov [this message]
2010-08-03  8:29       ` Neil Brown
2010-08-03 15:28         ` Ben Nemec
2010-08-05  6:59 ` Leslie Rhorer
2010-08-05 14:51   ` Ben Nemec

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=20100803134658.4e48c97c@natsu \
    --to=roman@rm.pp.ru \
    --cc=linux-raid@vger.kernel.org \
    --cc=lists@nemebean.com \
    --cc=neilb@suse.de \
    --cc=swmike@swm.pp.se \
    /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).