Questions tagged [quota]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19
votes
1answer
939 views

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/...
15
votes
1answer
23k views

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?
9
votes
3answers
741 views

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?
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 ...
7
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?
6
votes
2answers
4k views

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 ...
6
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 ...
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 ...
6
votes
1answer
243 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 ...
5
votes
1answer
670 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/...
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 ...
4
votes
1answer
3k views

Disk quota exceeded; truncate not bringing quota back down

Resolved: See "However" at the end of the question for details. I've managed to hose my login to a Unix box. I don't have an easy way of contacting the administrator, so I'd like to resolve it myself ...
4
votes
1answer
735 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 ...
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 ...
3
votes
2answers
4k views

How can I check how much space I am allowed to use on a linux server?

I have some giant files I'd like to back up by putting them on a server I am allowed to use for such things. However, I am uncertain about how much space I am allowed to use. Is there any way of ...
3
votes
2answers
815 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 ...
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* ...
3
votes
1answer
2k views

Is it safe to delete the quota.user file?

Is it okay to delete the quota.user file from the root directory? This file is 2.7GB in size and I need to wipe it from the system. I ran: $ quotaoff -avug $ mv quota.user quotaold.user $ quotaon -...
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 ...
2
votes
1answer
596 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 ...
2
votes
1answer
3k 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 ...
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-...
2
votes
1answer
919 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
1answer
4k views

Restrict samba-user for upload files based on file size

Is there any possibilities to restrict Samba user's to a maximum file size? Ex, If a samba-user uploads a file onto the server that's more than 100 MB (like video or compressed files), Samba, or the ...
2
votes
1answer
618 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 ...
2
votes
1answer
236 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 ...
2
votes
1answer
347 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 ...
2
votes
1answer
295 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 ...
2
votes
1answer
62 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 ...
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: ...
2
votes
1answer
422 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 ...
2
votes
0answers
3k views

How do you setup user quotas for disk storage?

The lpic exam shows how to setup user disk quotas in the /etc/fstab. Source http://en.wikibooks.org/wiki/LPI_Linux_Certification/Managing_Disk_Quota Example /dev/fd0 /home/yann/mnt auto rw,...
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/...
1
vote
1answer
749 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 ?
1
vote
1answer
2k views

How to enable quotas in the fstab file?

I want to enable quotas. My fstab currently has: # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc ...
1
vote
2answers
1k views

xfs quota not reliable

I have enabled quotas on an xfs-partition. But it seems to be broken: $ echo asdf >/disk/l/data/avi/foo -su: /disk/l/data/avi/foo: Disk quota exceeded $ quota -f /disk/l Disk quotas for user avi (...
1
vote
1answer
110 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
1answer
580 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
1answer
125 views

Quota utilities

Are there any command line utilities that make it easier to read quotas (e.g. showing percentages, approximate size in MB, etc.). Perhaps something like what htop does for top, but for quota?
1
vote
0answers
429 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/...
1
vote
0answers
79 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
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 ...
1
vote
1answer
700 views

Remove user space quota in Ubuntu 12.04?

I'm trying to install Unity3D but I only have 1.5GB (EDIT: I forgot to mention this is what the Unity3D installer says, but I have also had problems with downloading things of large sizes) free space ...
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 ...
0
votes
1answer
78 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
296 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 ...
0
votes
1answer
224 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 ...
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
17 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 ...