����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Remember the mappings if any for disk-by-id
ls /dev/disk/by-id | while read ID;
do
# create diskbyid_mappings file:
# we need to keep absolute PATH for device in order to be able to easily use apply_mappings() function.
# and apply disk mapping during migration.
#
# example: scsi-360060e8015268c000001268c000065c0-part4 /dev/sda4
# wwn-0x600507680c82004cf8000000000000d8 /dev/mapper/maptha
# get real device name from a symlink defined by udev
# UdevQueryName() defined in lib/layout-function.sh
ID_NEW=$(UdevQueryName /dev/disk/by-id/$ID)
if [[ $ID_NEW =~ ^dm- ]]; then
# If dm- device is a multipath, get its /dev/mapper/name instead of /dev/dm-X
# as /dev/dm-X are not persistent across reboot and not used in disk mapping file.
# get symlinks defined by udev from a device
# UdevSymlinkName() defined in lib/layout-function.sh
SYMLINKS=$(UdevSymlinkName /dev/$ID_NEW)
set -- $SYMLINKS
while [ $# -gt 0 ]; do
if [[ $1 =~ /dev/mapper/ ]]; then
ID_NEW=${1#/dev/}
break
else
shift
fi
done
fi
echo $ID /dev/$ID_NEW
done >$VAR_DIR/recovery/diskbyid_mappings
[[ -f $VAR_DIR/recovery/diskbyid_mappings ]] && Log "Saved diskbyid_mappings"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 100_create_layout_file.sh | File | 2.31 KB | 0644 |
|
| 150_save_diskbyid_mappings.sh | File | 1.21 KB | 0644 |
|
| 190_opaldisk_layout.sh | File | 804 B | 0644 |
|
| 200_partition_layout.sh | File | 25.24 KB | 0644 |
|
| 210_raid_layout.sh | File | 17.68 KB | 0644 |
|
| 220_lvm_layout.sh | File | 23.78 KB | 0644 |
|
| 230_filesystem_layout.sh | File | 41.63 KB | 0644 |
|
| 240_swaps_layout.sh | File | 1.96 KB | 0644 |
|
| 250_drbd_layout.sh | File | 799 B | 0644 |
|
| 260_crypt_layout.sh | File | 7.23 KB | 0644 |
|
| 270_hpraid_layout.sh | File | 5.34 KB | 0644 |
|
| 280_multipath_layout.sh | File | 3.75 KB | 0644 |
|
| 340_false_blacklisted.sh | File | 1.76 KB | 0644 |
|
| 350_copy_drbdtab.sh | File | 231 B | 0644 |
|
| 500_extract_vgcfg.sh | File | 201 B | 0644 |
|
| 510_current_disk_usage.sh | File | 1.6 KB | 0644 |
|