Re: Recovery of software RAID5 using FC6 rescue?

2007-05-09 Thread Nix
On 8 May 2007, Michael Tokarev told this: BTW, for such recovery purposes, I use initrd (initramfs really, but does not matter) with a normal (but tiny) set of commands inside, thanks to busybox. So everything can be done without any help from external recovery CD. Very handy at times,

Re: Linux MD Raid Bug(?) w/Kernel sync_speed_min Option

2007-05-09 Thread Neil Brown
On Tuesday May 8, [EMAIL PROTECTED] wrote: Neil, awesome patch-- what are the chances of it getting merged into 2.6.22? Probably. I want to think it through a bit more - to make sure I can write a coherent and correct changelog entry. NeilBrown - To unsubscribe from this list: send the

Re: Recovery of software RAID5 using FC6 rescue?

2007-05-09 Thread Michael Tokarev
Nix wrote: On 8 May 2007, Michael Tokarev told this: BTW, for such recovery purposes, I use initrd (initramfs really, but does not matter) with a normal (but tiny) set of commands inside, thanks to busybox. So everything can be done without any help from external recovery CD. Very handy at

Re: No such device on --remove

2007-05-09 Thread Bernd Schubert
Benjamin Schieder wrote: [EMAIL PROTECTED]:~# mdadm /dev/md/2 -r /dev/hdh5 mdadm: hot remove failed for /dev/hdh5: No such device md1 and md2 are supposed to be raid5 arrays. You are probably using udev, don't you? Somehow there's presently no /dev/hdh5, but to remove /dev/hdh5 out of the

removed disk md-device

2007-05-09 Thread Bernd Schubert
Hi, we are presently running into a hotplug/linux-raid problem. Lets assume a hard disk entirely fails or a stupid human being pulls it out of the system. Several partitions of the very same hardisk are also part of linux-software raid. Also, /dev is managed by udev. Problem-1) When the disk

RE: [PATCH 00/16] raid acceleration and asynchronous offload api for 2.6.22

2007-05-09 Thread Ronen Shitrit
Hi The resync numbers you sent, looks very promising :) Do you have any performance numbers that you can share for these set of patches, which shows the Rd/Wr IO bandwidth. Thanks Ronen Shitrit - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to

Re: removed disk md-device

2007-05-09 Thread martin f krafft
also sprach Bernd Schubert [EMAIL PROTECTED] [2007.05.09.1417 +0200]: Problem-1) When the disk fails, udev will remove it from /dev. Unfortunately this will make it impossible to remove the disk or its partitions from /dev/mdX device, since mdadm tries to read the device fail and will abort

Chaining sg lists for big I/O commands: Question

2007-05-09 Thread Justin Piszcz
http://kerneltrap.org/node/8176 I am a mdadm/disk/hard drive fanatic, I was curious: On i386, we can at most fit 256 scatterlist elements into a page, and on x86-64 we are stuck with 128. So that puts us somewhere between 512kb and 1024kb for a single IO. How come 32bit is 256 and 64 is only

Re: removed disk md-device

2007-05-09 Thread Bernd Schubert
On Wednesday 09 May 2007 15:14:50 martin f krafft wrote: also sprach Bernd Schubert [EMAIL PROTECTED] [2007.05.09.1417 +0200]: Problem-1) When the disk fails, udev will remove it from /dev. Unfortunately this will make it impossible to remove the disk or its partitions from /dev/mdX device,

Re: Chaining sg lists for big I/O commands: Question

2007-05-09 Thread Jens Axboe
On Wed, May 09 2007, Justin Piszcz wrote: http://kerneltrap.org/node/8176 Oh I am a mdadm/disk/hard drive fanatic, I was curious: On i386, we can at most fit 256 scatterlist elements into a page, and on x86-64 we are stuck with 128. So that puts us somewhere between 512kb and 1024kb for a

Re: Recovery of software RAID5 using FC6 rescue?

2007-05-09 Thread Nix
On 9 May 2007, Michael Tokarev spake thusly: Nix wrote: On 8 May 2007, Michael Tokarev told this: BTW, for such recovery purposes, I use initrd (initramfs really, but does not matter) with a normal (but tiny) set of commands inside, thanks to busybox. So everything can be done without any

Re: No such device on --remove

2007-05-09 Thread Michael Tokarev
Bernd Schubert wrote: Benjamin Schieder wrote: [EMAIL PROTECTED]:~# mdadm /dev/md/2 -r /dev/hdh5 mdadm: hot remove failed for /dev/hdh5: No such device md1 and md2 are supposed to be raid5 arrays. You are probably using udev, don't you? Somehow there's presently no /dev/hdh5, but to

Re: removed disk md-device

2007-05-09 Thread Michael Tokarev
Bernd Schubert wrote: Hi, we are presently running into a hotplug/linux-raid problem. Lets assume a hard disk entirely fails or a stupid human being pulls it out of the system. Several partitions of the very same hardisk are also part of linux-software raid. Also, /dev is managed by

Please revert 5b479c91da90eef605f851508744bfe8269591a0 (md partition rescan)

2007-05-09 Thread Neil Brown
Hi Linus, Could you please revert 5b479c91da90eef605f851508744bfe8269591a0 It causes an oops when auto-detecting raid arrays, and it doesn't seem easy to fix. The array may not be 'open' when do_md_run is called, so bdev-bd_disk might be NULL, so bd_set_size can oops. I cannot really open

Re: Please revert 5b479c91da90eef605f851508744bfe8269591a0 (md partition rescan)

2007-05-09 Thread Linus Torvalds
On Thu, 10 May 2007, Neil Brown wrote: Hi Linus, Could you please revert 5b479c91da90eef605f851508744bfe8269591a0 Done. (But Andrew never saw your email, I suspect: [EMAIL PROTECTED] is probably some strange mixup of Andrew Morton and Andi Kleen in your mind ;)

Re: No such device on --remove

2007-05-09 Thread Benjamin Schieder
On 10.05.2007 01:23:27, Michael Tokarev wrote: Bernd Schubert wrote: Benjamin Schieder wrote: [EMAIL PROTECTED]:~# mdadm /dev/md/2 -r /dev/hdh5 mdadm: hot remove failed for /dev/hdh5: No such device md1 and md2 are supposed to be raid5 arrays. You are probably using udev,