Richard G
Verified User
A friend of mine has rented a VPS for his site and forum and I advised him to get a Directadmin Personal license.
So I installed DA for him, but there was no quota enabled on the file system. Seems that is not done by default on VPS systems?
I contacted the provider if quota could be used because it's a VPS. They said we can do anything we like with it.
So probably this could be done, but is it necessary? As he is the only user making use of this VPS like should be with a personal license.
I restored a backup for him, and got quota errors like this:
The packages.list might also be because there is only admin, he does not need any packages so none were created.
So is quota needed for a single user on a VPS or not?
If it would be wise to have, what should I do, /etc/fstab contains this lines only:
Can I just change this to:
reboot and run
Or does it also nees the rw like:
I just checked on two fresh server installations with full licenses, they have working quota it seems, but the "rw" is also not present in /etc/fstab lines.
But I read it here:
https://help.directadmin.com/item.php?id=42
So I installed DA for him, but there was no quota enabled on the file system. Seems that is not done by default on VPS systems?
I contacted the provider if quota could be used because it's a VPS. They said we can do anything we like with it.
There is no limitation set by us that would prevent any software installation, except hosting virtual machines (nested virtualization is not possible).
So probably this could be done, but is it necessary? As he is the only user making use of this VPS like should be with a personal license.
I restored a backup for him, and got quota errors like this:
<b>Error with system Quotas</b>
setquota: Mountpoint (or device) / not found or has no quota enabled.
setquota: Not all specified mountpoints are using quota.
<a href='http://help.directadmin.com/item.php?id=42'>Debug Guide</a>
<b>Error with system Quotas</b>
setquota: Mountpoint (or device) / not found or has no quota enabled.
setquota: Not all specified mountpoints are using quota.
<a href='http://help.directadmin.com/item.php?id=42'>Debug Guide</a>
Cannot read /home/admin/backups/backup/packages.list to restore packages: Unable to open /home/admin/backups/backup/packages.list for reading.
No such file or directory
The packages.list might also be because there is only admin, he does not need any packages so none were created.
So is quota needed for a single user on a VPS or not?
If it would be wise to have, what should I do, /etc/fstab contains this lines only:
Code:
UUID=3fb84ba0-e245-4c52-99f4-3f642f12290d / ext4 defaults,noatime 1 0
UUID=8ebdeacb-276f-4596-8e2f-ab4c3835e297 /boot ext4 defaults,noatime 1 0
Code:
UUID=3fb84ba0-e245-4c52-99f4-3f642f12290d / ext4 defaults,noatime,usrquota,grpquota 1 0
UUID=8ebdeacb-276f-4596-8e2f-ab4c3835e297 /boot ext4 defaults,noatime 1 0
Code:
/sbin/quotaoff -a; /sbin/quotacheck -avugm; /sbin/quotaon -a;
Or does it also nees the rw like:
Code:
defaults,noatime,rw,usrquota,grpquota
But I read it here:
https://help.directadmin.com/item.php?id=42
If are getting errors and no output is displayed for the repquota command, you'll need to check your /etc/fstab file to make sure that it contains the rw,userquota,groupquota line beside the partition that is using the quotas.