* raidtools-20010914
@ 2002-12-19 13:38 Jarmo Järvenpää
2002-12-19 13:51 ` raidtools-20010914 Derek Vadala
2002-12-19 16:22 ` raidtools-20010914 Claudio Fleiner
0 siblings, 2 replies; 3+ messages in thread
From: Jarmo Järvenpää @ 2002-12-19 13:38 UTC (permalink / raw)
To: linux-raid
- 3 RAID 1 devices with each having 2 partitions mirrored together.
- Kernel 2.4.20
I tried to remove /dev/hda1 from /dev/md0 by using raidhotgenerateerror
and got this:
md: trying to remove hda1 from md0 ...
md: bug in file md.c, line 2341
md: **********************************
md: * <COMPLETE RAID STATE PRINTOUT> *
md: **********************************
md0: <hde1><hda1> array superblock:
md: SB: (V:0.90.0) ID:<dafb19f4.cc607c07.b72647b4.6f585c6d> CT:3c18a44b
md: L1 S01024000 ND:3 RD:2 md0 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:2 WD:2 FD:1 SD:0 CSUM:f12faea4 E:00000050
D 0: DISK<N:0,hda1(3,1),R:0,S:6>
D 1: DISK<N:1,hde1(33,1),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:1,hde1(33,1),R:1,S:6>
md: rdev hde1: O:hde1, SZ:01024000 F:0 DN:1 <6>md: rdev superblock:
md: SB: (V:0.90.0) ID:<dafb19f4.cc607c07.b72647b4.6f585c6d> CT:3c18a44b
md: L1 S01024000 ND:3 RD:2 md0 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:2 WD:2 FD:1 SD:0 CSUM:f12fcb99 E:00000050
D 0: DISK<N:0,hda1(3,1),R:0,S:6>
D 1: DISK<N:1,hde1(33,1),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:1,hde1(33,1),R:1,S:6>
md: rdev hda1: O:hda1, SZ:01536064 F:0 DN:0 <6>md: rdev superblock:
md: SB: (V:0.90.0) ID:<dafb19f4.cc607c07.b72647b4.6f585c6d> CT:3c18a44b
md: L1 S01024000 ND:3 RD:2 md0 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:2 WD:2 FD:1 SD:0 CSUM:f12fcb79 E:00000050
D 0: DISK<N:0,hda1(3,1),R:0,S:6>
D 1: DISK<N:1,hde1(33,1),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:0,hda1(3,1),R:0,S:6>
md1: <hde5><hda5> array superblock:
md: SB: (V:0.90.0) ID:<9f552c55.10d01053.7e6a40ae.e9160862> CT:3c18a58a
md: L1 S05120000 ND:3 RD:2 md1 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:2 WD:2 FD:1 SD:0 CSUM:3b397b89 E:0000004d
D 0: DISK<N:0,hda5(3,5),R:0,S:6>
D 1: DISK<N:1,hde5(33,5),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:1,hde5(33,5),R:1,S:6>
md: rdev hde5: O:hde5, SZ:05120000 F:0 DN:1 <6>md: rdev superblock:
md: SB: (V:0.90.0) ID:<9f552c55.10d01053.7e6a40ae.e9160862> CT:3c18a58a
md: L1 S05120000 ND:3 RD:2 md1 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:2 WD:2 FD:1 SD:0 CSUM:3b39987e E:0000004d
D 0: DISK<N:0,hda5(3,5),R:0,S:6>
D 1: DISK<N:1,hde5(33,5),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:1,hde5(33,5),R:1,S:6>
md: rdev hda5: O:hda5, SZ:05120000 F:0 DN:0 <6>md: rdev superblock:
md: SB: (V:0.90.0) ID:<9f552c55.10d01053.7e6a40ae.e9160862> CT:3c18a58a
md: L1 S05120000 ND:3 RD:2 md1 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:2 WD:2 FD:1 SD:0 CSUM:3b39985e E:0000004d
D 0: DISK<N:0,hda5(3,5),R:0,S:6>
D 1: DISK<N:1,hde5(33,5),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:0,hda5(3,5),R:0,S:6>
md2: <hde6> array superblock:
md: SB: (V:0.90.0) ID:<7db46cc6.da202531.4acfe1c3.0a02808b> CT:3c18a596
md: L1 S53760064 ND:2 RD:2 md2 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:1 WD:1 FD:1 SD:0 CSUM:d3211a5a E:0000004b
D 0: DISK<N:0,[dev 00:00](0,0),R:0,S:9>
D 1: DISK<N:1,hde6(33,6),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:1,hde6(33,6),R:1,S:6>
md: rdev hde6: O:hde6, SZ:53760064 F:0 DN:1 <6>md: rdev superblock:
md: SB: (V:0.90.0) ID:<7db46cc6.da202531.4acfe1c3.0a02808b> CT:3c18a596
md: L1 S53760064 ND:2 RD:2 md2 LO:0 CS:8192
md: UT:3e01dcb3 ST:0 AD:1 WD:1 FD:1 SD:0 CSUM:d32136ef E:0000004b
D 0: DISK<N:0,[dev 00:00](0,0),R:0,S:9>
D 1: DISK<N:1,hde6(33,6),R:1,S:6>
D 2: DISK<N:2,[dev 00:00](0,0),R:2,S:9>
md: THIS: DISK<N:1,hde6(33,6),R:1,S:6>
md: **********************************
md: cannot remove active disk hda1 from md0 ...
md: trying to generate hda1 error in md0 ...
md: okay, generating error!
----------
> cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
read_ahead 1024 sectors
md0 : active raid1 hde1[1] hda1[0]
1024000 blocks [2/2] [UU]
...
So, it seems hotgenerateeror was not successful.
Any ideas?
Regards,
Jarmo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: raidtools-20010914
2002-12-19 13:38 raidtools-20010914 Jarmo Järvenpää
@ 2002-12-19 13:51 ` Derek Vadala
2002-12-19 16:22 ` raidtools-20010914 Claudio Fleiner
1 sibling, 0 replies; 3+ messages in thread
From: Derek Vadala @ 2002-12-19 13:51 UTC (permalink / raw)
To: linux-raid; +Cc: =?X-UNKNOWN?Q?Jarmo_J=E4rvenp=E4=E4?=
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 784 bytes --]
On Thu, 19 Dec 2002, Jarmo [iso-8859-1] Järvenpää wrote:
> - 3 RAID 1 devices with each having 2 partitions mirrored together.
> - Kernel 2.4.20
There are some known issues with this release of raidtools. Avoid using
it. Either revert to the previous version, or move up to 1.0 (available as
a REdHat 8.0 rpm or source rpm). Does anyone know if the tar file for
raidtools-1.0 is floating around yet?
Don't use raidhotgenerateerror. Use raidsetfaulty to mark a disk as
failed.
Or, use mdadm.
--
Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek
-
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] 3+ messages in thread
* Re: raidtools-20010914
2002-12-19 13:38 raidtools-20010914 Jarmo Järvenpää
2002-12-19 13:51 ` raidtools-20010914 Derek Vadala
@ 2002-12-19 16:22 ` Claudio Fleiner
1 sibling, 0 replies; 3+ messages in thread
From: Claudio Fleiner @ 2002-12-19 16:22 UTC (permalink / raw)
To: Jarmo Järvenpää; +Cc: linux-raid
I had the same problem and a quick look at the kernel shows
that although the ioctl for generating the fault exists
in the kernel, the main part is commented out and therefore
the operation is a noop.
This is true for the 2.4.19 and at least the beginning of
the 2.5.* kernels. If you want to use raidhotgenerateerror
you need to edit a few kernel files.
Claudio
on Thu, 19 Dec 2002 15:38:32 +0200 Jarmo =?iso-8859-1?Q?J=E4rvenp=E4=E4?=
<Jarmo.Jarvenpaa@softers.net> wrote:
> - 3 RAID 1 devices with each having 2 partitions mirrored together.
> - Kernel 2.4.20
>
> I tried to remove /dev/hda1 from /dev/md0 by using raidhotgenerateerror
> and got this:
>
----------------------------------------------------------------------------
Claudio Fleiner claudio@fleiner.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-19 16:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 13:38 raidtools-20010914 Jarmo Järvenpää
2002-12-19 13:51 ` raidtools-20010914 Derek Vadala
2002-12-19 16:22 ` raidtools-20010914 Claudio Fleiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).