Re: Another report of a raid6 array being maintaind by _raid5 in ps .

2007-03-22 Thread Bill Davidsen

Neil Brown wrote:

On Wednesday March 21, [EMAIL PROTECTED] wrote:
  
 	Hello Neil ,  Someone else reported this before .  But I'd thought it 
was under a older kernel than 2.6.21-rc4 .  Hth ,  JimL


root  2936  0.0  0.0   2948  1760 tts/0Ss   04:30   0:00 -bash
root  2965  0.3  0.0  0 0 ?S<   04:34   0:00 [md3_raid5]
root  2977  0.0  0.0   2380   912 tts/0R+   04:38   0:00 ps -auxww

root@(none):~# uname -a
Linux (none) 2.6.21-rc4 #2 SMP Thu Mar 22 04:19:35 UTC 2007 i686 pentium4 i386 
GNU/Linux

root@(none):~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
[multipath]
md3 : active raid6 sdc1[0] sdh1[5] sdg1[4] sdf1[3] sde1[2] sdd1[1]
   573905664 blocks super 1.2 level 6, 64k chunk, algorithm 2 [6/6] [UU]
   bitmap: 0/137 pages [0KB], 512KB chunk



It's just a name
Given that the module is raid456.ko, how about this?

There are lots of error message that say 'raid5' too
  
Yes, and lots of log watching programs which know about them. I bet they 
don't know raid456, though, and will either miss them or report them as 
"unknown error" on the scan. Do we really need a cosmetic change which 
will require a functional change with no gain in function?

NeilBrown

Signed-off-by: Neil Brown <[EMAIL PROTECTED]>

### Diffstat output
 ./drivers/md/raid5.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff .prev/drivers/md/raid5.c ./drivers/md/raid5.c
--- .prev/drivers/md/raid5.c2007-03-13 10:38:33.0 +1100
+++ ./drivers/md/raid5.c2007-03-22 16:28:37.0 +1100
@@ -4209,7 +4209,7 @@ static int run(mddev_t *mddev)
}
 
 	{

-   mddev->thread = md_register_thread(raid5d, mddev, "%s_raid5");
+   mddev->thread = md_register_thread(raid5d, mddev, "%s_raid456");
if (!mddev->thread) {
 			printk(KERN_ERR 
 "raid5: couldn't allocate thread for %s\n",

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  



--
bill davidsen <[EMAIL PROTECTED]>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Another report of a raid6 array being maintaind by _raid5 in ps .

2007-03-21 Thread Neil Brown
On Wednesday March 21, [EMAIL PROTECTED] wrote:
>   Hello Neil ,  Someone else reported this before .  But I'd thought it 
> was under a older kernel than 2.6.21-rc4 .  Hth ,  JimL
> 
> root  2936  0.0  0.0   2948  1760 tts/0Ss   04:30   0:00 -bash
> root  2965  0.3  0.0  0 0 ?S<   04:34   0:00 [md3_raid5]
> root  2977  0.0  0.0   2380   912 tts/0R+   04:38   0:00 ps -auxww
> 
> root@(none):~# uname -a
> Linux (none) 2.6.21-rc4 #2 SMP Thu Mar 22 04:19:35 UTC 2007 i686 pentium4 
> i386 GNU/Linux
> 
> root@(none):~# cat /proc/mdstat
> Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
> [multipath]
> md3 : active raid6 sdc1[0] sdh1[5] sdg1[4] sdf1[3] sde1[2] sdd1[1]
>573905664 blocks super 1.2 level 6, 64k chunk, algorithm 2 [6/6] 
> [UU]
>bitmap: 0/137 pages [0KB], 512KB chunk

It's just a name
Given that the module is raid456.ko, how about this?

There are lots of error message that say 'raid5' too

NeilBrown

Signed-off-by: Neil Brown <[EMAIL PROTECTED]>

### Diffstat output
 ./drivers/md/raid5.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff .prev/drivers/md/raid5.c ./drivers/md/raid5.c
--- .prev/drivers/md/raid5.c2007-03-13 10:38:33.0 +1100
+++ ./drivers/md/raid5.c2007-03-22 16:28:37.0 +1100
@@ -4209,7 +4209,7 @@ static int run(mddev_t *mddev)
}
 
{
-   mddev->thread = md_register_thread(raid5d, mddev, "%s_raid5");
+   mddev->thread = md_register_thread(raid5d, mddev, "%s_raid456");
if (!mddev->thread) {
printk(KERN_ERR 
"raid5: couldn't allocate thread for %s\n",
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Another report of a raid6 array being maintaind by _raid5 in ps .

2007-03-21 Thread Mr. James W. Laferriere
	Hello Neil ,  Someone else reported this before .  But I'd thought it 
was under a older kernel than 2.6.21-rc4 .  Hth ,  JimL


root  2936  0.0  0.0   2948  1760 tts/0Ss   04:30   0:00 -bash
root  2965  0.3  0.0  0 0 ?S<   04:34   0:00 [md3_raid5]
root  2977  0.0  0.0   2380   912 tts/0R+   04:38   0:00 ps -auxww

root@(none):~# uname -a
Linux (none) 2.6.21-rc4 #2 SMP Thu Mar 22 04:19:35 UTC 2007 i686 pentium4 i386 
GNU/Linux

root@(none):~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
[multipath]
md3 : active raid6 sdc1[0] sdh1[5] sdg1[4] sdf1[3] sde1[2] sdd1[1]
  573905664 blocks super 1.2 level 6, 64k chunk, algorithm 2 [6/6] [UU]
  bitmap: 0/137 pages [0KB], 512KB chunk

--
+-+
| James   W.   Laferriere | System   Techniques | Give me VMS |
| NetworkEngineer | 663  Beaumont  Blvd |  Give me Linux  |
| [EMAIL PROTECTED] | Pacifica, CA. 94044 |   only  on  AXP |
+-+
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html