All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Sandro Dentella <sandro.dentella@tin.it>
Cc: linux-raid@vger.kernel.org
Subject: Re: Which raid card to buy for Sarge
Date: Thu, 01 Apr 2004 03:07:02 -0500	[thread overview]
Message-ID: <406BCDA6.1030902@pobox.com> (raw)
In-Reply-To: <20040401074921.GA27234@bluff>

Sandro Dentella wrote:
> On Thu, Apr 01, 2004 at 09:56:40AM +0400, Brad Campbell wrote:
> 
>>Jeff Garzik wrote:
>>
>>
>>>>it out and insert the new drive in the array. The array starts 
>>>>rebuilding - no effect on the uptime and only a slight loss in 
>>>>throughput. Plus it's seamless.
>>>
>>>Yeah, md+mdadm can do all this right now, provided the hardware and 
>>>driver support is there...
>>>
>>
>>Yes, my point however is for low budget stuff with software raid the driver 
>>support is not yet there in a vanilla kernel.
>>I can't just whack a sata drive off one of my promise SATA150-TX4 
>>controllers, pop another one in and have the kernel rescan the partition 
>>table and realise a new drive was present. (YET!)
> 
> 
> I'm sort of confused... which are the combinations that allow me to hotswap a
> disk w/ software raid. I don't mind doing some mdadm operations, I'm just
> interested in how I can avoid rebooting. 
> 
> I thought I couldn't, now I learn you can "provided the hardware and driver
> support is there"... can you detail a little more?

AFAICS, the steps should be:

1) (optional) be nice, and tell md you are about to yank a drive using 
hot-remove
2) (required on ICH5, optional on others) be nice, and tell SATA you are 
about to yank a drive (not implemented yet in libata)
3) unplug the SATA cable
4) swap out drives
5) plug in the SATA cable (kernel automatically notices the new device; 
not implemented yet in libata)
6) new device is probed by kernel SATA driver
7) kernel executes /sbin/hotplug (normal for any hotplug event)
8a) /sbin/hotplug magic issues the md ioctls to hot-add a new device. 
This requires some knowledge in code, or in a config file, of how to 
associate a new device on a random controller with a specific array.
	or
8b) sysadmin uses mdadm to hot-add the new device, to the specified array.



  parent reply	other threads:[~2004-04-01  8:07 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31 15:47 Which raid card to buy for Sarge me
2004-03-31 16:15 ` Luca Berra
2004-03-31 16:43   ` me
2004-03-31 16:58     ` Måns Rullgård
2004-03-31 18:03       ` Ralph Paßgang
2004-03-31 19:50         ` Mark Hahn
2004-03-31 20:19           ` Richard Scobie
2004-04-01  9:07             ` KELEMEN Peter
2004-04-04  4:47               ` Richard Scobie
2004-04-09 11:16                 ` KELEMEN Peter
2004-04-09 13:07                   ` Which raid card to buy for SargeD Yu Chen
2004-04-09 21:52                     ` KELEMEN Peter
2004-03-31 20:42           ` Which raid card to buy for Sarge Ralph Paßgang
2004-03-31 20:59             ` Jeff Garzik
2004-03-31 21:39             ` Guy
2004-04-01  4:49           ` Brad Campbell
2004-04-01  4:51             ` seth vidal
2004-04-01  5:01               ` Brad Campbell
2004-04-01  5:39                 ` Guy
2004-04-01  5:51                   ` Brad Campbell
2004-04-01  5:29             ` Guy
2004-04-01  5:54               ` Jeff Garzik
2004-04-01  5:44             ` Jeff Garzik
2004-04-01  5:56               ` Brad Campbell
2004-04-01  7:49                 ` Sandro Dentella
2004-04-01  8:03                   ` Brad Campbell
2004-04-01  8:07                   ` Jeff Garzik [this message]
2004-04-16 14:25             ` Nick Maynard
2004-04-16 15:09               ` Måns Rullgård
2004-04-16 16:29                 ` Nick Maynard
2004-04-16 17:44                   ` Måns Rullgård
2004-04-16 22:34                   ` jlewis
2004-04-01  4:24 ` me
2004-04-01  4:57   ` Clemens Schwaighofer
2004-04-01  5:34     ` Jeff Garzik
2004-04-01  6:39       ` Clemens Schwaighofer
2004-04-01  5:58   ` Jeff Garzik
2004-04-01 12:52     ` me
2004-04-01 19:31       ` Terrence Martin
2004-04-02  4:46         ` me

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=406BCDA6.1030902@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=sandro.dentella@tin.it \
    /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.