LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-02-2019, 10:54 AM   #1
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 900

Rep: Reputation: 290Reputation: 290Reputation: 290
Question Quota not shown/activated for all users in all partitions


I've activated quotas on my Debian server (kernel 4.9.0-9-amd64), more specifically on partitions /dev/sda1 (/) and /dev/sda5 (/home)
There are around 30 different normal users.

Code:
cat /etc/fstab
/dev/sda1 /               ext4    usrjquota=aquota.user,jqfmt=vfsv0,errors=remount-ro 0       1
/dev/sda5 /home           ext4    defaults,usrjquota=aquota.user,jqfmt=vfsv0        0       2
Code:
ls -l /aquota.user /home/aquota.user
-rw------- 1 root root 9216 août   2 00:14 /aquota.user
-rw------- 1 root root 9216 août   2 00:14 /home/aquota.user
I've launched the following commands as well:
  • quotaoff -au
  • quotacheck -aumn
  • quotaon -au

I've configured quotas with edquota for myUser:
Code:
edquota -u myUser
Disk quotas for user myUser (uid 1002)
Filesystem blocks soft hard inodes soft hard
/dev/sda1 0 102400 128000 0 0 0
/dev/sda5 336 786432 917504 27 0 0
Next I've extended those quotas for all the 29 other users with edquota -p myUser otherUser...

Would someone know why repquota -a below doesn't show me all my user quotas on /dev/sda1 please?

Code:
repquota -a
*** Report for user quotas on device /dev/sda1
Block grace time: 14days; Inode grace time: 14days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      -- 9968672       0       0         233517     0     0
Debian-gdm --       4       0       0              3     0     0
user5 --       8  102400  128000              5     0     0


*** Report for user quotas on device /dev/sda5
Block grace time: 14days; Inode grace time: 14days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --      80       0       0             11     0     0
myUser --   12356  786432  917504            147     0     0
user1 --      36  786432  917504             10     0     0
user2 --      16  786432  917504              4     0     0
user3 --      16  786432  917504              4     0     0
user4 --      40  786432  917504             11     0     0
user5 --      80  786432  917504             19     0     0
user6 --      60  786432  917504             16     0     0
user7 --      36  786432  917504             10     0     0
user8 --     336  786432  917504             27     0     0
user9 --   45432  786432  917504            827     0     0
user10 --      16  786432  917504              4     0     0
user11 --      16  786432  917504              4     0     0
user12 --      40  786432  917504             11     0     0
user13 --      44  786432  917504             12     0     0
user14 --      60  786432  917504             15     0     0
user15 --      16  786432  917504              4     0     0
user16 --      16  786432  917504              4     0     0
user17 --      40  786432  917504             11     0     0
user18 --      36  786432  917504             10     0     0
user19 --      16  786432  917504              4     0     0
user20 --      16  786432  917504              4     0     0
user21 --      48  786432  917504             13     0     0
user22 --      40  786432  917504             11     0     0
user23 --      52  786432  917504             13     0     0
user24 --      16  786432  917504              4     0     0
user25 --      48  786432  917504             13     0     0
user26 --      16  786432  917504              4     0     0
user27 --      16  786432  917504              4     0     0
user28 --      48  786432  917504             12     0     0
user29 --      20  786432  917504              5     0     0
Thanks in advance
 
Old 08-02-2019, 11:04 AM   #2
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 900

Original Poster
Rep: Reputation: 290Reputation: 290Reputation: 290
Ok, I've just found it out: by default, quotas are only reported for users having written data on the mentioned partitions
So the following command mentions all my users with their respective quotas: repquota -av
Mystery [SOLVED]

Last edited by l0f4r0; 08-02-2019 at 11:05 AM.
 
1 members found this post helpful.
  


Reply

Tags
quota



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dovecot, quota-warning script not firing when the quota levels are crossed. tedeasydns Linux - Software 6 08-14-2019 12:10 PM
usb keyboard identified and events shown but key character not shown on the prompt flyxtop Linux - Software 0 11-30-2013 07:45 AM
Disk quota on Centos 5.6, quota not working? shfyang Red Hat 1 11-09-2013 06:28 PM
User shown as "already exist" when there is no user directory shown on home directory Sharpeye Linux - Newbie 3 03-18-2009 01:17 AM
While booting no option is shown for Linux! Only windows xp is shown!! mon avis Linux - General 7 08-06-2006 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration