Quota getstat syscall: Inappropriate ioctl for device

Posted by admin     Category: VPS Management

You may receive the error message while starting a VPS on OpenVZ server.

vzquota : (error) Quota getstat syscall for id 101: Inappropriate ioctl for device
vzquota init failed [3]

This is a typical Quota error message on OpenVZ servers while starting a VPS. The message indicates that you need to initialize quota on the VPS. You can follow the below steps to correct the issue

rm -f /var/vzquota/quota.101
vzquota drop 101
vzctl start 101

where, 101 is the VPS ID.

If you continue to receive the same error message while starting the VPS,

1. Make sure the server is booted with the OpenVZ kernel, you can check that out using

uname -a

2. The vz service is online.

service vz status

if not, restart the vz service

service vz start

Once you confirm the above two things, start the vps again with the vzctl command.

Tags: , , , ,

2 Responses to “Quota getstat syscall: Inappropriate ioctl for device”

  1. Mark Says:

    Thank you, this helped tremendously!

    I am working on a SAN/VM management system too.

  2. seedbox Says:

    Thanks, I couldn’t get vz to start so i did service vz start and it did the trick!

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image