Unable to create Subdoamin User>disk quota exhausted when trying to create directory

rnc

Verified User
Joined
Jun 8, 2013
Messages
72
Unable to create Subdoamin User>disk quota exhausted when trying to create directory

Hello
after i set up a new server with some difficulties is user and sub domains home
now i have two new issiue

1- i cant create subdomain fro account i get error "
Unable to create subdomain

Details

Error creating /home/username/domains/domainname.com/public_html/01
User disk quota exhausted when trying to create /home/username/domains/domainname.com/public_html/01


and here is this user and server quotas
Code:
#quota -v username
Disk quotas for user username (uid 505):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
/dev/mapper/vg_100G-lv_root
                      0       0       0               0       0       0
/dev/mapper/vg_sdb1-lv_home
                3294258168* 6920192 7612211   4days   14828       0       0
/dev/mapper/lv_sdc1-lv_home2
                3560621716       0       0           60787       0       0


Code:
Directadmin SHOW
Used 	Max
Disk Space (MB) 	3217049.0 	6758000
Bandwidth (GB) 	262.49 	unlimited

dfl -lh show
Code:
/dev/mapper/vg_sdb1-lv_home
                      3.4T  3.1T  112G  97% /home
/dev/mapper/lv_sdc1-lv_home2
                      3.6T  3.4T   78G  98% /home/username/domains/domianname.com/public_html/disk2

and du -h --max-depth=1 SHOW for
6.4T ./public_html
and in PUBLIC_HTML it show
3.4T ./disk2
560G ./02.1
759G ./02
1.8T ./03
6.4T .

but i dont now why subdomain could not be created and also why directadmin adn Centos did not show disk2 usage for this user ( i CHOWNED /home/username/domains/domianname.com/public_html/disk2 to username:username )
also i added ext_quota_partitions=/home/username/domains/domain.com/public_html/disk2
in directadmin.conf
 
but i dont now why subdomain could not be created and also why directadmin adn Centos did not show disk2 usage for this user ( i CHOWNED /home/username/domains/domianname.com/public_html/disk2 to username:username )

Check and make sure you've got enough free innodes.



also i added ext_quota_partitions=/home/username/domains/domain.com/public_html/disk2
in directadmin.conf

Directadmin counts quotas with repquota, which shows quotas on per partition bases. And you second disk is mounted as a separate partition.

If you have another partition you want DA to count, specify that partition here:
Code:
ext_quota_partitions=/home/username/domains/domain.com/public_html/disk2
http://www.directadmin.com/features.php?id=611
 
Back
Top