OpenVZ Forum


Home » General » Support » Quota file is gone!
Quota file is gone! [message #16448] Thu, 06 September 2007 20:10 Go to previous message
silentninja is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: On boot adjustment for /etc/hosts
Next Topic: iptables --update
Goto Forum:
  


Current Time: Sat Nov 16 11:30:00 GMT 2024

Total time taken to generate the page: 0.03028 seconds