From: "David C. Rankin" <drankinatty@suddenlinkmail.com>
To: mdraid <linux-raid@vger.kernel.org>
Subject: Re: Linux software raid troubles
Date: Thu, 13 Apr 2017 23:43:30 -0500 [thread overview]
Message-ID: <d1695ac6-5912-860a-0b70-e0d9a322002e@suddenlinkmail.com> (raw)
In-Reply-To: <CAAO=44Y9YspCqyfvDgx30mGO_VhYZpuj9D8U1O6063B8VL61vw@mail.gmail.com>
On 04/12/2017 10:36 AM, linuxknight wrote:
> Thank you Reindl, Using your method would I be able to apply this IMG
> file to a fresh raid1 mirror and still have it be bootable?
>
> The reason I ask is I was looking at this guide,
> https://www.data-medics.com/forum/how-to-clone-a-hard-drive-with-bad-sectors-using-ddrescue-t133.html
> It has a method to transfer drive to drive. I was thinking I would
> create the fresh RAID mirror on the dedicated LSI card, then ddrescue
> possibly bad drive to the new raid mirror. Is this a bad idea?
Take the dd advise, but... you initially indicated:
<quote>
I was moving a server with a raid1 configuration,
controlled by a Intel Corporation 82801 SATA RAID Controller
</quote>
Now you are saying
<quote>
> It has a method to transfer drive to drive. I was thinking I would
> create the fresh RAID mirror on the dedicated LSI card
</quote>
Note: the Intel and LSI cards may not have compatible RAID metadata. (That is
one of the major benefits of using linux-raid (software RAID) you are not
constrained by differing hardware RAID specifications.)
You also mention "to a fresh raid1 mirror and still have it be bootable?" If
you image the drive with dd, the mbr or bootloader will still be present on in
the image and on the drive, so as long as you can tell the OS to boot from
that drive you should be fine (as long as the controller can access the
information)
A good general howto on setting up linux-raid is
https://wiki.archlinux.org/index.php/RAID
--
David C. Rankin, J.D.,P.E.
next prev parent reply other threads:[~2017-04-14 4:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 14:31 Linux software raid troubles linuxknight
2017-04-12 14:45 ` Reindl Harald
[not found] ` <CAAO=44bsG1yrmYbag1eruNA_tdXxqiJptnRyPB=4TW6r5771HQ@mail.gmail.com>
2017-04-12 15:29 ` Reindl Harald
2017-04-12 15:36 ` linuxknight
2017-04-12 16:11 ` Reindl Harald
2017-04-14 4:43 ` David C. Rankin [this message]
2017-04-14 15:01 ` linuxknight
2017-04-14 15:52 ` Reindl Harald
2017-04-14 19:23 ` Anthony Youngman
-- strict thread matches above, loose matches on Subject: below --
2017-04-12 14:06 linuxknight
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=d1695ac6-5912-860a-0b70-e0d9a322002e@suddenlinkmail.com \
--to=drankinatty@suddenlinkmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox