Disk usage full
Hi, my disk usage quota is full due to a virus/hack rather than my own files. This is because in a few days my 500GB quota has been maximized. I've SSH-ed into my root folder and tried to locate the extra files. I'm being told /dev/hda1 has 100% usage and is full. But when I try to navigate into it, I'm told it isn't a folder.
Has anyone had similar experiences like this? I don't have much background in this. Thanks in advance!
-
devices like /dev/sda or /dev/hda in dev are "block devices." They represent physical disks, so they are not normal files or folders. /dev/hda1 represents the first partition on the physical disk. use a command such as "df -h" to see what folder or mount point places files on that. For example if I want to check space on /dev/sda1 I run "df -h" from a shell and I see this: Filesystem Size Used Avail Use% Mounted on /dev/sda1 440G 8.3G 410G 2% / /dev/sdc1 915G 96G 774G 11% /home
So to free up space on that disk I would need to remove files under / (the root directory) that aren't assigned to other partitions. For example to free space on /dev/sdc1 I would have to remove files under /home.0 -
Hello :) In addition to the previous post, the following document will help you determine what's taking up your disk space: How to Manage your Hard Drive Space - cPanel Knowledge Base - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
2 comments