Re: libata hotplug and md raid?

2007-01-10 Thread Mike Accetta
I am currently looking at using md RAID1 and libata hotplug under 2.6.19. This relevant thread from Oct 2006 http://thread.gmane.org/gmane.linux.raid/13321/focus=13321 tailed off after this proposal from Neil Brown: On Monday October 16, [EMAIL PROTECTED] wrote: So the question remains:

Re: libata hotplug and md raid?

2006-10-17 Thread Gabor Gombas
On Tue, Oct 17, 2006 at 11:58:03AM +1000, Neil Brown wrote: udev can find out what needs to be done by looking at /sys/block/whatever/holders. Are you sure? $ cat /proc/mdstat [...] md0 : active raid1 sdd1[1] sdc1[0] sdb1[2] sda1[3] 393472 blocks [4/4] [] [...] $ ls -l

Re: libata hotplug and md raid?

2006-10-17 Thread Gabor Gombas
On Tue, Oct 17, 2006 at 10:07:07AM +0200, Gabor Gombas wrote: Vanilla 2.6.18 kernel. In fact, all the /sys/block/*/holders directories are empty here. Never mind, I just found the per-partition holders directories. Argh. Gabor --

Re: libata hotplug and md raid?

2006-10-16 Thread Mark Lord
Leon Woestenberg wrote: Hello all, On 9/13/06, Tejun Heo [EMAIL PROTECTED] wrote: Ric Wheeler wrote: Leon Woestenberg wrote: In short, I use ext3 over /dev/md0 over 4 SATA drives /dev/sd[a-d] each driven by libata ahci. I unplug then replug the drive that is rebuilding in RAID-5. When I

Re: libata hotplug and md raid?

2006-10-16 Thread Neil Brown
On Monday October 16, [EMAIL PROTECTED] wrote: So the question remains: How will hotplug and md work together? How does md and hotplug work together for current hotplug devices? I have the same questions. How does this work in a pure SCSI environment? (has it been tested?) If

Re: libata hotplug and md raid?

2006-09-15 Thread Leon Woestenberg
Hello all, On 9/15/06, Greg KH [EMAIL PROTECTED] wrote: On Thu, Sep 14, 2006 at 02:24:45PM +0200, Leon Woestenberg wrote: On 9/13/06, Tejun Heo [EMAIL PROTECTED] wrote: Ric Wheeler wrote: Leon Woestenberg wrote: In short, I use ext3 over /dev/md0 over 4 SATA drives /dev/sd[a-d] each

Re: libata hotplug and md raid?

2006-09-14 Thread Turbo Fredriksson
Tejun == Tejun Heo [EMAIL PROTECTED] writes: Tejun Would it be better for md to listen to Tejun hotplug events and auto-remove dead devices or is it Tejun something which belongs to userland? From my perspective (User+Admin), I'd _very much_ like to have (physically) removed disks

Re: libata hotplug and md raid?

2006-09-14 Thread Leon Woestenberg
Hello all, On 9/13/06, Tejun Heo [EMAIL PROTECTED] wrote: Ric Wheeler wrote: Leon Woestenberg wrote: In short, I use ext3 over /dev/md0 over 4 SATA drives /dev/sd[a-d] each driven by libata ahci. I unplug then replug the drive that is rebuilding in RAID-5. When I unplug a drive, /dev/sda

Re: libata hotplug and md raid?

2006-09-14 Thread Greg KH
On Thu, Sep 14, 2006 at 02:24:45PM +0200, Leon Woestenberg wrote: Hello all, On 9/13/06, Tejun Heo [EMAIL PROTECTED] wrote: Ric Wheeler wrote: Leon Woestenberg wrote: In short, I use ext3 over /dev/md0 over 4 SATA drives /dev/sd[a-d] each driven by libata ahci. I unplug then replug the

Re: libata hotplug and md raid?

2006-09-13 Thread Ric Wheeler
(Adding Tejun Greg KH to this thread) Leon Woestenberg wrote: Hello all, I am testing the (work-in-progress / upcoming) libata SATA hotplug. Hotplugging alone seems to work, but not well in combination with md RAID. Here is my report and a question about intended behaviour. Mainstream

Re: libata hotplug and md raid?

2006-09-13 Thread Leon Woestenberg
Hello Tejun et al, On 9/13/06, Tejun Heo [EMAIL PROTECTED] wrote: Ric Wheeler wrote: (Adding Tejun Greg KH to this thread) Adding linux-ide to this thread. Leon Woestenberg wrote: [--snip--] In short, I use ext3 over /dev/md0 over 4 SATA drives /dev/sd[a-d] each driven by libata ahci. I