Questions tagged [quota]
The quota tag has no usage guidance.
83
questions
0
votes
0
answers
19
views
How to set a quota on Logical Disk Space (logicalused) in ZFS?
I am currently using ZFS and need to set a quota on the logical disk space (logicalused) rather than the physical disk space used after compression. The quota and refquota properties in ZFS set a ...
2
votes
1
answer
168
views
ext4 /Home filesystem won't mount - possible to recover?
I am using Pop! OS on a workstation PC in my workplace. However, today the machine crashed into a recovery mode on boot, apparently because the /Home filesystem wouldn't mount. The filesystem is ext4 ...
0
votes
1
answer
73
views
xfs_quota bsoft limit explanation
Using RHEL 8.9, I have xfs_quota applied to each home account folder under /home.
In doing xfs_quota -x -c 'limit bhard=1g ron' /home I can observe for example a cp fail when trying to copy a single ...
0
votes
1
answer
137
views
xfs_quota apply for all users under /home
in RHEL 8.9, I have a 100gb XFS formatted /home partition; all local user accounts in /etc/passwd have their home directories under /home. And all user accounts primary gid is and will always be 100 {...
0
votes
0
answers
139
views
btrfs subvolume quota and free space for samba share
My btrfs filesystem is mounted under /mnt/btrfs. I then created a subvolume /mnt/btrfs/sv and enabled quotas. After that I set the quota to 10G with btrfs qgroup limit -e 10G /mnt/btrfs/sv and ...
3
votes
1
answer
879
views
Debian Bookworm, systemd, and how EXT4 quota works?
I have a fresh Debian 12 system and I'm trying to turn on and enforce EXT4 filesystem quota. I read a lot of man and some other sources, for example this one from Red Hat: https://access.redhat.com/...
1
vote
1
answer
670
views
How to determine quota(1) block size?
Google has parsed this Duke University IT knowledgebase article into an infocard alleging to anyone searching "linux quota block size" that
A block quota is the limit on the actual amount ...
1
vote
2
answers
11k
views
disk quota exceeded but there is space
I am getting 'disk quota exceeded' error but the partition is not full and user has unlimited quota. What is wrong and how can I fix it?
xxx@mc:/tmp$ pyenv install 3.7.6
/home/xxx/.pyenv/plugins/...
0
votes
0
answers
572
views
Automatically Kill high-resource utilization programs
In our company, we use a headless Linux machine as development machine. However, sometimes users use up all resources (CPU, RAM) on that machine, which influences the work of others. Hence, we want to ...
1
vote
0
answers
568
views
failed to add quota to fstab something while installing ISPconfig on ubuntu 20.04
[INFO] Adding quota to fstab.
[ERROR] Exception occured: ISPConfigOSException -> Command mount -o remount / 2>&1 && quotaoff -avug 2>&1 && quotacheck -avugm 2>&...
3
votes
1
answer
5k
views
How to enable journaled quota on Debian 11
I'm trying to enable journaled usrquota on Debian 11 Kernel 5.10. All information I find uses external files which leads to the following deprecation warning:
quotaon: Your kernel probably supports ...
1
vote
0
answers
1k
views
How to Track total internet / data usage of a specific app or a process for Linux (headless)
I would like to check the total use of the Internet for a process or application or a bash script (to set up a quota for my application).
I tried some applications and found it just giving download ...
2
votes
0
answers
746
views
xfs_quota and quota commands not working for NFS clients
I've been bumping up against this issue for years, but have never been able to find a resolution. Prior to RHEL7 (i.e. RHEL 5, RHEL 6, and CentOS 6), I was able to...
Implement user quotas on my NFS ...
0
votes
0
answers
25
views
Set quotas for disk usage to a system
I have a remote server.
Every time, after a short while, I have a problem with free space, my disk usage (/dev/sda) becomes 100%.
This is real problem because I can't easily free space. Most options (...
0
votes
1
answer
732
views
How to list all the files owned by a given user for quota checking?
Is there a way to have a list of all the files owned by a certain user
in a filesystem, and their sizes? I mean, not by traversing the
directory tree with find or similar tools, because I did already
...
1
vote
0
answers
700
views
Expand the limitation of linux samba share folder across partitions
I have an issue when sharing the Linux data via smb as below:
I have a few partitions in some HDDs (e.g 100G in HDD1 /media/shared/HDD1, 200G in HDD2 as /media/shared/HDD2)
The smb config is set to ...
1
vote
0
answers
217
views
Setting a user quota in ZFS which does not count snapshots
I love ZFS on Linux (RedHat 7), and users love the recovery that snapshots provide.
The one problem that I have is that users will completely fill up their user quota
then delete files expecting to ...
2
votes
0
answers
2k
views
edquota failed to update quota: cannot change current block allocation
I tried to modify the quota using edquota on Manjaro but get this warning and the quota settings is not changed:
$ sudo edquota trusted
edquota: WARNING - /dev/sda7: cannot change current block ...
0
votes
0
answers
297
views
Linux Directory Size Limiting
I have a FTP server with anonymous access for my local network. Here I have directories named with department names. I want to limit the directory sizes in respect to departments.
/var/ftp/pub/
...
0
votes
2
answers
4k
views
Disc quota exceeded, cannot create, copy, or move files... is there another way?
I'm sshing into a remote server to complete some work. I tried to edit a file in nano, but realized, after saving and exiting, the file (quite a lot of work) was empty. Apparently, my disc quota has ...
0
votes
1
answer
200
views
Are XFS quotas and linux quotas part of the same thing?
I see there are two ways to create quotas, there is xfs_quota and then this suite of utilities like edquota and repquota. It seems all of these utilities can provide inode quotas. How does that tools ...
0
votes
1
answer
844
views
Setting up disk quotas for every new user account
I'm trying to set up default disk quotas for every new user that gets an account created in my Debian10 server.
For example, user1 gets an account created and the first time he logs in the system (...
3
votes
2
answers
2k
views
crontab command fails to create temporary directory
On two of my VMs the crontab -e command fails to create a directory in /tmp but it works with mkdir:
/tmp/crontab.oxyaBy: Input/output error
Creation of temporary crontab file failed - aborting
...
0
votes
1
answer
418
views
changing ownership on NFS shared ZFS storage - quota exceeded
I have very bizarre problem. I have CentOS server 6.10 and ZFS storage.
Now storage is configured long time ago by someone, and I found out that for certain user there is a quota set.
when I check on ...
0
votes
1
answer
307
views
Disk quota after file removal
I have an account on some free ssh accessed linux server. The disk per user quota is 100MB. Recently I've downloaded a file abot 80MB and next tried to unzip it. And then an error occured saying the ...
1
vote
0
answers
10k
views
How can I solve "OSError: [Errno 122] Disk quota exceeded"?
I run a python3 script and the program will output several JSON files with about 114.17 MB each. But after generating about 60 files, I get the error message:
Traceback (most recent call last):
...
0
votes
1
answer
487
views
Can I 'yum remove quota' (CentOS 7)
To avoid a long conversation explaining why I want to do this I will just cut straight to the chase.
To totally remove quotas can I simply
yum remove quota
And change
UUID=ed9b61db-4055-4ecb-...
0
votes
1
answer
1k
views
Turning quota on yields warning message about device busy
I run quotacheck on a filesystem to enable user quota only so now the following file is present:
root@Cassiopeia:~# ls -l /mnt/imagemount/aquota.user
-rw------- 1 root root 7168 Ιαν 8 15:21 /mnt/...
3
votes
1
answer
3k
views
Difference between journaled and plain quota
I am trying to set up quotas on a filesystem and I am getting the famous message:
quotacheck: Your kernel probably supports journaled quota but you are
not using it. Consider switching to ...
4
votes
1
answer
13k
views
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 ...
4
votes
1
answer
2k
views
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 ...
0
votes
1
answer
55
views
Which comes first, for a write/create: permissions check or quota check?
Browsing through fs/nfs/... but this wasn't obvious to me, so: if I try to write while being "above quota", to a file that doesn't belong to me, will I get EPERM or ENOSPC?
Another way to phrase this ...
0
votes
1
answer
536
views
How do I remove a directory on a remote system that has a quota?
I have an rsync.net account that has hit its quota and I'm trying to remove (rm -rf) a directory to clean up space. However all the remove commands I can think of to try (rm, truncate, find -delete, ...
4
votes
1
answer
2k
views
Programmatically modify user quota
I have already configured my server to work with user quotas and everything works well. I can modify user quota with the edquota command.
How can I do this programmatically, from a bash script for ...
2
votes
1
answer
11k
views
Cannot mkdir: Disk quota exceeded, but iNodes and space are far from exceeding
I am unpacking a tar file when I have error messages like this:
[xxxxx@lo-login-02 ~]$ tar -xvf ontonotes-release-5.0_LDC2013T19.tgz
...... (omitted lines)
tar: ontonotes-release-5.0/tools/ontonotes-...
0
votes
1
answer
571
views
Hard inode disk quota not working (via SMB anonymous connection)
So I've decided to share folder via samba without authentication and with limited maximum size.
I've done everything as the second answer from there said, except that I used journaled quota.
Since ...
1
vote
0
answers
547
views
Strange inode count with /dev/vzfs
I am using Plesk on an Ubuntu 14.04 server and experiencing some strange problems:
I checked mount:
/dev/vzfs on / type reiserfs (rw,usrquota,grpquota)
Then stat /dev/vzfs:
stat: cannot stat ‘/dev/...
0
votes
1
answer
558
views
CentOS7 QUOTA xfs
I can not enable disk quotas for /home (/dev/md2). For / (/dev/md1) it works fine. What am I doing wrong?
cat /etc/fstab
# <file system> <mount point> <type> <options> <...
1
vote
2
answers
5k
views
How to send warning with Dovecot to users when over quota?
I'm trying to implement the quota warning to users over quota with Dovecot following this tip. I've added the following to my /etc/dovecot/conf.d/30-overquota.conf (any modication in the original /etc/...
2
votes
1
answer
516
views
setting a quota on zfs doesn't work
I'm on FreeBSD 11. In order to set quota on my pool named storage, I enter these configs in terminal:
zfs set quota=10G storage
zfs set userquota@user1=1M storage
The problem is when I connect from ...
6
votes
1
answer
3k
views
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/...
16
votes
1
answer
23k
views
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 ...
1
vote
0
answers
120
views
Configuring Conky to report disk quota usage
Recently I learned how to set up per-user quotas on Debian, and now I'd like to add some quota information to Conky. I've read up a bit on the .conkyrc config, but I'm really struggling with the ...
1
vote
0
answers
74
views
how to warn about user quotas of ftp user in a /sbin/nologin shell?
how would i do a check through a perl script or bash script remotely and throw a warning if the ftp upload size beyond the limits specified for that user.
only ftp login is allowed for the remote ftp ...
1
vote
1
answer
169
views
Aix: edquota problem
Simple but don't work
I did
edquota -u myuser
Open vi and I put those lines
/home: blocks in use: 16, limits (soft = 10, hard = 30)
inodes in use: 4, limits (soft = 0, hard = 0)
But ...
1
vote
1
answer
1k
views
How are Linux user/group quotas counted if a file is owned by both the user and the group?
I want to set up a /home where users have their own private folder and in addition share a different group folder with other users.
The goal is that users have their own small-sized folder for private ...
4
votes
2
answers
2k
views
How to set per process disk quota?
I want to set disk quota (limit maximum space used in the file system) that a particular process can use under Linux. There seems to be plenty ways to limit disk quota for a user, but not at a per ...
1
vote
1
answer
257
views
How do I set up user quota for /var/www?
I want to add quota per user in my Apache2 webroot. My /var/www directory is not a partition. I've found tutorials on how to set up quota for partitions, but how do I set up /etc/fstab without moving ...
2
votes
1
answer
2k
views
Setting a disk space quota on a samba share residing on an ZFS pool
I have several samba shares, one of which is used for storing some backups.
I want to set a disk space quota on said share, as the ZFS volume the share resides on is huge and multi-purpose... I don't ...
2
votes
1
answer
70
views
ZFS groupused value not current
On my Solaris 11 box I have a zfs pool (z) that uses 100G group quotas on each user in /org/users folder. One user had reached their quota and cleaned up their data. The df output, that had previously ...