VPS and Quota errors...URGENT!

surfdue

Verified User
Joined
Jun 30, 2006
Messages
9
Hello there

I am having a major problem with the quotas I cant run a hosting company when it dosnt show qoutas, im on a vps and my provider knows nothing. When setting up an account i get no mountpoint / I dont understand why please anyone help me fix this not just the error the quotas!


----------------------
Virtuozzo responds with
----------------------

Hello,

Please could you provide us which command was used to generate the following error message:

setquota: Mountpoint (or device) / not found. setquota: Not all
specified mountpoints are using quota.

If setquota command was used to generate the output - you may use `-a` argument to specify mountpoint, just for example:
# setquota root 1000000 1000000 1000000 1000000 -a

All mounted partitions with enabled quotas should be listed in /etc/mtab file (or /proc/self/mounts file). If setquota command is used by some script which due to some reason checking /etc/fstab for mountpoints (instead of /etc/mtab or output of `mount` command) you may just link /etc/fstab file to /etc/mtab or copy content of /etc/mtab to /etc/fstab:

# cat /etc/mtab > /etc/fstab
or
# ln -sf /etc/mtab /etc/fstab

-------------------
thanks!!
-------------------
 
Again this dosnt help look:

my fstab is:
none /dev/pts devpts rw 0 0

and df -h outputs:
Filesystem Size Used Avail Use% Mounted on
vzfs 100G 10G 91G 10% /

and

[root@aries ~]# /usr/sbin/repquota /
repquota: Mountpoint (or device) / not found.
repquota: Not all specified mountpoints are using quota.

[root@aries ~]# /usr/sbin/repquota vzfs
repquota: Can't stat() given mountpoint vzfs: No such file or directory
Skipping...
repquota: No correct mountpoint specified.
repquota: Can't initialize mountpoint scan.


So I am very confused that dosnt help me at all, Please someone help me give me the exact commands please I need this fixed asap!! thanks
 
Hello,

You'd have to contact your provider. They're responsible for setting up your partitions and filesystems. If they don't know what they're doing, you might consider moving to another host.

John
 
Please its to late for that, I need to fix this current VPS... It is impossible to switch and there must be a way to do it.
 
Hello,

We cannot change the filesystem you're using. That's impossible to do remotely, sorry, it's your provider who has to do it, likely with a format, or something along those lines (changing a filesystem isn't a simple command, it's a full system reinstall). DA assumes that a valid quota filesystem is present before the install. We have no means of doing it for you, even if we wanted to.

John
 
Can I use the one vzfs in directadmin woulld that fix it, howcome virtuozzo tells us we can modify fstab can we modify it to make it work? Please dont answer me with a know it has to be possible thanks!
 
As John has been saying, this is a VPS problem not a DirectAdmin problem. DA uses the quota that is builtin to the filesystems. If Virtuozzo says they support quotas, then find out from them or your provider on how to do it.
 
Everything is fixed except one thing I cant seem to change the quotas on anyone it just wo nt work I have a feeling its becuase the accounts were created with the error, but now the quota system works I just need to know how i can reset all the users quotas since the errors were fixed without deleted and recreating basically can I "recreate" an account with keeping all the data, emails, ftp etc.

thanks
 
Hello,

You can reset all quota limits (ie: mass 'setquota' calls) with:
Code:
echo "action=rewrite&value=quota" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
John
 
Back
Top