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.


  • /usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag
  • Wine uninstalled broken on Linux Mint
  • ffmpeg trouble concatenating similar but different files
  • ffmpeg Unable to Use Hardware Encoding with Nvidia 3.40 Driver and GT210 card
  • Linux Mint USB Kernel Tainted and Locked Port/Dev File
  • ffmpeg Linux Mint download, compile and install howto
  • OpenVZ error : Container start failed (try to check kernel messages, e.g. "dmesg | tail") Locked by: pid 166638, cmdline vzctl start 888171
  • How to extract view contents of initramfs image gzip'd
  • Linux how to copy GPT partition table with dd
  • Centos 7 How To Change Hostname
  • Debian/Mint/Ubuntu Font Packs/Recommended To Install
  • Migrate Centos 7 from Single HDD to mdadm RAID 10 array:
  • How to change reserved blocks in Linux partition
  • Reading package lists... Done W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D46F45428842CE5E
  • Centos 7 A start job is running for dev-mapper-clx2droot.device (8min 44s / no limit)
  • USB 3.0 External HDD Enclosure Seagate UAS problems - [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00
  • Centos 7 Cudaminer Nvidia setup guide
  • USB 3.0 PCI x1 Card Review VIA VL805 on Linux Review and Experience
  • rsync run as root sudo without password
  • Why won't my Linux Mint boot after I manually installed a new kernel?