* report on RAID tools bug/patch
@ 2003-06-06 6:44 David Chow
2003-06-06 7:03 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: David Chow @ 2003-06-06 6:44 UTC (permalink / raw)
To: linux-raid
Hi Neil,
Referring to the earlier patches you post to fix a problem in mkraid.c
which saids "array is active -- run raidstop first" . I've try it on
1.003 from the redhat website and tested it on my system which seems
alright. I think this problem has existed in almost all Linux
distribution as it has been hanging around for a long time. Would you
please fix it and it will make a lot of people happy :D Thanks.
--- mkraid.c 2002/11/05 19:34:57 1.1
+++ mkraid.c 2002/11/05 19:35:29
@@ -244,7 +244,7 @@ int main (int argc, char *argv[])
while (*args) {
for (p = cfg_head; p; p = p->next) {
if (strcmp(p->md_name, *args)) continue;
- if (check_active(cfg))
+ if (check_active(p))
goto abort;
if (force_flag) {
fprintf(stderr, "DESTROYING the contents of %s in 5
seconds, Ctrl-C if unsure!\n", *args);
regards,
David Chow
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: report on RAID tools bug/patch
2003-06-06 6:44 report on RAID tools bug/patch David Chow
@ 2003-06-06 7:03 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2003-06-06 7:03 UTC (permalink / raw)
To: David Chow; +Cc: linux-raid
On Friday June 6, davidchow@shaolinmicro.com wrote:
> Hi Neil,
>
> Referring to the earlier patches you post to fix a problem in mkraid.c
> which saids "array is active -- run raidstop first" . I've try it on
> 1.003 from the redhat website and tested it on my system which seems
> alright. I think this problem has existed in almost all Linux
> distribution as it has been hanging around for a long time. Would you
> please fix it and it will make a lot of people happy :D Thanks.
I did "fix" it by writing mdadm :-)
I don't maintain raidtools so I'm afraid I cannot help you.
NeilBrown
>
> --- mkraid.c 2002/11/05 19:34:57 1.1
> +++ mkraid.c 2002/11/05 19:35:29
> @@ -244,7 +244,7 @@ int main (int argc, char *argv[])
> while (*args) {
> for (p = cfg_head; p; p = p->next) {
> if (strcmp(p->md_name, *args)) continue;
> - if (check_active(cfg))
> + if (check_active(p))
> goto abort;
> if (force_flag) {
> fprintf(stderr, "DESTROYING the contents of %s in 5
> seconds, Ctrl-C if unsure!\n", *args);
>
> regards,
> David Chow
>
>
> -
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-06 7:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06 6:44 report on RAID tools bug/patch David Chow
2003-06-06 7:03 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox