From: Mike Hardy <mhardy@h3c.com>
To: PFC <lists@peufeu.com>
Cc: "Paul M." <paul@gpmidi.net>,
mingz@ele.uri.edu, linux-raid@vger.kernel.org
Subject: Re: how to clone a disk
Date: Sat, 11 Mar 2006 08:55:59 -0800 [thread overview]
Message-ID: <4413011F.30709@h3c.com> (raw)
In-Reply-To: <op.s581hroxcigqcu@apollo13>
I can think of two things I'd do slightly differently...
Do a smartctl -t long on each disk before you do anything, to verify
that you don't have single sector errors on other drives
Use ddrescue for better results copying a failing drive
-Mike
PFC wrote:
>
>>> I have a raid5 array that contain 4 disk and 1 spare disk. now i saw one
>>> disk have sign of going fail via smart log.
>
>
> Better safe than sorry... replace the failing disk and resync,
> that's all.
>
> You might want to do "cat /dev/md# > /dev/null", or "cat /dev/hd?
>
>> /dev/null" first. This is to be sure there isn't some yet-unseen bad
>
> sector on some other drive which would screw your resync.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2006-03-11 16:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-11 0:56 how to clone a disk Ming Zhang
2006-03-11 11:53 ` Paul M.
2006-03-11 12:40 ` PFC
2006-03-11 16:55 ` Mike Hardy [this message]
2006-03-11 22:09 ` Ming Zhang
2006-03-11 23:08 ` Mike Hardy
2006-03-11 23:10 ` Ming Zhang
2006-03-11 22:08 ` Ming Zhang
2006-03-12 0:15 ` dean gaudet
2006-03-12 0:22 ` Ming Zhang
2006-03-12 0:31 ` dean gaudet
2006-03-12 0:36 ` Ming Zhang
2006-03-12 0:47 ` dean gaudet
2006-03-12 0:54 ` Ming Zhang
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=4413011F.30709@h3c.com \
--to=mhardy@h3c.com \
--cc=linux-raid@vger.kernel.org \
--cc=lists@peufeu.com \
--cc=mingz@ele.uri.edu \
--cc=paul@gpmidi.net \
/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).