virtfs, What can I do to decrease the directory as Disk space nearly 100%
Dear All,
as I use Cpanel and my server disk space only 30GB for website but the virtfs directory use 15GB. I know that this is a important directory of CPanel but there is nothing I can do with this to decrease my space of server?
-
but my disk server is nearly. Do you mean no need to care about it? [root@host ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 909M 0 909M 0% /dev tmpfs 919M 0 919M 0% /dev/shm tmpfs 919M 97M 823M 11% /run tmpfs 919M 0 919M 0% /sys/fs/cgroup /dev/vda2 50G 44G 3.1G 94% / /dev/loop0 2.0G 6.2M 1.9G 1% /tmp tmpfs 184M 0 184M 0% /run/user/0 0 -
the system show I used 94% and available 3.1GB, You just tell me that I still have 15GB available by not counting the VIRTS directory? /dev/vda2 50G 44G 3.1G 94% / 0 -
Thanks for the additional details. I'm not disagreeing that your machine isn't full, but I am saying that you can't delete data from virtfs and that isn't included in the calculations. You'll want to find another area inside / where you can remove data. 0 -
so If I can do nothing with it, it's mean I lost 50%(15GB) of disk space to Cpanel to store information. why it's so big like that? I think it's just configuration. Any Configuration to set the information to storing on the VIRTS 0 -
[root@host ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 909M 0 909M 0% /dev tmpfs 919M 0 919M 0% /dev/shm tmpfs 919M 98M 822M 11% /run tmpfs 919M 0 919M 0% /sys/fs/cgroup /dev/vda2 50G 47G 816M 99% / /dev/loop0 2.0G 4.9M 1.9G 1% /tmp tmpfs 184M 0 184M 0% /run/user/0 [root@host ~]# du -hs /home/ --exclude=virtfs 11G /home/ [root@host ~]# 0 -
If you try checking a file inside VirtFS and comparing it to a file outside of VirtFS, you'll see they are actually the same inode, so it is not additional disk space used by the system. This is a well-known issue with VirtFS, and not the cause of your system being low on disk space. It seems your entire server is only 50G, which may just not be enough space for all of your data plus the operating system. 0 -
If you try checking a file inside VirtFS and comparing it to a file outside of VirtFS, you'll see they are actually the same inode, so it is not additional disk space used by the system. This is a well-known issue with VirtFS, and not the cause of your system being low on disk space. It seems your entire server is only 50G, which may just not be enough space for all of your data plus the operating system.
Thank you very much for your reply. Yes, from my checking, my / path has is 50GB for disk space and /home include all websites exclude virtfs only 11GB and VIRTFS take 30GB as guide, the virtfs is not take any disk space, but when my disk used 100%, I can't upload any file to it. I checked the virtfs inside, there're only fews domain account on it, why not store all? so I can disable any think or do something to make the virtfs resource decrease?0 -
In case I expand my disk space from 50GB to 200GB, I really sure that my website can use only 50GB and VIRTFS will take resource 200GB 0 -
VirtFS will only get created for users with jailshell access for SSH, so it is normal it may not exist for all users on the machine. 0 -
VirtFS will only get created for users with jailshell access for SSH, so it is normal it may not exist for all users on the machine.
root As I read the user guide for disable and remove the jail shell. but it's not work0 -
There is no way to completely remove VirtFS from the system. 0 -
There is no way to completely remove VirtFS from the system.
sure, I just think it should can decrease disk space of virtfs from 14GB to 10GB0 -
sure, I just think it should can decrease disk space of virtfs from 14GB to 10GB
Hello there, did you try checking what exactly occupies your disk via some commands? Like this, for example:du -hsx /* --exclude /home/virtfs 2>/dev/null | sort -rh | head -10
0 -
Yes. [QUOTE][root@host ~]# du -hsx /* --exclude /home/virtfs 2>/dev/null | sort -rh | head -10 8.3G /home 6.8G /usr 6.3G /var 802M /opt 348M /boot 309M /root 97M /run 64M /etc 2.6M /tmp 364K /error_log 0 -
Yes.
Well, it would appear that you have plenty of free space in case the first "df -h" output in the thread is to believed and you have 50 GB of root partition. What's the exact issue? If If you run "df -h /", does it show that you have around 25GB of disk space free?0 -
I am having the same experience as well. Anyone who has a solution.
0 -
VincentM - can you post the output of "df -h" from your server?
0
Please sign in to leave a comment.
Comments
20 comments