On 2002-05-20 10:28:54-1000, Sidik Isani wrote:
> 1. Partitioned 6 13GB IDE disks as ~12.9x6 raid5 plus a small raid1
> on the first two disks for the log.
> 2. Rebooted to be sure partition tables were seen correctly.
> 3. mkraid /dev/md0 (the raid5 ... resyncing began)
> 4. mkraid /dev/md1 (the raid1 ... resyncing delayed because on same disk)
> 5. mkfs.xfs -o logdev=/dev/md1 /dev/md0
> 6. mounted it and untarred a kernel tree (notably faster than 2.4.16!)
> 7. resyncing continues until about half way through it finds a bad sector
> on *one* of the disks and switches to degraded mode. No IDE errors
> after that one.
> 8. Rebooted (wanted to see if it came back still in degraded mode. It did.)
> 9. mounted again and tried to rm -rf the linux kernel tree... crash.
If the disk error occurred WHILE syncing, the raid5 drivers may not have
had time yet to write the parity information, and when in degraded mode may
have tried to restore data from unitialized parity data. This would explain
why the disk is so drastically garbled in places.
Regards,
--
Wessel Dankers <wsl@xxxxxxxxxxxx>
the printer thinks its a router.
|