Changeset 2072 in MondoRescue for branches/2.2.8/mindi/mindi


Ignore:
Timestamp:
Dec 5, 2008, 3:32:59 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Adds multipath support (as exists on RHEL 5.2)
    • analyze-my-lvm/mindi uses the /dev/mapper/mpath... entry and not /dev/dm-... entry which is not automatically created at restore time
    • Lots of mapth dmsetup commands added to deplist
    • Adds required modules to mindi
    • Fix a bug for this in mindi around real devices with /dev/mapper/mpath... names
    • init has a new StartMpath function to start multipath correctly hopefully
    • mondorestore has a new clean_multiconf function which removes /var/lib/multipath/bindings and edits /etc/multipath.conf if needed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mindi/mindi

    r2070 r2072  
    5757CDROM_MODS="$TAPE_MODS $IDE_MODS $USB_MODS $PCMCIA_MODS $SCSI_MODS $NET_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660"
    5858# Those modules will only go on the backup media, not the boot media.
    59 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 raid456 lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm_multipath dm-round-robin dm_round_robin jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache"
     59EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 raid456 lvm-mod dm-mod dm_mod dm-snapshot dm_snapshot dm-zero dm_zero dm-mirror dm_mirror dm-multipath dm-round-robin jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache"
    6060# Replace with that line for HP OCMP e.g.
    6161#DENY_MODS="MPS_Driver_Mapper mps octtldrv tscttl streams kqemu"
     
    11541154                echo "WARNING: Multiple Logical Volumes found. Report to dev team" >> $LOGFILE 
    11551155            fi
     1156            # if it's not found, it may well be a real device such as a multipath one
     1157            # /dev/mapper/mpath... Thus we revert the situation so that next test succeed
     1158            if [ _"$current_lvolume" = _"" ]; then
     1159                current_lvolume="$current_partition"
     1160            fi
    11561161        fi
    11571162        #
     
    21962201        tar cf - /etc/udev 2> /dev/null | tar xf -
    21972202        # This avoids NIC remapping if on another machine at restore time on Debian at least
    2198         rm -f ./etc/udev/rules.d/z25_persistent-net.rules
     2203        rm -f ./etc/udev/rules.d/z??_persistent-net.rules
    21992204        tar cf - /lib*/udev 2> /dev/null | tar xf -
    22002205        if [ -x /sbin/udevd ]; then
Note: See TracChangeset for help on using the changeset viewer.