Home » General » Support » Quota file is gone!
Quota file is gone! [message #16448] |
Thu, 06 September 2007 20:10 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
![](http://new-forum.openvz.org/images/custom_avatars/1786.jpg) |
silentninja
Messages: 37 Registered: September 2007
|
Member |
|
|
Today i noticed that on one of our VPS servers, the aquota.user and aquota.group files are gone... i mean, they're symlinks to /proc/vz/vzaquota/*/aquota... but... there's nothing in vzaquota.
On the conf file I've set the quotaugid option and the fstab looks fine to me:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/sda5 / ext3 defaults,usrquota 1 1
/dev/sda1 /boot ext3 defaults,usrquota 1 2
/dev/sda3 /tmp ext3 defaults,noexec,usrquota 1 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda2 swap swap defaults 0 0
/dev/sdb1 /vz/private/101 ext3 defaults,usrquota 0 0
/dev/sdb2 /vz/private/102 ext3 defaults,usrquota 0 0
/dev/sdb3 /vz/private/103 ext3 defaults,usrquota 0 0
/dev/sdb5 /vz/private/105 ext3 defaults,usrquota 0 0
/dev/sdb6 /vz/private/106 ext3 defaults,usrquota 0 0
/dev/sdb7 /vz/private/107 ext3 defaults,usrquota 0 0
/dev/sdb8 /vz/private/108 ext3 defaults,usrquota 0 0
/dev/sdb9 /vz/private/109 ext3 defaults,usrquota 0 0
/dev/sdb10 /vz/private/110 ext3 defaults,usrquota 0 0
/dev/sdc /backup ext3 defaults 1 2
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
sda is the OS disk, sdb is where I store my vps servers and sdc is a backup disk. Do you have any idea why the proc vzaquota file is not there anymore? Is there any fix to rebuild it?
I've tried a quotacheck on each vps, but it creates the aquota file and not the aquota symlink... as a part time solution works... until i restart that vps and boom, it gets overwritten.
I've googled searching for this, but I've only found how to fix the broken symlink, but not the other way around that i need.
|
|
|
|
|
|
|
|
|
Re: problem.... [message #16487 is a reply to message #16482] |
Sun, 09 September 2007 05:51 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
|
hello,
Make sure the second level quota is enable in that vps
# grep -i quotaugidlimit /etc/vz/conf/114.conf
If not please set the quotaugidlimit as follows,then restart the vps.
#vzctl set 114 --quotaugidlimit 500 --save
Sherinmon A,
|
|
|
Re: problem.... [message #16488 is a reply to message #16487] |
Sun, 09 September 2007 06:19 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
![](http://new-forum.openvz.org/images/custom_avatars/1786.jpg) |
silentninja
Messages: 37 Registered: September 2007
|
Member |
|
|
mastersherin wrote on Sun, 09 September 2007 02:51 | hello, Make sure the second level quota is enable in that vps
|
root@vps1 [~]# grep -i quotaugidlimit /etc/vz/conf/103.conf
QUOTAUGIDLIMIT="1000"
It it enabled, but isn't working, that's really why i don't understand it.. because i've other webservers that works totally fine
Isn't there any way to "auto recreate aquota files"?
Like the quotacheck on linux, but for vz
[Updated on: Sun, 09 September 2007 06:20] Report message to a moderator
|
|
|
Re: problem.... [message #16489 is a reply to message #16488] |
Sun, 09 September 2007 06:25 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
|
Hello,
Can you check the quota module "vzdquota" is loaded or not.
# lsmod |grep -i vzdquota
Also which kernel you using ,rpm or compiled kernel
Sherinmon A,
|
|
|
Re: problem.... [message #16490 is a reply to message #16489] |
Sun, 09 September 2007 06:41 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
![](http://new-forum.openvz.org/images/custom_avatars/1786.jpg) |
silentninja
Messages: 37 Registered: September 2007
|
Member |
|
|
mastersherin wrote on Sun, 09 September 2007 03:25 | # lsmod |grep -i vzdquota
Also which kernel you using ,rpm or compiled kernel
|
root@vps1 [~]# lsmod |grep -i vzdquota
vzdquota 38496 6 [permanent]
vzdev 3584 4 vznetdev,vzethdev,vzdquota,vzmon
Outside the vps, it's installed, i didn't tested inside one of the vps's at the webserver. The kernel i've named previously, it's vzkernel: Linux 2.6.9-023stab016.2-smp
I'm on a x86_64 GNU/Linux (CentOS 5), the odd thing is that I've other 3 webservers installed the exact same way.. that DO work. There must be something we're not seeing in here.
|
|
|
Re: problem.... [message #22631 is a reply to message #16490] |
Wed, 31 October 2007 20:24 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
![](http://new-forum.openvz.org/images/custom_avatars/1786.jpg) |
silentninja
Messages: 37 Registered: September 2007
|
Member |
|
|
Hello, I've tried as far as I can think everything.. I've updated the kernel up to the latest version, vzaquota is installed and updated.. so, that's out of the bounds.
I've also tried to create the folder itself so the quotacheck creates the aquota files correctly, but the server doesn't allowed me to write under the proc folder, so, if I do a quotacheck and fixquotas, the thing solves, but if I restart the vps or the server itself, the aquota files are deleted and new broken links instead of them.. I may be able to do a +i to the aquota files, but hey, if i do that i wont get any quotas working neither.
This is my fstab:
/dev/sda5 / ext3 defaults 1 1
/dev/sda1 /boot ext3 defaults 1 2
/dev/sda3 /tmp ext3 defaults,noexec,usrquota 1 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda2 swap swap defaults 0 0
/dev/sdb1 /vz/private/101 ext3 defaults 1 2
/dev/sdb2 /vz/private/102 ext3 defaults 1 2
/dev/sdb3 /vz/private/103 ext3 defaults,usrquota 1 2
/dev/sdb5 /vz/private/105 ext3 defaults 1 2
/dev/sdb6 /vz/private/106 ext3 defaults 1 2
/dev/sdb7 /vz/private/107 ext3 defaults 1 2
/dev/sdb8 /vz/private/108 ext3 defaults 1 2
/dev/sdb9 /vz/private/109 ext3 defaults 1 2
/dev/sdb10 /vz/private/110 ext3 defaults 1 2
/dev/sdc /backup ext3 defaults 1 2
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
My mtab looks like this..
/dev/sda5 / ext3 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/sda1 /boot ext3 rw 0 0
/dev/sda3 /tmp ext3 rw,noexec,usrquota 0 0
none /dev/shm tmpfs rw 0 0
/dev/sdb1 /vz/private/101 ext3 rw 0 0
/dev/sdb2 /vz/private/102 ext3 rw 0 0
/dev/sdb3 /vz/private/103 ext3 rw,usrquota 0 0
/dev/sdb5 /vz/private/105 ext3 rw 0 0
/dev/sdb6 /vz/private/106 ext3 rw 0 0
/dev/sdb7 /vz/private/107 ext3 rw 0 0
/dev/sdb8 /vz/private/108 ext3 rw 0 0
/dev/sdb10 /vz/private/110 ext3 rw 0 0
/dev/sdc /backup ext3 rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/dev/sdb9 /vz/private/109 ext3 rw 0 0
I've this rpms installed on the main server:
root@vps1 [/]# rpm -qa | grep vz
vzctl-lib-3.0.11-1
vzrpm43-python-4.3.3-7_nonptl.6
vzpkg-2.7.0-18
vzquota-3.0.8-1
vzrpm43-4.3.3-7_nonptl.6
vzrpm44-4.4.1-22.5
vzyum-2.4.0-11
vztmpl-centos-4-2.0-2
vzctl-3.0.11-1
vzrpm44-python-4.4.1-22.5
ovzkernel-smp-2.6.9-023stab044.11
The server is a 64 bits machine, here's the uname and linux distro:
root@vps1 [/]# uname -a
Linux vps1.nuthost.com 2.6.9-023stab044.11-smp #1 SMP Sun Sep 30 13:46:07 MSD 2007 x86_64 x86_64 x86_64 GNU/Linux
root@vps1 [/]# cat /proc/version
Linux version 2.6.9-023stab044.11-smp (root@rhel4-64) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Sun Sep 30 13:46:07 MSD 2007
I'm really lost.. my clients are worried about their users having unlimited quotas and I've no idea of where this comes from.. the wierdest thing is that i've another webserver hired at ev1 with the exact same configuration and.. that one works.. but this one doesn't :@
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Sep 10 03:37:53 GMT 2024
Total time taken to generate the page: 0.04626 seconds
|