Quotas seem wrong

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,405
Location
London UK
I have just migrated a server to a VPS..... The quota system was all 'unlimited', so I ran "action=rewrite&value=quota" to fix them....

Today the system stated that there are a few accounts going near their quota (see attached screens of an example of one user)

There should be ~500mb total?


Old server:
#quota -v user
Disk quotas for user xxxx (uid 1184):
Filesystem blocks quota limit grace files quota limit grace
/dev/root 482712 1024000 1126400 18626 0 0
New VPS:
# quota -v user
Disk quotas for user xxxx (uid 1184):
Filesystem blocks quota limit grace files quota limit grace
/dev/simfs 964804 1024000 1126400 37182 0 0
Doubled?
 

Attachments

  • diskusge3.jpg
    diskusge3.jpg
    11.2 KB · Views: 71
  • diskusge2.jpg
    diskusge2.jpg
    27.5 KB · Views: 48
  • diskusge.jpg
    diskusge.jpg
    39.1 KB · Views: 48
Last edited:
ok, figured out that when you restore from a backup (you need to delete everything first), thats when the quotas go back to normal..... I dont get it?
 
Last edited:
If you restore an account from a backup over existing data, directadmin does not delete anything from homedir. So if you have on disk files that are missing in a backup, you won't get them deleted after restore process ends. So that's up to you to delete them if you need it.
 
I forgot to mention, I used rsync to migrate.... So I used rsync once, then a second time a day or so when I shut off access to the initial server..... I know it's the lazy way of doing it.....
 
Back
Top