📁
SKYSHELL MANAGER
PHP v8.0.30
Create
Create
Path:
root
/
home
/
godaofbq
/
redlightsquared.com
/
wp-content
/
plugins
/
Name
Size
Perm
Actions
📁
adminify
-
0755
🗑️
🏷️
🔒
📁
adminify-activity-logs
-
0755
🗑️
🏷️
🔒
📁
adminify-pro
-
0755
🗑️
🏷️
🔒
📁
akismet
-
0755
🗑️
🏷️
🔒
📁
all-in-one-wp-migration
-
0755
🗑️
🏷️
🔒
📁
all-in-one-wp-migration-unlimited-extension
-
0755
🗑️
🏷️
🔒
📁
authorizenet-payment-gateway-for-woocommerce
-
0755
🗑️
🏷️
🔒
📁
backuply
-
0755
🗑️
🏷️
🔒
📁
backuply-pro
-
0755
🗑️
🏷️
🔒
📁
cf7-conditional-fields
-
0755
🗑️
🏷️
🔒
📁
classic-editor
-
0755
🗑️
🏷️
🔒
📁
code-snippets
-
0755
🗑️
🏷️
🔒
📁
contact-form-7
-
0755
🗑️
🏷️
🔒
📁
cookieadmin
-
0755
🗑️
🏷️
🔒
📁
cookieadmin-pro
-
0755
🗑️
🏷️
🔒
📁
crisp
-
0755
🗑️
🏷️
🔒
📁
duplicate-page
-
0755
🗑️
🏷️
🔒
📁
duplicator
-
0755
🗑️
🏷️
🔒
📁
export-media-with-selected-content
-
0755
🗑️
🏷️
🔒
📁
google-listings-and-ads
-
0755
🗑️
🏷️
🔒
📁
google-site-kit
-
0755
🗑️
🏷️
🔒
📁
gosmtp
-
0755
🗑️
🏷️
🔒
📁
gosmtp-pro
-
0755
🗑️
🏷️
🔒
📁
header-footer
-
0755
🗑️
🏷️
🔒
📁
litespeed-cache
-
0755
🗑️
🏷️
🔒
📁
loginizer
-
0755
🗑️
🏷️
🔒
📁
loginizer-security
-
0755
🗑️
🏷️
🔒
📁
loginpress
-
0755
🗑️
🏷️
🔒
📁
masterslider
-
0755
🗑️
🏷️
🔒
📁
oxygen
-
0755
🗑️
🏷️
🔒
📁
oxygen-gutenberg
-
0755
🗑️
🏷️
🔒
📁
oxygen-woocommerce
-
0755
🗑️
🏷️
🔒
📁
pagelayer
-
0755
🗑️
🏷️
🔒
📁
pagelayer-pro
-
0755
🗑️
🏷️
🔒
📁
pdf-embedder
-
0755
🗑️
🏷️
🔒
📁
rolemaster-suite
-
0755
🗑️
🏷️
🔒
📁
siteseo
-
0755
🗑️
🏷️
🔒
📁
siteseo-pro
-
0755
🗑️
🏷️
🔒
📁
speedycache
-
0755
🗑️
🏷️
🔒
📁
speedycache-pro
-
0755
🗑️
🏷️
🔒
📁
wc-external-product-new-tab
-
0755
🗑️
🏷️
🔒
📁
woocommerce
-
0755
🗑️
🏷️
🔒
📁
wordpress-seo
-
0755
🗑️
🏷️
🔒
📁
wp-headers-and-footers
-
0755
🗑️
🏷️
🔒
📄
error_log
3443.03 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
login.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: mpathcleanup
#!/usr/bin/bash # # Copyright (C) 2023 Red Hat, Inc. All rights reserved. # # This file is part of the device-mapper-multipath package. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA unset PROGRAM FLUSH DEVICE DEVNAME MAJOR MINOR PATHDEVS PATHDEV HAVE_MULTIPATHD QUEUEING function usage { echo "usage: $PROGRAM [-h] [--flush] <device>" echo "" echo "remove a multipath device and its scsi path devices" echo "" echo "options:" echo " -h, --help show this help message and exit" echo " --flush disable queuing on the multipath device and" echo " flush the path devices before removing" } function parse_args { while [ -n "$1" ]; do case $1 in --flush) FLUSH=1 shift ;; --help | -h) usage exit 1 ;; *) if [ -n "$DEVICE" ]; then usage exit 1 fi DEVICE=$1 shift ;; esac done } function validate_device { if [ -z "$DEVICE" ]; then usage exit 1 fi if [[ "$DEVICE" =~ ^[[:digit:]]+:[[:digit:]]+$ ]]; then MAJOR=${DEVICE%%:*} MINOR=${DEVICE##*:} DEVNAME=`dmsetup ls --target multipath | grep "($MAJOR, $MINOR)$" | awk '{print $1}'` else DEVNAME=`dmsetup ls --target multipath | awk '{print $1}' | grep "^$DEVICE$"` fi if [ -z "$DEVNAME" ]; then DEVNAME=`multipath -v 1 -l $DEVICE 2>/dev/null` if [ -z "$DEVNAME" ]; then echo "$DEVICE is not a multipath device" exit 1 fi # verify that this is not a native nvme multipath device dmsetup ls --target multipath | awk '{print $1}' | grep -q "^$DEVNAME$" if test $? -eq 1; then echo "$DEVICE is not a device-mapper multipath device" exit 1 fi fi if [ -z "$MINOR" ]; then MINOR=`dmsetup info -c --noheadings -o minor $DEVNAME` fi } function get_paths { PATHDEVS=`ls /sys/block/dm-$MINOR/slaves` for PATHDEV in $PATHDEVS; do if [[ ! "$PATHDEV" =~ ^sd[a-z]+$ ]]; then echo "$PATHDEV is not a scsi device. $PROGRAM only works with scsi devices" exit 1 fi done } function remove_devs { pidof multipathd > /dev/null HAVE_MULTIPATHD=$? multipath -v2 -l "$DEVNAME" | grep features | grep -q queue_if_no_path QUEUEING=$? if [ -n "$FLUSH" ] && [ "$QUEUEING" -eq 0 ]; then if test $HAVE_MULTIPATHD -eq 0; then multipathd disablequeueing map "$DEVNAME" > /dev/null else dmsetup message "$DEVNAME" 0 fail_if_no_path fi sleep 1 fi if test $HAVE_MULTIPATHD -eq 0; then multipath -f "$DEVNAME" else multipathd -Df "$DEVNAME" fi if test $? -eq 1; then echo "$DEVICE cannot be removed" exit 1 fi for PATHDEV in $PATHDEVS; do if [ -n "$FLUSH" ]; then blockdev --flushbufs /dev/"$PATHDEV" fi echo 1 > /sys/block/"$PATHDEV"/device/delete done } function verify_removal { multipath -v 1 -d $DEVNAME | grep -q "^$DEVNAME$" if test $? -eq 0; then echo "$DEVICE removed but path devices still exist" exit 1 fi multipath -v 1 -l $DEVNAME | grep -q "^$DEVNAME$" if test $? -eq 0; then echo "$DEVICE removal succeeded, but device still exists" exit 1 fi } PROGRAM="$0" parse_args "$@" validate_device get_paths remove_devs verify_removal
Save