OpenVZ Forum


Home » General » Support » Openvz User/Group quotas: Segmentation Fault
Openvz User/Group quotas: Segmentation Fault [message #26686] Wed, 30 January 2008 19:59 Go to previous message
andre is currently offline  andre
Messages: 36
Registered: January 2008
Member
Hello,

I am new on this forum (and OpenVZ) and I am having some trouble setting up openvz user/group quotas inside VE's.

I am trying openvz on 2 servers. On the first one, quotas worked fine (same kernel, but first one is i386 and second one is Core2Duo :
Linux server 2.6.22-ovz005.1 #1 SMP Thu Nov 15 15:35:00 MSK 2007 x86_64 x86_64 x86_64 GNU/Linux

- usrquota/grpquota are not set on the HN partitions. Is that correct?


# vzctl set 151 --quotaugidlimit 100 --save
Configure meminfo: 35000
Setting quota ugidlimit: 100
Saved parameters for VE 151


## INSIDE THE VE:
# vzctl enter 151
entered into VE 151
goebbels:/# quota
Segmentation fault

goebbels:/# ls -la /*quota*
lrwxrwxrwx 1 root root 39 Jan 30 19:14 /aquota.group -> /proc/vz/vzaquota/00000012/aquota.group
lrwxrwxrwx 1 root root 38 Jan 30 19:14 /aquota.user -> /proc/vz/vzaquota/00000012/aquota.user

goebbels:/# cat /proc/mounts
simfs / simfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0

goebbels:/# cat /etc/mtab
/dev/simfs / reiserfs rw,usrquota,grpquota 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0

goebbels:/# repquota -a
*** Report for user quotas on device /dev/simfs
Block grace time: 00:00; Inode grace time: 00:00
Block limits File limits
User used soft hard grace used soft hard grace
------------------------------------------------------------ ----------
root -- 154484 0 0 7984 0 0
man -- 148 0 0 16 0 0
news -- 4 0 0 1 0 0

goebbels:/# edquota -u root
Segmentation fault



/vz/private is a separated partition dedicated for VE's. Can i have multiple VE's with user/group quotas on the same partition (/vz/private)?

Any help will be aprreciated.
Thanks a lot.

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Kernel 2.6.18-53.el5.028stab051.1ent + connlimit module
Next Topic: Intel achci errors on RHEL kernel
Goto Forum:
  


Current Time: Sat Aug 23 12:15:57 GMT 2025

Total time taken to generate the page: 0.05904 seconds