Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can I remove VirtFS folder after umounting it ?

Discussion in 'General Discussion' started by egyption, Oct 29, 2013.

  1. egyption

    egyption Registered

    May 2, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I have removed all Jailed Shell permissions for all accounts
    And I have umounted all jailed folders, by using this command

    for i in `cat /proc/mounts | grep /home/virtfs | cut -d ' ' -f 2 ` ; do umount $i ; done
    And with this command
    Now, Can I remove /home/virtfs, Or should I let it ?

    Thanks a lot
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    I recommend reading the following document in full:

    cPanel - VirtFS

    In particular, this warning message is important:

    Warning: If you run the rm command on any file or directory within /home/virtfs that is still mounted, you will also delete all of the files stored in the directory to which it is mounted. This will render your server nonfunctional. We do not recommend that you attempt to remove any of these files or directories in this way.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice