Questions tagged [quota]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
39 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/...
user avatar
0 votes
0 answers
7 views

Can SELinux limit the scope of a binary which has capabilities set?

I would like to give my application (running unprivileged) a set of capabilities which allows it to: chown/delete some files not owned by it set quota for users but limit the scope of its "...
user avatar
0 votes
0 answers
33 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 ...
user avatar
0 votes
0 answers
86 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>&...
user avatar
2 votes
1 answer
604 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 ...
user avatar
  • 151
0 votes
0 answers
111 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 ...
user avatar
  • 1
1 vote
0 answers
211 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 ...
user avatar
  • 13
0 votes
0 answers
17 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 (...
user avatar
  • 101
0 votes
1 answer
184 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 ...
user avatar
1 vote
0 answers
143 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 ...
user avatar
1 vote
0 answers
84 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 ...
user avatar
  • 11
2 votes
0 answers
915 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 ...
user avatar
0 votes
0 answers
95 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/ ...
user avatar
  • 31
0 votes
2 answers
2k 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 ...
user avatar
  • 141
0 votes
1 answer
61 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 ...
user avatar
  • 22.9k
0 votes
0 answers
114 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 (...
user avatar
  • 1
3 votes
2 answers
740 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 ...
user avatar
0 votes
1 answer
252 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 ...
user avatar
0 votes
1 answer
220 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 ...
user avatar
  • 31
1 vote
0 answers
8k 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): ...
user avatar
0 votes
1 answer
332 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-...
user avatar
0 votes
1 answer
821 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/...
user avatar
  • 2,225
3 votes
1 answer
2k 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 ...
user avatar
  • 2,225
3 votes
1 answer
10k 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 ...
user avatar
  • 179
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 ...
user avatar
0 votes
1 answer
48 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 ...
user avatar
  • 103
0 votes
1 answer
408 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, ...
user avatar
  • 894
3 votes
1 answer
1k 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 ...
user avatar
2 votes
1 answer
7k 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-...
user avatar
  • 123
0 votes
1 answer
404 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 ...
user avatar
1 vote
0 answers
516 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/...
user avatar
0 votes
1 answer
513 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> <...
user avatar
1 vote
2 answers
4k 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/...
user avatar
  • 120
2 votes
1 answer
390 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 ...
user avatar
  • 308
5 votes
1 answer
2k 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/...
user avatar
  • 335
12 votes
1 answer
15k 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 ...
user avatar
  • 5,325
1 vote
0 answers
95 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 ...
user avatar
  • 111
1 vote
0 answers
60 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 ...
user avatar
  • 7,211
1 vote
1 answer
135 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 ...
user avatar
  • 11k
1 vote
1 answer
829 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 ...
user avatar
  • 11
4 votes
2 answers
1k 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 ...
user avatar
  • 143
1 vote
0 answers
185 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 ...
user avatar
  • 511
2 votes
1 answer
1k 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 ...
user avatar
  • 209
2 votes
1 answer
68 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 ...
user avatar
3 votes
1 answer
3k views

using cpu.cfs_quota_us and cpu.cfs_period_us to limit CPU usage

There are 32 cores in a system (2 cpus each 16 cores) and I want to limit a user to use only 4 cores (100% usage for that 4 cores). There are two kernel parameter for that according to the manuals: ...
user avatar
  • 1,015
2 votes
1 answer
837 views

Btrfs+LXC: any way to show even rough estimated free space for quota'ed subvol hosting LXC container?

I'm experimenting with LXC using Btrfs as a backing store. Btrfs allows for easy snapshot/deduplication and is ideal for spinning up several "pseudo-VMs". The problem I'm having is that some of the ...
user avatar
  • 2,408
0 votes
1 answer
262 views

Writing to quota folder as owner of folder instead of anyother user

I have a Debian Jessie machine. A hard disk mounted on its /home folder. My /etc/fstab looks like /dev/vda1 / ext4 errors=remount-ro 0 1 /dev/vdb swap swap defaults ...
user avatar
  • 291
6 votes
1 answer
376 views

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 ...
user avatar
2 votes
1 answer
341 views

issue in user Quota creation

I am trying to create a users quota in RHEL-7 with xfs file system. But I am not able do it. The procedure that I followed is as below :- 1) edit /etc/fstab/ /dev/mapper/rhel-root / xfs ...
user avatar
  • 169
1 vote
1 answer
1k views

Difference between block size and file size in quota

So I would like know the Difference between block limits and file limits in quota ?
user avatar
  • 12.5k