I just combined two machines into one:
Machine#1
/dev/md4 - sda1,sdb1,sdc1,sdd1,sde1,sdf1,sdg1
Machine#2
/dev/md3 - sda1,sdb1,sdc1

I moved the disks from Mach#2 to Mach#1 and was unable to start /dev/md4
(md3 worked just fine)
The disks for md4 had moved to sdd1,sde1,sdf1,sdg1,sdh1,sdj1,sdi1

The log shows:
May  5 07:36:22 yeti kernel: md4: max total readahead window set to 6144k
May  5 07:36:22 yeti kernel: md4: 6 data-disks, max readahead per data-disk:
1024k
May  5 07:36:22 yeti kernel: raid5: device sdg1 operational as raid disk 3
May  5 07:36:22 yeti kernel: raid5: device sdf1 operational as raid disk 2
May  5 07:36:22 yeti kernel: raid5: device sde1 operational as raid disk 1
May  5 07:36:22 yeti kernel: raid5: device sdd1 operational as raid disk 0

So...the system didn't recognize that sdg1 was now sdi1.
All the disks are set as "Linux raid".
I ended up doing a "mkraid" on the set and was able to recover all the data
without reformatting (thanks for that!)
Here's what it looked like afterwards...
May  5 08:13:14 yeti kernel: raid5: spare disk sdj1
May  5 08:13:14 yeti kernel: raid5: device sdi1 operational as raid disk 5
May  5 08:13:14 yeti kernel: raid5: device sdh1 operational as raid disk 4
May  5 08:13:14 yeti kernel: raid5: device sdg1 operational as raid disk 3
May  5 08:13:14 yeti kernel: raid5: device sdf1 operational as raid disk 2
May  5 08:13:14 yeti kernel: raid5: device sde1 operational as raid disk 1
May  5 08:13:14 yeti kernel: raid5: device sdd1 operational as raid disk 0


But...did I miss something or is this a bug?

________________________________________
Michael D. Black   Principal Engineer
[EMAIL PROTECTED]  321-676-2923,x203
http://www.csihq.com  Computer Science Innovations
http://www.csihq.com/~mike  My home page
FAX 321-676-2355

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to