linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Philip Cameron <pecameron@attbi.com>
To: Alvin Oga <aoga@Maggie.Linux-Consulting.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Raid1 fast resync
Date: Thu, 02 Jan 2003 20:40:01 -0500	[thread overview]
Message-ID: <3E14E9F1.1040809@attbi.com> (raw)
In-Reply-To: Pine.LNX.3.96.1030102013608.31808A-100000@Maggie.Linux-Consulting.com

Hi Alvin,

Thanks for the comments. The hardware includes two hot swappable  IO 
assemblies each of which includes a PCI bus, SCSI HBA and 3 hot swapable 
SCSI disk slots. All of the issues related to hot-swap have been 
resolved so I don't need to deal with SCSI and PCI bus issues (thankfully).

Because of the redundant IO assemblies, the system is not considered 
fully operational until either assembly can fail or be pulled at random. 
This means the resync must be complete. So the real deal is reducing the 
resync so that the system can be considered fully operational sooner. I 
am looking to reduce the multiple hour resync times to a few minutes.

Thanks again,
Phil Cameron
---------------------------

Alvin Oga wrote:

>hi ya philip
>
>On Wed, 1 Jan 2003, Philip Cameron wrote:
>
>  
>
>>Do any of you know of work that is going on to improve the raid 1 resync 
>>speed? I am starting to evaluate approaches to reducing the time to 
>>resync the disks.
>>
>>I am involved in a project on a fault tolerant x86 based server that has 
>>hot plugable scsi disks and PCI busses. There are two PCI busses and 3 
>>mirrrored sets of two disks. When a PCI bus is pulled all of the mirrors 
>>are broken so when the PCI bus is again inserted, all of the disks 
>>resync which takes hours. Also, during development the resync after 
>>crash really slows down debug.
>>    
>>
>
>without knowing more details ... here's some comments
>
>- when a pci card is pulled out, you stand a good chance that the cpu bios
>  will need to be reset ( re-saved )
>	- the machine goes into bios mode, whether you like it or not
>
>- since you are using scsi disks..
>	- when you pull out a scsi disk, the next time you reboot,
>	the scsi drives will be in different order if you lost sda
>	or lost sdb and you had sdc  which is now your new sdb
>
>- if you have 2 pci buses...
>	- put sda  on pci #1
>	and put sdb ( mirrored ) onto pci #2
>
>	- if any pci buss dies, your system can still function properly
>	since its mirror is on the other pci buss which is working
>
>- to avoid resyncing the raid data...
>	- use a 3rd (spare) disk local to the 2 disks
>	when one disk dies, the spare supposed to kick-in 
>
>	- have a spare system, that mirror's the "main" data,
>	and rebuild a spare disk on a constant basis so that
>	the "spare" can be plugged into the "main" data asap
>	whenver a disk dies that didnt have a spare previously
>
>	- when resyncing... you only need to "resync changed data"
>	( changed/new files for today ) and NOT the whole array
>	which might have a year's worth of data..
>
>	- yesterday's hot swap ( spare ) is ready to go anytime
>
>- if you want more raid interactivity and keyboard/ssh control,
>  renice the apps and raid parameters
>
>have fun
>alvin
>
>-
>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
>
>  
>



      reply	other threads:[~2003-01-03  1:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-01 15:54 Raid1 fast resync Philip Cameron
2003-01-01 16:09 ` Scott Mcdermott
2003-01-02  9:44 ` Alvin Oga
2003-01-03  1:40   ` Philip Cameron [this message]

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=3E14E9F1.1040809@attbi.com \
    --to=pecameron@attbi.com \
    --cc=aoga@Maggie.Linux-Consulting.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;
as well as URLs for NNTP newsgroup(s).