LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   VPS, Disk usage report incorrect (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/vps-disk-usage-report-incorrect-858370/)

deeh514 01-24-2011 10:43 AM

VPS, Disk usage report incorrect
 
Hi,

I'm a noob when it comes to VPS. Here's my problem:

One of the VPS running on VZ reports abnormal disk usage.

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vzfs 10G 9.8G 267M 98% /
/dev/simfs 1.0M 1.0M 0 100% /tmp
/dev/simfs 10G 9.8G 267M 98% /var/tmp
tmpfs 135M 0 135M 0% /lib/init/rw
tmpfs 135M 0 135M 0% /dev/shm
overflow 1.0M 1.0M 0 100% /tmp

As you can see most partitions are full.
When i reboot it and run the same command (df -h) it reports correct disk usage for a while, then goes back to 100% usage.

Any insight would be highly appreciated. Also i can link whatever additional info needed.

Peace

hansaplazt 01-25-2011 05:11 AM

Look at find
Code:

# man find
FIND(1)                                                                FIND(1)

NAME
      find - search for files in a directory hierarchy

SYNOPSIS
      find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path...] [expression]

Code:

# find / -type f -size +10M
Above command finds all files (-type f) which are bigger than 10M in size.
Also look at your log files. Most probably /var/log/messages


All times are GMT -5. The time now is 09:49 PM.