From: Phil Turmel <philip@turmel.org>
To: Stefan Lamby <webmaster@peter-speer.de>,
"linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: Raid 1 needs repair
Date: Thu, 4 Feb 2016 09:51:35 -0500 [thread overview]
Message-ID: <56B36577.2030902@turmel.org> (raw)
In-Reply-To: <285536573.454192.1454595669809.JavaMail.open-xchange@app01.ox.hosteurope.de>
Good morning Stefan,
On 02/04/2016 09:21 AM, Stefan Lamby wrote:
> Hi.
> My md0 is broken because of a damaged sda.
> It was simple to find out which on it is thanks to lsdrv by Mr Turmel.
You're welcome. Side note: It looks like lsdrv couldn't find the pvs
and lvs utilities to fully document your LVM setup. I'd be interested
in knowing which distro and version that environment was.
> Now I have a new disk, same size, as sda with sda1 partition - same size -
> formatted as Linux raid autodetect.
> In the end I like to end up with the new sda1 as member of md0 and I need to put
> my boot information there, since sdb1, also member of md0, seems to no have no
> such info because the system wasn't booting with a missing sda1.
From what I can see from your report, you probably only need to do
grub-install /dev/sda and grub-install /dev/sdb
The boot partition is mirrored for the bulk of grub's data, which means
normal upgrades and config changes "just work", but a new drive needs a
bootloader. That is outside the array in the space before the first
partition.
> I am afraid of loosing data, so I prefer asking, what to do next.
> Please guide, I have the system up and running on a sysrescd live distro.
I presume that means you booted a rescue CD and then used chroot to get
a command prompt in your installed system. If not, grub-install
probably won't work. Note that some distros use grub2-install.
If the above doesn't work, let us know what it says.
Phil
next prev parent reply other threads:[~2016-02-04 14:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-04 14:21 Raid 1 needs repair Stefan Lamby
2016-02-04 14:51 ` Phil Turmel [this message]
2016-02-04 16:03 ` Stefan Lamby
2016-02-04 16:45 ` Phil Turmel
2016-02-04 17:41 ` Stefan Lamby
2016-02-04 21:30 ` Phil Turmel
2016-02-05 10:02 ` Stefan Lamby
[not found] ` <1543635690.543147.1454691080103.JavaMail.open-xchange@app03.ox.hosteurope.de>
2016-02-05 16:54 ` [SOLVED] " Phil Turmel
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=56B36577.2030902@turmel.org \
--to=philip@turmel.org \
--cc=linux-raid@vger.kernel.org \
--cc=webmaster@peter-speer.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.