Contents
Can a disk quota be exceeded by inodes?
There is a possibility that you still have enough disk space left, but you reached inodes limit end up giving disk quota exceeded. First, make sure you that you have enough space left. You can see that disk space is only 28% used. Now check if you reached inodes limit.
Why is mkdir cannot create directory’b’?
mkdir: cannot create directory `b’: Disk quota exceeded 1 Disc quota is disabled. 2 File system is nearly unused. 3 The admin says, that the physical HDD is only 25% used. 4 quota -v returns nothing More
What causes disk quota exceeded error in Linux servers?
In these companies, the majority of disk quota exceeded errors caused by VPSs hitting file number limit. Linux servers use something called inodes to keep track of each file. The trouble is, each server (or VPS) has only a limited number of inodes.
What does mkdir mean on Ubuntu 12.04 LTS VServer?
When i try to create a file or dir on my Ubuntu 12.04.2 LTS vserver i get a mkdir: cannot create directory b: Disk quota exceeded . But: Disc quota is disabled. File system is nearly unused. The admin says, that the physical HDD is only 25% used.
Basically, you edit your /etc/fstab and add usrquota to the mount options of the partition. Then you remount the partition: Where is a letter of the disk and the partition number on the disk (if you use uuid, see man mount to mount with uuid ). Once you have the quota file, it is time to add a quota for coworkerguy:
How to set size limit to Samba shared volume?
LVM is useful here. Make a logical volume that is 2G and mount it at /samba/coworkerguy. This will bypass any need for quotas and meet the exact requirements by placing hard restriction on the size. Thanks for contributing an answer to Unix & Linux Stack Exchange!
Create a 2Gb file with dd, format the file e.g. ext3, mount it, add it to fstab and use that as a share. Now you point the share to /mount/point (or wherever you chose to mount it), so In UNIX, everything is a file. There is another, cleaner option.