OpenVZ Forum


Home » General » Support » inodes limitations? Disk quota exceeded, but no where near it? (with picture :D)
inodes limitations? Disk quota exceeded, but no where near it? [message #37502] Sat, 19 September 2009 18:48 Go to next message
vivithemage is currently offline  vivithemage
Messages: 15
Registered: September 2009
Location: Minnesota
Junior Member
From: *hsd1.mn.comcast.net
I have a user on an OpenVZ node, and he gets Disk Quota exceeded for anything he tries to do. He is using 15% of his allocated Disk, but I noticed that when I run /proc/vz/vzquota I see that VE 200 has hit the soft limit.

what is the purpose of that limit? Can't I just remove it? If so, how can I remove it all together?
  • Attachment: limit.jpg
    (Size: 80.07KB, Downloaded 433 times)
Re: inodes limitations? Disk quota exceeded, but no where near it? [message #37503 is a reply to message #37502] Sat, 19 September 2009 20:00 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: N├╝rnberg, Germany
Senior Member

From: *sys3.org
Hi,

see man page: "Disk quota parameters" and "Resource limits"

# vzctl set <CTID> --diskinodes <soft:hard> --save

in your case, as an example

# vzctl set 200 --diskinodes 400000:440000 --save

Btw, for disableing vzquota, inodes you can set soft and hard to "unlimited"

Bye,
Thorsten


[Updated on: Sat, 19 September 2009 20:08]

Report message to a moderator

Re: inodes limitations? Disk quota exceeded, but no where near it? [message #37504 is a reply to message #37503] Sat, 19 September 2009 20:16 Go to previous messageGo to next message
vivithemage is currently offline  vivithemage
Messages: 15
Registered: September 2009
Location: Minnesota
Junior Member
From: *hsd1.mn.comcast.net
amazing, thank you very much. Is there a way to remove the limit for inodes like that, but keep disk space limits?
Re: inodes limitations? Disk quota exceeded, but no where near it? [message #50990 is a reply to message #37503] Wed, 18 December 2013 16:36 Go to previous messageGo to next message
spoke2u
Messages: 12
Registered: September 2013
Junior Member
From: *dsl.teksavvy.com
I am running zoneminder and Your fix fixed me up for about a week or so but now its at 400001

Quote:

root@HN:~# cat /proc/vz/vzquota
qid: path usage softlimit hardlimit time expire
22: /vz/private/22
1k-blocks 11385104 83886080 99614720 0 0
inodes 400001 400000 440000 1387327230 0
root@HN:~# vzctl set 22 --diskinodes unlimited:unlimited --save
Bad parameter for --diskinodes: unlimited:unlimited
root@HN:~# vzctl set 22 --diskinodes 0:0 --save
vzquota : (warning) inode_hard_limit [0] < inode_current_usage [399994]
CT configuration saved to /etc/vz/conf/22.conf
root@heybob:~# vzctl set 22 --diskinodes 0:0 --save
vzquota : (warning) inode_hard_limit [0] < inode_current_usage [399994]
CT configuration saved to /etc/vz/conf/22.conf
root@HN:~# cat /proc/vz/vzquota
qid: path usage softlimit hardlimit time expire
22: /vz/private/22
1k-blocks 11385104 83886080 99614720 0 0
inodes 400001 0 0 1387380799 0
uname -r
2.6.32-042stab081.3


So I raised it to 80000 I hasve a feeliong what ever is happening will fill that too?
vzctl set 22 --diskinodes 80000:80000 --save

I am happy to give you any info you need to help me determin what I am missing.

curx wrote on Sat, 19 September 2009 16:00
Hi,

see man page: "Disk quota parameters" and "Resource limits"

# vzctl set <CTID> --diskinodes <soft:hard> --save

in your case, as an example

# vzctl set 200 --diskinodes 400000:440000 --save

Btw, for disableing vzquota, inodes you can set soft and hard to "unlimited"

Bye,
Thorsten





--
I am unable to see
Re: inodes limitations? Disk quota exceeded, but no where near it? [message #51112 is a reply to message #37503] Mon, 10 February 2014 18:42 Go to previous messageGo to next message
spoke2u
Messages: 12
Registered: September 2013
Junior Member
From: *dsl.teksavvy.com
Maybe I have the synax wrong but Unlimited DOES NOT work! I am upping the diskinodes every time it crashes when it hits the limit every month or so. I am running zoneminder and it seems to hit that when I get alot of action on this server VM container. I need something that is a permanate fix. There has to be anouther solution? Its almost as if it just fills up slowly and never gets to become less.

root@HN:~# vzctl set 200 --diskinodes unlimited --save
Bad parameter for --diskinodes: unlimited
root@HN:~# vzctl set 200 --diskinodes unlimited:unlimited --save
Bad parameter for --diskinodes: unlimited:unlimited


If someone knows how to set this to unlimited let me know.

curx wrote on Sat, 19 September 2009 16:00
Hi,

see man page: "Disk quota parameters" and "Resource limits"

# vzctl set <CTID> --diskinodes <soft:hard> --save

in your case, as an example

# vzctl set 200 --diskinodes 400000:440000 --save

Btw, for disableing vzquota, inodes you can set soft and hard to "unlimited"

Bye,
Thorsten





--
I am unable to see
Re: inodes limitations? Disk quota exceeded, but no where near it? [message #51119 is a reply to message #37502] Thu, 13 February 2014 02:21 Go to previous message
dipps is currently offline  dipps
Messages: 22
Registered: May 2013
Location: Out in the scrub
Junior Member
From: *static.internode.on.net
A really permanent fix would be to stop whatever is using all the inodes. Even if you get vz quota to stop complaining, eventually this will use all the inodes in the filesystem.

Look for something that is creating a lot of files and leaving them behind: session files, temporary files, etc. Either stop it doing this, or clean up by deleting old files.

Or for a cheap fix, set inode quota to a very large number.

[Updated on: Thu, 13 February 2014 02:25]

Report message to a moderator

Previous Topic: CT with ploop devices >200Gb
Next Topic: cPanel / Account quota
Goto Forum:
  


Current Time: Tue Feb 25 22:50:28 GMT 2020