Openvz error solutions Container already locked (error) can't lock quota file, some quota operations are performing for id 1200 -

Openvz error solutions Container already locked (error) can't lock quota file, some quota operations are performing for id 1200

rm /vz/lock/1200.lck
rm: remove regular file `/vz/lock/1200.lck'? y

vzctl start 1200
Container already locked



vzctl start 1200
Starting container ...
vzquota : (error) can't lock quota file, some quota operations are performing for id 1200
vzquota on failed [7]

vzquota off 1200
vzctl start 1200
vzquota on 1200


root@rttbox ~]# vzquota off 1200
vzquota : (error) Quota off syscall for id 1200: Device or resource busy
vzquota : (error)     Possible reasons:
vzquota : (error)     - Container's root is not unmounted
vzquota : (error)     - there are opened files inside container's root/private area
vzquota : (error)     - your current working directory is inside a container directory
vzquota : (error)       root/private area
[root@rttbox ~]# vzctl start 1200
Container is already running
[root@rttbox ~]# vzquota on 1200
vzquota : (warning) Quota is running for id 1200 already
 


The above is what happens when everything is fine but it takes a long time for the quota update to complete, such after a live migration etc... you know it is often the case when the normal tricks don't work:

eg. removing the .lck file, turning quota on and off.


  • wget how to resume download!
  • strange vi errors in Linux Mint/Ubuntu line 58: E488: Trailing characters: t_Sbet line 63: E171: Missing :endif
  • MySQL Add multiple IPs for remote user including root howto
  • cPanel error Access denied for user 'root'@'localhost' when adding remote MySQL IP address solution
  • Text Editors - Top Linux Ubuntu/Debian/Mint Options
  • Linux shows my drive as being dead is it really? Buffer I/O error on device sdb, logical block 0 sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
  • use ffmpeg to watermark videos if mencoder/bmovl fail
  • mencoder bmovl error vf_bmovl: Unknown command: ''. Ignoring.
  • Linux Mint/Ubuntu/Debian Nvidia driver becomes slow graphics performance issue
  • Linux Mint missing ffmpeg solution to install from Ubuntu PPA
  • phpBB3 slow and internal dummy connection
  • check if Apache uses worker MPM or prefork MPM
  • text to speech for Linux
  • How to convert xlsx/xls Excel file into csv
  • Linux bash script how to generate a random password using /dev/urandom
  • ssh forward multiple ports in the same connection and command even works with NAT!
  • How to create openssl md5 password hash to use in /etc/shadow using bash
  • Avocent DSR8020 KVM/IP - Network Connect Error - Solution
  • PHP Parse error: syntax error, unexpected '[' in phpBB3/vendor/react/promise/src/functions.php on line 15
  • tar extraction changes ownership of /root directory