Skip to contentSkip to conversation

Problems moving a raid5 to other devices

DISCUSSION Vidar 2 participants 2 messages Apr 16, 2002 MD RAID

lore
Share & tools
lore

Vidar

author
#0 lore raw

Hi

system : RH7.2, all erratas installed (like raidtools-0.90-24 and kernel-2.4.9-31)

I got a RAID5, initially on hde1, hdg1, hdh1. Now I want to move the raid to another computer and use hdb1, hdc1 and hdd1 instead.
I have browsed the mailinglist archive
(http://marc.theaimsgroup.com/?l=linux-raid) and seen others with simular problems but I have still not solved the problem.

I have altered /etc/raidtab to reflect the device changes and run the command

# raidstart -c /etc/raidtab /dev/md0

My log then gives me messages like :
kernel: (read) hdb1's sb offset: 22073152 [events: 00000023]
modprobe: modprobe: Can't locate module block-major-33
kernel: md: could not lock [dev 21:01], zero-size? Marking faulty.

It's obvious that linux still tries to access hde (block-major-33), hdg and hdh.

Do I have to install mdadm and perform some magic stunts ? If so, does mdadm require any particular version of kernel/raidtools ?

Signature · 1 line
vidar
#1 lore raw

Obsolete MD ioctl on dmesg

Hello,

I got the following message from the system boot;

"md: swapper(pid 1) used obsolete md ioctl,
upgrade your software to use new ictls".

My system:
- linux-2.4.18
- mdadm-0.8.2

What should I upgrade? Where can I get it?

PS:
I am using the SWAP file from md device.

Thanks,

Bo