Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [quota]

The tag has no usage guidance.

0
votes
1answer
32 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
0answers
40 views

Control Internet Bandwidth with tc on Raspberry Pi 3?

Modem/Router is connected to Internet (192.168.1.1) No DHCP server is running on Modem/Router Devices connect to the network through Wifi provided by Modem/Router Devices receive DHCP settings ...
0
votes
1answer
37 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/...
0
votes
0answers
17 views

Remounting to use journaled quota failing

I have a loopback device mounted and want to test/use quotas: root@Cassiopeia:~# mount | grep -i image /tmp/imagefile on /mnt/imagemount type ext4 (rw,relatime,block_validity,delalloc,...
1
vote
0answers
38 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 ...
1
vote
0answers
43 views

Error: Links are counted has space used on quotas [closed]

My OS is: CentOS Linux release 7.5.1804 (Core) This problem appeared after a linux update some time last month (i don't know when). Before that, everything was working fine. I have a folder on my ...
1
vote
1answer
711 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 ...
5
votes
1answer
383 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
1answer
35 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
67 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
316 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
2k 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
1answer
207 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
310 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
386 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
2k 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/...
3
votes
1answer
208 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 ...
4
votes
0answers
364 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
1answer
8k 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
0answers
62 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
46 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
90 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
454 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 ...
3
votes
1answer
618 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
0answers
144 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
749 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
57 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 ...
0
votes
1answer
1k 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
490 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 ...
0
votes
1answer
199 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 ...
7
votes
1answer
198 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 ...
2
votes
1answer
183 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
vote
1answer
661 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
8k 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 ...
0
votes
1answer
971 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/...
-1
votes
1answer
336 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 ~]...
5
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
69 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
194 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
414 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 ...
-1
votes
1answer
155 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?
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 ...
8
votes
2answers
7k 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 ...
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* ...
19
votes
1answer
890 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/...
1
vote
1answer
368 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 ...
9
votes
3answers
727 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?
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 ...
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 ...
2
votes
0answers
2k 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,...