From: Juraj Holtak <juraj@proaut.org>
To: linux-raid@vger.kernel.org
Subject: how to add third drive to RAID1 made of two drives without destroying data
Date: Sat, 22 Oct 2005 18:53:02 +0200 [thread overview]
Message-ID: <1129999982.11518.18.camel@localhost.localdomain> (raw)
Hello,
I have a working RAID1 with 2 large SATA drives and I`m using AHCI on
ICH6 chipset.
Three days ago, one drive just mysteriously failed
Oct 19 22:45:37 xaser kernel: ata1: error occurred, port reset
Oct 19 22:48:09 xaser kernel: ata2: status=0x01 { Error }
Oct 19 22:48:09 xaser kernel: ata2: error=0x40 { UncorrectableError }
Oct 19 22:48:09 xaser kernel: ata1: error occurred, port reset
Oct 19 22:48:09 xaser kernel: ata2: status=0x01 { Error }
Oct 19 22:48:09 xaser kernel: ata2: error=0x40 { UncorrectableError }
Oct 19 22:48:09 xaser kernel: SCSI error : <1 0 0 0> return code =
0x8000002
Oct 19 22:48:09 xaser kernel: sdb: Current: sense key: Medium Error
Oct 19 22:48:09 xaser kernel: Additional sense: Unrecovered read
error - aut
o reallocate failed
Oct 19 22:48:09 xaser kernel: end_request: I/O error, dev sdb, sector
440990889
Oct 19 22:48:09 xaser kernel: raid1: Disk failure on sdb9, disabling
device.
The drive appeared dead to all my attempts to get it to work without
power cycle.
Today, the replacement drive was shipped, so I powercycled the machine
and *wonder wonder* the drive was back. So I `badblocks` and resynced
again and its working perfect.
I know I can use the "new" drive I bought today as spare, but I really
miss the point of a spare for raid1. I think, it makes much more sense,
to build in the drive as a live one, so instead of RAID1 made of 2
drives, I`ll get RAID1 made of 3 drives.
I use mdadm to manage the drives. If I use --manage --add and add the
drive(partition) to the array, it becomes a spare disk and this is not
what I want it to do.
Is there a way to upgrade my raid, without destroying data?
cheers,
juraj
next reply other threads:[~2005-10-22 16:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-22 16:53 Juraj Holtak [this message]
2005-10-22 18:18 ` how to add third drive to RAID1 made of two drives without destroying data Chase Venters
2005-10-22 18:59 ` Juraj Holtak
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=1129999982.11518.18.camel@localhost.localdomain \
--to=juraj@proaut.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox