OpenVZ Forum

Home » General » Support » disk softlimit exceeded during CT creation (how to find the reason?)
disk softlimit exceeded during CT creation [message #53705] Wed, 07 October 2020 01:15
slrslr is currently offline  slrslr
Messages: 12
Registered: April 2014
Junior Member
From: 54.25.35*
i have seen errors in vzctl.log

Oct  7 00:09:46 host kernel: [32171566.090124] VZ QUOTA: disk softlimit exceeded for id=4720
Oct  7 00:09:46 host kernel: [32171566.090537] VZ QUOTA: disk quota softlimit expired for id=4720

and in more detail:
 skipped tar var/lib/rpm/Filedigests Cannot write Disk quota exceeded tar var/lib/rpm/Basenames Cannot write Disk quota exceeded tar var/lib/rpm/Sigmd5 ... Cannot create symlink to `/usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-sans-mono.conf' Disk quota exceeded tar Exiting with failure status due to previous errors vps-create ERROR Unpack /vz/template/cache/centos-6-x86-abc.tar.gz failed Creation of container private area failed 

but when i changed DISK_QUOTA=yes to DISK_QUOTA=no in /etc/vz/vz.conf then the CT was created (with unlimited disk space quota. I had to fix it later by enabling DISK_QUOTA back, setting new CT diskspace limit and restarting CT). When i then check quota, disk parameters of the running CT, i see:
egrep -i "disk|quota" /etc/vz/conf/4720.conf
# Disk quota parameters (in form of softlimit:hardlimit)

DISKSPACE value may exceeded free space on the partition, but i would not think it can be problem since the actual disk space used would be much lower.

On the node:
 df -h
Filesystem            Size  Used Avail Use% Mounted on
                       31G   21G  8.6G  71% /
tmpfs                 1.9G     0  1.9G   0% /dev/shm
/dev/sda1             477M   78M  374M  18% /boot

df -i
Filesystem           Inodes IUsed IFree IUse% Mounted on
                       2.0M  403K  1.6M   21% /
tmpfs                  464K     1  464K    1% /dev/shm
/dev/sda1              126K    50  125K    1% /boot

Thank you

[Updated on: Wed, 07 October 2020 01:18]

Report message to a moderator

Read Message
Previous Topic: prlctl snapshot
Next Topic: OpenVZ 7 containers crashing with ext4 errors
Goto Forum:

Current Time: Tue Apr 20 14:38:07 GMT 2021