Questions tagged [quota]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k 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: ...
0
votes
1answer
14 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 ...
4
votes
1answer
2k views

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 ...
0
votes
0answers
31 views

How to fix error Read-only file system after using quota

I am making linux exercises, but something went wrong. In /etc/fstab I add some to this line: UUID=20c2ec5-dasdas-dasdas-dsd-sad / ext4 errors=remount-ro,usr-quota,grp-quota 0 1 (added: usr-quota,...
2
votes
1answer
418 views

setquota fails silently

I'm trying to set a file system quota for a bunch of users on my system with a command like: setquota -b /mntpnt < /file/with/quotas This seems to work for almost all users. However, when I do ...
5
votes
1answer
647 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/...
0
votes
0answers
18 views

What is the meaning of soft and hard in edquota command?

So, in edquota manual page it was written Users are permitted to exceed their soft limits for a grace period that may be specified per filesystem. Once the grace period has expired, the ...
2
votes
1answer
266 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 ...
0
votes
1answer
1k views

xfs directory quota doesn't work

I have two tasks and I want to run them in different directory and limit the directory's size. I use xfs's project quota to achieve this. I follow the steps from here:https://solidlinux.wordpress.com/...
0
votes
0answers
32 views

(nspawn) container with filesystem quota

I need a container and within the container a way to set user filesystem quotas for ext4 or xfs. Only tried nspawn so far, but I'm not restricted to this particular technology. As explained here, ...
0
votes
1answer
85 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 ...
2
votes
1answer
2k views

How to check what is using logical volume?

Maybe there is a better way to do this, so let me describe the whole problem. I put / and /home directories on separate LV. It happened that the / LV get out of space. I then backup my /home and are ...
0
votes
0answers
2k 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
1answer
121 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
1answer
192 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/...
-1
votes
1answer
178 views

Number of occupied inodes via Quota?

Using the quota command, what is the number of occupied inodes by you in your pool account home directory? Find them out, with what type of file how many inodes you occupy?
2
votes
1answer
576 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 could I do this programmatically, from a bash script for ...
1
vote
1answer
735 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 ?
3
votes
4answers
9k views

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 ...
4
votes
1answer
721 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 ...
5
votes
1answer
10k 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 ...
0
votes
1answer
40 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 ...
2
votes
1answer
605 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 ...
6
votes
2answers
29k views

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?
0
votes
1answer
128 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, ...
2
votes
1answer
4k 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-...
5
votes
2answers
3k views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message [closed]

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 ...
0
votes
1answer
291 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
0answers
415 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
1answer
455 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
2answers
3k 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
1answer
288 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 ...
1
vote
1answer
563 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 ...
1
vote
0answers
78 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
0answers
51 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
1answer
108 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 ...
6
votes
1answer
238 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 ...
3
votes
1answer
790 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 ...
2
votes
1answer
61 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 ...
1
vote
0answers
159 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
1answer
899 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 ...
3
votes
1answer
2k views

What is the unit measurement used in edquota?

I have the following quota setting for ec2-user: Disk quotas for user ec2-user (uid 500): Filesystem blocks quota limit grace files quota limit grace /dev/xvdf 32* ...
0
votes
1answer
223 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 ...
2
votes
1answer
231 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 ...
-1
votes
1answer
447 views

“du -shm .” and “quota -s” information are not matching for particular user? [duplicate]

when du -cshm . is run from home directory of user, the below is the output. [user@host ~]$ du -cshm . 2859 . 2859 total and when quota -s command is run, below is the output. [user@host ~]...
6
votes
1answer
4k views

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 ...
0
votes
1answer
77 views

How can users disk usage be limited without quotas?

I am currently working in a students project (machine learning) where we get access to a companies resources. They store their data on Windows servers, but we use Linux machines to access the data. ...
0
votes
1answer
211 views

Quota cannot impose its rules!

For several times I tried to set quota on /home in CentOS 6.5 on Vbox but after remount /home and quotacheck terminal report this: quotacheck: Cannot remount filesystem mounted on /home read-only ...
0
votes
1answer
469 views

How to setup the quota for NIS user

I have 3 VM's and configured NIS server one VM, user account created for client access also done. NIS client configured remaining two VM's. I am able to login through what I created username in NIS ...
8
votes
2answers
8k views

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 ...