Questions tagged [quota]
80 questions
20
votes
1 answer
Why does chmod require disk space? Not-in-place algorithm?
I try to chmod some files and I get the error "disk quota exceeded":
It's true that I don't have that much space remaining in the filesystem where I use chmod, namelynfs.mit.edu:/export/evodesign/beatdb (which is an NFS), either in terms of bytes…
Franck Dernoncourt
- 4,749
- 15
- 48
- 79
16
votes
1 answer
quotas not linked to users but to directories
Usually, quotas are enforced per user, as related to the proprietary of the file.
Is it possible to apply a quota on a folder basis, in such a way, that a folder contents are limited in disk space?
Lorenz Meyer
- 470
- 2
- 5
- 13
14
votes
1 answer
Systemd backed tmpfs | How to specify /tmp size manually
I mount /tmp on tmpfs using:
sudo systemctl enable tmp.mount
sudo systemctl start tmp.mount
But this way /tmp takes up all the free RAM:
$ df -h /tmp
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.9G 12K 3.9G 1% /tmp
$
How…
GMaster
- 5,992
- 3
- 28
- 32
9
votes
2 answers
Why does du and quota results not match?
I have exceeded my disk quota on a system which I do not have root access. I tried removing old files but am still over. I tried runing du to find where I am using up all my space but it reports I am using very little.
Results from quota
…
Brandon Clements
- 93
- 1
- 1
- 5
9
votes
3 answers
Why was letter 's' chosen as on option for human readable format in quota command?
I often try to memorize command options by looking up for what they stand for.
This time I couldn't find any source on that: why is quota -s a --human-readable alternative, what does s stand for?
syntagma
- 12,091
- 21
- 57
- 74
7
votes
2 answers
Why do I get fsync() failed: Disk quota exceeded on my linux machine?
I get fsync() failed: Disk quota exceeded, but when I use df -h and df -i there is enough space? Any suggestions?
0x90
- 221
- 1
- 2
- 9
6
votes
1 answer
What is the most recent technique to implement quotas?
Is the quota approach still in use to limit the usage of disk space and/or the concurrency between users.
Quota works with aquota.user files in the concerned directories AND some settings in /etc/fstab with options like usrquota…
But some times,…
Sandburg
- 365
- 2
- 12
6
votes
1 answer
Get quota usage information as non-privileged user
I have non-privileged access to a Linux server (shared PHP+MySQL hosting) and there are disk space, memory, CPU usage, I/O quotas.
I wonder how can I get information about max/current quota usage from SSH shell?
Anthony Ananich
- 7,234
- 5
- 31
- 45
6
votes
4 answers
Cannot rm file: Disk quota exceeded
In bash (and over ssh) running rm FILENAME gives the error: rm: cannot remove 'FILENAME': Disk quota exceeded. I've seen the other posts (and everyting down the first page of google) on this topic and have tried:
echo "" > FILENAME
cp /dev/null…
Josh Gribbon
6
votes
1 answer
Linux cgroups: limit CPU usage in absolute values which do not depend on CPU speed
I have a server with a 2.4GHz processor. And there are several cgroups, each one allowed to use 25% of CPU. That's equal to 600MHz.
Then I replace the CPU with a faster one, let's say 3.0GHz. If I use cpu.shares, my containers will continue to get…
Anthony Ananich
- 7,234
- 5
- 31
- 45
6
votes
2 answers
Why restrict the number of inodes a user can access?
It appears that it is possible on a network mount to set a quota on how much space a user can consume.
# edquota ramesh
Disk quotas for user ramesh (uid 500):
Filesystem blocks soft hard inodes soft hard
…
spuder
- 17,643
- 36
- 91
- 119
5
votes
2 answers
Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message
Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message
I've created new partition(/dev/sda6) and mounted it(on /hulk).
Edited /etc/fstab file to give quotas on the partition with following line
/dev/sda6 /hulk ext4 …
zen pwning
- 47
- 1
- 2
5
votes
1 answer
How can I determine user base page limit for a printer?
I'm using Debian Linux. I want to determine user base page limit, different page limit for different users, for a printer.
I can determine page limit for printer with CUPS but can not determine page limit for single user.
How can I achieve this?
ibasaran
- 121
- 2
- 8
4
votes
1 answer
How to check what is using a logical volume?
Maybe there is a better way to do what I am trying to achieve, so let me describe the whole problem. My / and /home directories are on a separate LV. It happened so the / LV get out of space. I then backup my /home and try to remove it to be able to…
siery
- 199
- 2
- 3
- 9
4
votes
1 answer
Debian CGROUP Install doesn't work after reboot
After I do this on my Debian Stretch:
sudo apt install cgroup-bin cgroup-tools cgroupfs-mount libcgroup1
I can issue this:
sudo systemctl set-property user-1000.slice CPUQuota=40%
I have 4 vCPU host, each CPU takes 10% hit with "stress -cpu 4",…
Hitchhiker2018
- 41
- 2