PE1750 Software Raid + 2xSCSI Interfaces
Richard Wallman
richard.wallman at mobilefun.co.uk
Mon Jul 3 09:18:19 CDT 2006
Brian E. Seppanen wrote:
> This must be possible, so can anyone provide me with a direction to move
> towards a solution?
Have you tried using 'persistent superblocks' on your RAID devices and
changing the partition type to 0xFD (Linux raid autodetect)? The kernel
should then check all partitions for a superblock (which contains a
UUID) and build the RAID devices using superblock information rather
than partition names. It's always worked for me in the past.
For example, here's the data from one of my desktop (Debian 3.1 kernel
2.6.8-3) RAID devices:
% mdadm --misc -D /dev/md0
/dev/md0:
Version : 00.90.01
Creation Time : Sat May 20 18:41:36 2006
Raid Level : raid1
Array Size : 979840 (956.88 MiB 1003.36 MB)
Device Size : 979840 (956.88 MiB 1003.36 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Jul 3 15:06:30 2006
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : 16caa9ab:03c61a4c:a45b2246:a1652f24
Events : 0.225812
Number Major Minor RaidDevice State
0 3 1 0 active sync /dev/hda1
1 22 1 1 active sync /dev/hdc1
And another:
% mdadm --misc -D /dev/md1
/dev/md1:
Version : 00.90.01
Creation Time : Sat May 20 18:41:58 2006
Raid Level : raid1
Array Size : 38098048 (36.33 GiB 39.01 GB)
Device Size : 38098048 (36.33 GiB 39.01 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Mon Jul 3 15:06:46 2006
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : acb0a88e:f31c3edc:0e2d228a:e2751199
Events : 0.2050962
Number Major Minor RaidDevice State
0 3 2 0 active sync /dev/hda2
1 22 2 1 active sync /dev/hdc2
AFAIK it also honours the 'Preferred Minor' number for the /dev/md?
device. :)
--
Richard Wallman - IT Infrastructure Manager
Mobile Fun Limited
http://www.mobilefun.co.uk
More information about the Linux-PowerEdge
mailing list