OpenVZ Forum


Home » General » Support » Problem on Disk Quota 100% used and df
Problem on Disk Quota 100% used and df [message #267] Fri, 21 October 2005 05:51 Go to next message
ccto is currently offline  ccto
Messages: 61
Registered: October 2005
Member
For your information -

I have created a guest VPS with 8GB quota, and run some network test script (simply wget a few big files over the network). Then, by mistakes, it accumulate the files, and finally used up all 8GB storage. Then, if we "df" it, it shows some problems.



[root@server /]# ll
total 8731784
-rwx------    1 root root        50 Oct 20 18:56 a.sh
-rw-r--r--    1 root root  23470080 Oct 20 19:36 aaa.tar.bz
lrwxr-xr-x    1 root root        34 Oct 19 20:03 aquota.group -> /proc/vz/vzaquota/cur/aquota.group
-r--------    1 root root      6144 Oct 19 23:13 aquota.user
-rwx------    1 root root        61 Oct 20 19:03 b.sh
drwxr-xr-x    2 root root      4096 Oct 19 20:54 bin
drwxr-xr-x    2 root root      4096 Feb 22  2005 boot
-rw-r--r--    1 root root       234 Oct 20 19:10 c.sh
-rw-r--r--    1 root root       201 Oct 20 19:11 d.sh
drwxr-xr-x    4 root root     20480 Oct 19 22:11 dev
drwxr-xr-x   40 root root      4096 Oct 20 18:54 etc
drwxr-xr-x    2 root root      4096 Feb 22  2005 home
drwxr-xr-x    2 root root      4096 Feb 22  2005 initrd
drwxr-xr-x    8 root root      4096 Oct 19 23:11 lib
drwxr-xr-x    2 root root      4096 Feb 22  2005 media
drwxr-xr-x    2 root root      4096 Feb 22  2005 mnt
drwxr-xr-x    2 root root      4096 Feb 22  2005 opt
dr-xr-xr-x  129 root root         0 Oct 19 22:11 proc
drwxr-x---    3 root root      4096 Oct 20 18:59 root
drwxr-xr-x    2 root root      4096 Oct 19 22:25 sbin
-rw-r--r--    1 root root 945163755 Oct 20 19:14 sda2.000
-rw-r--r--    1 root root 945163755 Oct 20 19:15 sda2.000.1
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.10
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.11
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.12
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.13
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.14
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.15
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.16
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.17
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.18
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.19
-rw-r--r--    1 root root 945163755 Oct 20 19:17 sda2.000.2
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.20
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.21
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.22
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.23
-rw-r--r--    1 root root         0 Oct 20 19:26 sda2.000.24
-rw-r--r--    1 root root 945163755 Oct 20 19:18 sda2.000.3
-rw-r--r--    1 root root 945163755 Oct 20 19:20 sda2.000.4
-rw-r--r--    1 root root 945163755 Oct 20 19:21 sda2.000.5
-rw-r--r--    1 root root 945163755 Oct 20 19:23 sda2.000.6
-rw-r--r--    1 root root 945163755 Oct 20 19:24 sda2.000.7
-rw-r--r--    1 root root 945163755 Oct 20 19:26 sda2.000.8
-rw-r--r--    1 root root 402489344 Oct 20 19:26 sda2.000.9
drwxr-xr-x    2 root root      4096 Feb 22  2005 selinux
drwxr-xr-x    2 root root      4096 Feb 22  2005 srv
drwxr-xr-x    2 root root      4096 Feb 22  2005 sys
drwxrwxrwt    3 root root      4096 Oct 19 23:02 tmp
drwxr-xr-x   14 root root      4096 Aug  6 21:07 usr
drwxr-xr-x   18 root root      4096 Aug  6 21:08 var
[root@server /]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/simfs             8388608 -73768961896337951948 18014398508643124 101% /
[root@server /]#


Is it normal?

Regards,
George.
Re: Problem on Disk Quota 100% used and df [message #268 is a reply to message #267] Fri, 21 October 2005 05:53 Go to previous messageGo to next message
ccto is currently offline  ccto
Messages: 61
Registered: October 2005
Member
Also, if we remove all those big files (rm -f sda2.*), the df becomes normal again
[root@server /]# rm -f sda2.000*
[root@server /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs            8.0G  507M  7.6G   7% /
[root@server /]#
Re: Problem on Disk Quota 100% used and df [message #276 is a reply to message #267] Sun, 23 October 2005 09:05 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

No, it's a bug in simfs/quota. Thanks for reporting.
I created a bug in bugzilla, so you can add yourself to CC and track it's state:
http://bugzilla.openvz.org/show_bug.cgi?id=59

we'll be fixed in next kernel build.


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Any plan to support latest kernel 2.6.13
Next Topic: VZ networking/routing
Goto Forum:
  


Current Time: Tue Jul 29 15:40:06 GMT 2025

Total time taken to generate the page: 0.19432 seconds