OpenVZ Forum


Home » General » Support » *SOLVED* Quota problems in liveCD HDD installed version
*SOLVED* Quota problems in liveCD HDD installed version [message #14440] Thu, 28 June 2007 02:57 Go to next message
mdes is currently offline  mdes
Messages: 9
Registered: June 2007
Junior Member
I am able to create VEs properly with LiveCD but get ioctl errors when the same liveCD is installed on a hard disk.

Errors reported
----------------------------------
Creating VE private area (fedora-core-5-i386-minimal)
vzquota : (error) Quota getstat syscall for id 220: Inappropriate ioctl for device
vzquota init failed [3]
vzquota : (error) Can't open quota file for id 220, maybe you need to reinitialize quota: No such file or directory
vzquota : (error) Quota getstat syscall for id 220: Inappropriate ioctl for device
vzquota init failed [3]
vzquota on failed [61]
vzquota : (error) Can't open quota file for id 220, maybe you need to reinitialize quota: No such file or directory
vzquota off failed [11]
vzquota : (error) Can't open quota file for id 220, maybe you need to reinitialize quota: No such file or directory
vzquota setlimit failed [11]
Performing postcreate actions
VE private area was created
-----------------------------------

I think similar problems were reported with newly built kernels but I am puzzled as to why a HD install from the liveCD should behave this way. There was some install error that flashed by when installing from the liveCD but it did not seem to affect the install.

[Updated on: Mon, 02 July 2007 05:22] by Moderator

Report message to a moderator

Re: Quota problems in liveCD HDD installed version [message #14449 is a reply to message #14440] Thu, 28 June 2007 10:23 Go to previous messageGo to next message
Alexandr Andreev is currently offline  Alexandr Andreev
Messages: 35
Registered: October 2006
Member
Hello. Could you attach:

1. cat /proc/version
2. lsmod
3. strace vzctl create ...
Re: Quota problems in liveCD HDD installed version [message #14452 is a reply to message #14449] Thu, 28 June 2007 11:42 Go to previous messageGo to next message
mdes is currently offline  mdes
Messages: 9
Registered: June 2007
Junior Member
/proc/version
---------------------
Linux version 2.6.18-028stab027 (root@white.sw.ru) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #4
SMP Wed Apr 18 11:12:46 UTC 2007
--------------------

lmosd shows the following vzmodules installed
(I apologize for not adding the lsmod output but I am running
inside QEMU, so cut/paste is not working and net is not up yet.
And copying the entire lsmod output by hand is a trifle painful !
liveCD without HDD install was also run inside QEMU.)

vznetdev
vzethdev
vzrst
vzcpt
vzmon
vzdev
but vzdquota is missing in the HDD install

Let me know if need to look for any specific modules

Stack trace
--------------------------------------------------
strace is a little too large (to transcribe manually) but I get some idea of what went wrong

All the libvzctl libraries are missing in the HDD install.

In the CD install they are present in /usr/lib
(.la,.so,0.0.2.so )

In both cases looks like the vzctl utility searches for the libvzctl in quite a few locations.

there are some other files that both versions report as
not found in the stack trace but since those errors are
common I guess they do not matter.

Does this help or do you need the full trace ?

Thanks





Re: Quota problems in liveCD HDD installed version [message #14455 is a reply to message #14452] Thu, 28 June 2007 12:12 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Can you tell us, please, what LiveCD do you use? And how have you produced installation on hard drive?

Thanks,
Vasily
Re: Quota problems in liveCD HDD installed version [message #14461 is a reply to message #14455] Thu, 28 June 2007 14:09 Go to previous messageGo to next message
mdes is currently offline  mdes
Messages: 9
Registered: June 2007
Junior Member
[Edited post]
The latest liveCD from the site. Downloaded it yesterday.
It is based on the Knoppix 5.1.1

After booting the liveCD, I ran Knoppix-installer.
knoppix-installer is still not production, maybe it failed to
install properly. I redid the HDD install.
After the 2nd try, the libvzctl files are there
in the /usr/lib directory. I guess I have to send you the
trace after all.


This is not my preferred approach but my standard install is
Fedora 7 and there is no kernel for it yet. And the local
Linux CD retailer does not have Centos or Debian. And with a 128k line, download is not an option ! I guess I can do a minimal debian
etch install and use the debian kernel on the openVZ download site.

It would help if you have a minimal debian iso on your site.

Thanks

[Updated on: Thu, 28 June 2007 15:35]

Report message to a moderator

Re: Quota problems in liveCD HDD installed version [message #14499 is a reply to message #14440] Fri, 29 June 2007 11:07 Go to previous message
mdes is currently offline  mdes
Messages: 9
Registered: June 2007
Junior Member
I managed to get a minimal install of debian running with - netinst CD with standard package. This is less than 750 MB (no swap). This is a good version for appliances since it is sub- 1GB.

Looks like the problem was only with the Knoppix LiveCD HDD install. I will figure that out later, when I have time. But thanks everyone for your support.
Previous Topic: Bridge inside a VE
Next Topic: *SOLVED* renumber veid's
Goto Forum:
  


Current Time: Sat Aug 03 12:09:51 GMT 2024

Total time taken to generate the page: 0.02698 seconds