Hi Ingo, everyone!

After deciding to make my now-/ my then-/boot and the two 50M partitions
I have not used until now into then-/ as raid1, I successfully mkraid'es
it with the following /etc/raidtab (snippet)

Q> raiddev /dev/md0
Q>        raid-level              1
Q>        nr-raid-disks           2
Q>        persistent-superblock   1
Q>        chunk-size              32k
Q>
Q>        device          /dev/sda1
Q>        raid-disk       0
Q>        device          /dev/sdc1
Q>        raid-disk       1

(chunk-size is not necessary for raid 1, is it?)
I then created an ext2 fs on it:
Q> mke2fs -b 4096 -i4096 /dev/md0
I then tried to simulate a disk-failure as I have never done so and will
not do so with the arrays that contain actual data. So before putting
anything else on /dev/md0, I decided to
Q> raidsetfaulty /dev/md0 /dev/sdc1
(ok, /proc/mdstat shows [U_])
Q> raidhotremove /dev/md0 /dev/sda1
(maybe ok, I didn't check the log yet; however, no error messages on the
command line)
Q> raidhotadd /dev(md0 /dev/sdc1
(no errors on the command line)
(/proc/mdstst shows recovery started, but no progress, ETA increasig all
the time)
(/var/log/messages shows the attached messages, which seem to look ok
-until it oopses with nothing more in the logs.)


TIA
Marc

-- 
Marc Mutz <[EMAIL PROTECTED]>        http://marc.mutz.com/Encryption-HOWTO/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
Jun 16 20:01:29 adam kernel: trying to hot-add sdc1 to md0 ... 
Jun 16 20:01:29 adam kernel: bind<sdc1,2>
Jun 16 20:01:29 adam kernel: RAID1 conf printout:
Jun 16 20:01:29 adam kernel:  --- wd:1 rd:2 nd:1
Jun 16 20:01:29 adam kernel:  disk 0, s:0, o:1, n:0 rd:0 us:1 dev:sda1
Jun 16 20:01:29 adam kernel:  disk 1, s:0, o:0, n:1 rd:1 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 2, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 3, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 4, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 5, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 6, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 7, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 8, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 9, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 10, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 11, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel: RAID1 conf printout:
Jun 16 20:01:29 adam kernel:  --- wd:1 rd:2 nd:2
Jun 16 20:01:29 adam kernel:  disk 0, s:0, o:1, n:0 rd:0 us:1 dev:sda1
Jun 16 20:01:29 adam kernel:  disk 1, s:0, o:0, n:1 rd:1 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 2, s:1, o:0, n:2 rd:2 us:1 dev:sdc1
Jun 16 20:01:29 adam kernel:  disk 3, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 4, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 5, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 6, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 7, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 8, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 9, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 10, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 11, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel: md: updating md0 RAID superblock on device
Jun 16 20:01:29 adam kernel: sdc1 [events: 00000003](write) sdc1's sb offset: 52352
Jun 16 20:01:29 adam kernel: sda1 [events: 00000003](write) sda1's sb offset: 52352
Jun 16 20:01:29 adam kernel: .
Jun 16 20:01:29 adam kernel: md: recovery thread got woken up ...
Jun 16 20:01:29 adam kernel: md0: resyncing spare disk sdc1 to replace failed disk
Jun 16 20:01:29 adam kernel: RAID1 conf printout:
Jun 16 20:01:29 adam kernel:  --- wd:1 rd:2 nd:2
Jun 16 20:01:29 adam kernel:  disk 0, s:0, o:1, n:0 rd:0 us:1 dev:sda1
Jun 16 20:01:29 adam kernel:  disk 1, s:0, o:0, n:1 rd:1 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 2, s:1, o:0, n:2 rd:2 us:1 dev:sdc1
Jun 16 20:01:29 adam kernel:  disk 3, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 4, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 5, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 6, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 7, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 8, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 9, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 10, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 11, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel: RAID1 conf printout:
Jun 16 20:01:29 adam kernel:  --- wd:1 rd:2 nd:2
Jun 16 20:01:29 adam kernel:  disk 0, s:0, o:1, n:0 rd:0 us:1 dev:sda1
Jun 16 20:01:29 adam kernel:  disk 1, s:0, o:0, n:1 rd:1 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 2, s:1, o:1, n:2 rd:2 us:1 dev:sdc1
Jun 16 20:01:29 adam kernel:  disk 3, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 4, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 5, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 6, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 7, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 8, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 9, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 10, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel:  disk 11, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
Jun 16 20:01:29 adam kernel: md: syncing RAID array md0
Jun 16 20:01:29 adam kernel: md: minimum _guaranteed_ reconstruction speed: 100 KB/sec.
Jun 16 20:01:29 adam kernel: md: using maximum available idle IO bandwith for 
reconstruction.
Jun 16 20:01:29 adam kernel: md: using 128k window.
Jun 16 20:01:29 adam kernel: Unable to handle kernel NULL pointer dereference at 
virtual address 00000000
Jun 16 20:01:29 adam kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Jun 16 20:01:29 adam kernel: *pde = 00000000
Jun 16 20:01:29 adam kernel: Oops: 0000
Jun 16 20:01:29 adam kernel: CPU:    0

Reply via email to