Hi!
I am currently playing with the RAID patches. I have kernel 2.2.12 and
applied the raid 0145 patch for 2.2.11. It complained about fs.h, but
the changes it wanted to make in fs.h were already there. I also
compiled the latest snapshot of the raidtools 0.90.
Kernel configuration:
|#
|# Additional Block Devices
|#
|CONFIG_BLK_DEV_LOOP=m
|CONFIG_BLK_DEV_NBD=m
|CONFIG_BLK_DEV_MD=y
|CONFIG_AUTODETECT_RAID=y
|CONFIG_MD_LINEAR=m
|CONFIG_MD_STRIPED=m
|CONFIG_MD_MIRRORING=m
|CONFIG_MD_RAID5=m
|# CONFIG_MD_TRANSLUCENT is not set
|# CONFIG_MD_HSM is not set
|CONFIG_BLK_DEV_RAM=m
|# CONFIG_BLK_DEV_XD is not set
|# CONFIG_BLK_DEV_DAC960 is not set
|CONFIG_PARIDE_PARPORT=m
|# CONFIG_PARIDE is not set
|# CONFIG_BLK_CPQ_DA is not set
|# CONFIG_BLK_DEV_HD is not set
My /etc/raidtab:
|raiddev /dev/md0
|raid-level 5
|nr-raid-disks 3
|nr-spare-disks 1
|persistent-superblock 1
|chunk-size 32
|parity-algorithm left-symmetric
|device /dev/sda5
|raid-disk 0
|device /dev/sdb5
|raid-disk 1
|device /dev/sdc6
|raid-disk 2
|device /dev/sdd6
|spare-disk 0
mkraid fails:
|q:~# mkraid /dev/md0
|handling MD device /dev/md0
|analyzing super-block
|disk 0: /dev/sda5, 1536918kB, raid superblock at 1536832kB
|disk 1: /dev/sdb5, 1536918kB, raid superblock at 1536832kB
|disk 2: /dev/sdc6, 1536349kB, raid superblock at 1536256kB
|disk 3: /dev/sdd6, 1534459kB, raid superblock at 1534336kB
|mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
|q:~#
Syslog doesn't get a single entry, /proc/mdstat says "inactive" for
md{0..4}.
However, none of the modules get loaded and this might be my problem.
When I try to modprobe raid5.o:
|q:~# modprobe raid5.o
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_unregister_thread_R0bfadc18
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_recover_arrays_R93090167
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_wakeup_thread_R92292453
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol xor_block_R16412c13
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_print_devices_Ra8d36306
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_register_thread_Rc409a965
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_interrupt_thread_Rb3206abb
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_update_sb_R25dd1cb1
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol md_do_sync_R19a4a637
|/lib/modules/2.2.12/block/raid5.o: unresolved symbol register_md_personality_R133dd4ae
|q:~#
How do I resolve this?
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29