LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba, after setting quota error - not enough space (https://www.linuxquestions.org/questions/linux-server-73/samba-after-setting-quota-error-not-enough-space-4175448656/)

Timothy.u 02-05-2013 03:26 AM

Samba, after setting quota error - not enough space
 
Hello,

I tried to figure this out for a while myself but it seems I can't get a hang of this... Neither am I able google the answer.

So basically, I have a samba share set up on one of my servers. The problem is, after i set up quota, I can't copy multiple files... Actually I can, but an error occurs all the time saying "Not enough disk space". This is really annoying. Example:

I have username:
User01
I set quota like that:
setquota -u User01 320000 400000 0 0 /dev/md1

Than from Windows, when I try to copy single file near 300MB it copies well without any errors, but when I try to copy multiple files, a 1MB folder with 50 small files, windows show an error all the time: "not enough disk space", though it copies the files and folder, but slower than usual...

When I do:
setquota -u User01 0 0 0 0 /dev/md1
the problem is gone...

This is my from mtab:
...
/dev/md1 /home xfs rw,nosuid,nodev,noatime,nodiratime,allocsize=256m,logbufs=8,grpquota,uquota 0 0
...


All times are GMT -5. The time now is 10:23 AM.