I tried to upgrade Redhat 6.2 to RedHat 7.0, and the installer crashed in readFstab, line 1028 (in fstab.py) while parsing a raid disk in /etc/fstab I printed a few variables with the debugger, and raidByDev: {} raidList: {} were both empty, thus raidByDev[int(...)] crashed. It was scanning /dev/md0 when it crashed <<<<<<<<<<<<<<< /proc/mdstat: Personalities : [raid1] read_ahead 1024 sectors md0 : active raid1 hdb1[1] hda3[0] 8201024 blocks [2/2] [UU] unused devices: <none> /proc/partitions major minor #blocks name 9 0 8201024 md0 3 0 20094480 hda 3 1 32098 hda1 3 2 104422 hda2 3 3 8201182 hda3 3 4 11751547 hda4 3 64 8257032 hdb 3 65 8201151 hdb1 3 66 48195 hdb2 22 64 1073741823 hdd /etc/fstab /dev/hda4 / ext2 defaults 1 1 /dev/md0 /pub ext2 defaults 1 3 /dev/hda1 /boot ext2 defaults 1 2 /dev/hda2 swap swap pri=1 0 0 /dev/hdb2 swap swap pri=1 0 0 /dev/fd0 /mnt/floppy vfat user,noauto 0 0 /dev/cdrom /mnt/cdrom iso9660 user,noauto,ro 0 0 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/raidtab # sample Raiddev configuration file raiddev /dev/md0 raid-level 1 nr-raid-disks 2 nr-spare-disks 0 chunk-size 16 device /dev/hda3 raid-disk 0 device /dev/hdb1 raid-disk 1 >>>>>>>>>>>>>>>
I also checked the partition type of /dev/hda3 & /dev/hdb1: both partition types are 0x83, not 0xfd. Perhaps it's a problem with line 21 in raid.py? - if type != _balkan.RAID: continue + if type != _balkan.RAID and type != _balkan.EXT2: continue I always assumed that 0xfd is only required for autostarting raid devices, all other raid devices can use 0x83?
All RAID devices are assumed to be type 0xfd. You can probably complete your upgrade by just commenting out the line in /etc/fstab containing the RAID device, unless it contains files the upgrade will touch. Then uncomment it after you reboot after the upgrade.