From: Adam Goryachev <mailinglists@websitemanagers.com.au>
To: o1bigtenor <o1bigtenor@gmail.com>
Cc: Wols Lists <antlists@youngman.org.uk>,
Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: Questions
Date: Wed, 17 Feb 2016 01:00:30 +1100 [thread overview]
Message-ID: <56C32B7E.2070204@websitemanagers.com.au> (raw)
In-Reply-To: <CAPpdf598JjWbDFs93XU=Ph2EehNkw2qjXthUnGH+8cFs4N=64Q@mail.gmail.com>
On 16/02/2016 22:46, o1bigtenor wrote:
> On Mon, Feb 15, 2016 at 4:05 PM, Adam Goryachev
> <mailinglists@websitemanagers.com.au> wrote:
>
>
>> I wanted to mention this, what drives do you have right now, and do know
>> about SCT ERC?
>> Maybe start here (but you probably need to read more):
>> http://www.spinics.net/lists/raid/msg48199.html
> A major reason as to why the drives are getting replaced. Back in early 2012
> when I setup the machine there was no obvious information that the ERC
> type drives were needed so I just bought vanilla drives.
>> Essentially, your current disks might be fine, but if you don't have the
>> right settings, they could be "failing" regularly putting your data at risk.
>> You should fix any issue here before you attempt to replace your drives.
> I now have 2 long term drives which are likely still good and 2 cheap
> drives that
> are quite new but which I don't trust for long term reliability,
> therefore the push
> to change them all.
Note, most drives either still support it, or else can be worked around
to avoid the timeout mismatch. You should do this before continue to
replace the drives, as you want to avoid this happening in the middle of
replacing drives.
>>> the fail remove and add process 4 seperate times might not be a good thing
>>> but I do not know of a different option. Compounding the difficulty is
>>> that there
>>> are no empty hard drive slots in the machine. I do have an external USB
>>> 3.0
>>> 2 drive holder that could be used.
>>>
>>> The only suggestion in all the documents I perused was to place spare
>>> drives
>>> into something like this external box and then add the drives into the
>>> array.
>>> The process was not laid out and leaves me with a number of questions.
>>>
>>> Is there a suggested method for replacing ALL the drives in an array (raid
>>> 10
>>> in this case)?
>>
>> In order to replace all drives, I would suggest that you simply replace one
>> drive 4 times (different drive each time).
>> The first question to ask, is your external USB drive bay reliable? If not,
>> then there are other solutions that are probably less dangerous.
>>
>> So, add your spare drive to the external USB drive bay, it should show up as
>> /dev/sdy (for example)
>> Partition to match the rest of your existing drives
>> Add the new partition to your existing array: mdadm --manage /dev/md0 --add
>> /dev/sdx1
>> Replace one of the existing drives with the new one: mdadm /dev/md0
>> --replace /dev/sda1 --with /dev/sdx1
>> Personally, because I distrust the external USB drive bay (don't ask me why,
>> it just seems less reliable than internal sata), once the drive has finished
>> being replaced, I would shutdown, remove the old drive, and install the
>> replacement drive, then add another new spare, and repeat.
>>
>> You can see this page for some extra information:
>> http://unix.stackexchange.com/questions/74924/how-to-safely-replace-a-not-yet-failed-disk-in-a-linux-raid5-array
>>> If I use the external box how do I do this (external box only holds 2
>>> drives) so
>>> that I can transfer the information on the drives from the array to
>>> the new drives
>>> and then just replace the drives 2 at a time into the machine without
>>> there being
>>> issues because in the information transfer the drives will be sdg and
>>> sdh (AFAIK)
>>> and later they will be some of sdb, sdc, sde, and/or sdf.
>> I would suggest replacing one at a time.
> There is no way to do them one after another copying over all four and then
> only needing to shut the box down once or failing that doing the process 2 times
> necessitating only 2 shutdowns instead of 4 is there? The external USB box
> does have room for 2 drives at once.
Put two blank drives into the USB, replace first one, replace second one
(would suggest second drive as non-matching pair). Shutdown, move two
new drives internal, place two new drives into drive bay, and repeat for
the last two drives.
I would suggest adding a bitmap for at least the time you are doing the
replacements, then if you have a failure on the USB enclosure during the
2nd or 4th drive, at least the 1st or 3rd will re-sync quickly.
Regards,
Adam
next prev parent reply other threads:[~2016-02-16 14:00 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-14 4:28 Questions o1bigtenor
2016-02-14 6:34 ` Questions Adam Goryachev
2016-02-14 11:53 ` Questions o1bigtenor
2016-02-14 12:24 ` Questions Adam Goryachev
2016-02-15 12:12 ` Questions o1bigtenor
2016-02-15 19:50 ` Questions Wols Lists
2016-02-15 21:01 ` Questions o1bigtenor
2016-02-15 22:05 ` Questions Adam Goryachev
2016-02-16 11:46 ` Questions o1bigtenor
2016-02-16 14:00 ` Adam Goryachev [this message]
2016-02-16 18:33 ` Questions o1bigtenor
2016-02-16 14:32 ` Questions Wols Lists
2016-02-16 18:37 ` Questions o1bigtenor
2016-02-15 22:09 ` Questions Wols Lists
[not found] <CALHF=T2fyuX=m5bfNG097VxioZKWQ=c0Zj3FwtO7P5+coYx6hQ@mail.gmail.com>
[not found] ` <CALHF=T3V=3stmsJmp0KCEiEycJKrScQF_y+UcsuLEAk=EGA3dA@mail.gmail.com>
[not found] ` <CALHF=T0JT4iBQVeXq_p-JGOwppr7K1pPGHV3+70P2Xbwnu99rQ@mail.gmail.com>
2017-03-28 9:14 ` Questions Arun Maha
2017-03-28 16:16 ` Questions Hofemeier, Ulf
-- strict thread matches above, loose matches on Subject: below --
2014-10-09 12:42 Questions 刘立坤
2013-03-29 15:30 Questions Mohamet DIA
2009-03-12 15:07 questions sixiaolin0
2009-03-12 15:30 ` questions Christopher J. PeBenito
2009-03-12 15:37 ` questions Daniel J Walsh
2009-03-13 11:20 ` questions Russell Coker
2009-03-14 11:24 ` questions Shaz
2009-03-14 17:24 ` questions Russell Coker
2009-03-16 6:34 ` questions Shaz
2009-03-16 10:37 ` questions Russell Coker
2009-03-16 11:22 ` questions Shaz
2008-05-26 0:32 questions Kevin Diggs
2008-05-25 21:31 ` questions Brad Boyer
2007-12-17 13:59 questions inflo
2007-03-06 11:36 Questions John Ronan
2006-03-07 19:31 Questions Lakshmi N. Sundararajan
2006-03-07 19:46 ` Questions Josh Boyer
2005-05-19 6:23 questions Jean Delvare
2005-05-19 6:25 ` Questions Paul Aviles
2005-05-19 6:25 ` Questions Paul Aviles
2005-05-19 6:25 ` Questions Paul Aviles
2005-05-19 6:25 ` Questions Mark Studebaker
2005-05-19 6:25 ` Questions Mark Studebaker
2005-05-19 6:25 ` Questions Paul Aviles
2005-03-10 18:35 Questions Tobias Wollgam
2005-03-11 18:20 ` Questions Marco Gerards
2005-03-12 2:27 ` Questions Peter Jones
2005-03-16 16:48 ` Questions Tobias Wollgam
2004-03-06 3:04 questions william e. bastian
2004-03-06 12:43 ` questions Julius Schwartzenberg
2003-11-12 19:26 Questions Xiaonan Lu
2003-11-12 21:51 ` Questions Henrik Nordstrom
2003-08-23 22:11 questions Magosányi Árpád
2003-08-24 13:49 ` questions James Morris
2003-08-25 12:58 ` questions Kevin Carr
2003-08-25 14:22 ` questions David Caplan
2003-08-25 14:54 ` questions Art Wilson
2003-08-25 18:30 ` questions Stephen Smalley
2002-07-30 3:31 questions Bita Gorji-Ara
2002-07-30 1:44 questions Bita Gorji-Ara
[not found] ` <20020730014417.69105.qmail-3A75BWZatn2wAeGFf/znCBupM2+RrINj@public.gmane.org>
2002-07-30 12:56 ` questions Simon Richter
[not found] ` <Pine.LNX.4.44.0207301445570.6567-100000-yI80HdzzP5o@public.gmane.org>
2002-07-30 15:52 ` questions Alan Cox
2001-10-02 8:55 Questions Justin R. Smith
2001-10-02 12:36 ` Questions Stephen Smalley
2001-02-23 20:49 questions Pete Loscocco
2001-02-26 18:00 ` questions Casey Schaufler
2001-02-22 19:36 questions Pete Loscocco
2001-02-22 5:58 questions jgko
2001-02-22 14:12 ` questions Stephen Smalley
2001-02-22 18:21 ` questions Casey Schaufler
2001-02-22 19:41 ` questions Stephen Smalley
2001-02-22 23:30 ` questions Casey Schaufler
2000-12-26 19:45 questions Magosanyi Arpad
2000-12-26 21:09 ` questions Stephen Smalley
2000-12-26 21:31 ` questions Stephen Smalley
2000-04-12 22:13 questions Chu, Hao-Hua
1999-12-23 3:08 questions Ted Merrill
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=56C32B7E.2070204@websitemanagers.com.au \
--to=mailinglists@websitemanagers.com.au \
--cc=antlists@youngman.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=o1bigtenor@gmail.com \
/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.