Hello friends.
I have one VPS where the virtfs folder is using 10 GB... and it's a PITA. I don't want to expand the server if I can delete all that files.
I readed a lot and followed instructions from here:
And continuing from this last thread link, I have to ask for the last and unanswered question:
Is it safe to remove the virtfs directory after getting it u-mounted?
I think I unmounted every account correctly:
Now that there are no mounts mentioning anything on /home/virtfs, can I delete this folder safely?
Should I verify anything else to be completely sure it is safe to delete?
BTW:
But the free disk space reported is roughly the same and low than before unmount the folders.
And if I open, i.e., /home/virtfs/*username*/etc/security I see a bunch of .conf files.
Help please!
(And thanks in advance!)
UPDATE:
After a couple hours, I rechecked the status of free disk space and I see again the old mount point at /home/virtfs/username/home/username
What's going on? Why is it coming again?
I run again this command:
and everything went back to normal, but still the /home/virtfs/username files are there.
I forceful rebooted the VPS. The mount point is now "/" as it should always be.
I will keep an eye on it to see if it stay that way or the /virtfs come back to action.
Maybe some cron job is rebuilding the mount every N seconds??
I have one VPS where the virtfs folder is using 10 GB... and it's a PITA. I don't want to expand the server if I can delete all that files.
I readed a lot and followed instructions from here:
- VirtFS (Jailed Shell) to disable _VirtFS
- /home/virtfs/ consuming more space - eUKhost Official Web Hosting Forum
- Should one remove the /home/Virtfs directory? |
And continuing from this last thread link, I have to ask for the last and unanswered question:
Is it safe to remove the virtfs directory after getting it u-mounted?
I think I unmounted every account correctly:
Code:
# cat /proc/mounts
/dev/simfs / simfs rw,relatime,usrquota,grpquota 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /dev tmpfs rw,relatime 0 0
none /dev/pts devpts rw,relatime 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
Should I verify anything else to be completely sure it is safe to delete?
BTW:
Code:
root [/home/virtfs]# du -s -c -h
3.1M .
3.1M total
And if I open, i.e., /home/virtfs/*username*/etc/security I see a bunch of .conf files.
Help please!
(And thanks in advance!)
UPDATE:
After a couple hours, I rechecked the status of free disk space and I see again the old mount point at /home/virtfs/username/home/username
What's going on? Why is it coming again?
I run again this command:
Code:
for i in `cat /proc/mounts|awk '/virtfs/ {print $2}'`; do umount $i;done
I forceful rebooted the VPS. The mount point is now "/" as it should always be.
I will keep an eye on it to see if it stay that way or the /virtfs come back to action.
Maybe some cron job is rebuilding the mount every N seconds??
Code:
root [/home/virtfs]# crontab -l
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
45 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache
30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs
30 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
15 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
6 4 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
12,27,42,57 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
7 0 * * * /usr/local/cpanel/scripts/upcp --cron
59 4 * * * mysqlcheck --optimize --all-databases; /MARCELO/mysqltuner.pl
11 5 * * * updatedb >/dev/null 2>&1
12 2 * * 0 /usr/local/cpanel/bin/cloudflare_update.sh >/dev/null 2>&1
30 6 * * * /usr/local/cpanel/bin/backup
0 1 * * * /usr/local/cpanel/scripts/cpbackup
38 4 * * * /usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings
2,58 * * * * /usr/local/bandmin/bandmin
0 0 * * * /usr/local/bandmin/ipaddrmap
Last edited: