Steps to clear virtfs on cpanel server

First make  sure that no users have jailed shell access in the “Manage Shell Access” interface. You can then use the script that you found in the blog post to unmout any bind-mounted directories.

for i in `cat /proc/mounts | awk ‘/virtfs/ {print $2}’`; do umount $i;done
CPanel also provides a script to remove the virtfs mounts:

/scripts/clear_orphaned_virtfs_mounts –clearall

 

If you need any further assistance contact me @ [email protected].. prefer hangout  🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.