Linux XFS filesystem development
 help / color / mirror / Atom feed
* Deleting a project from XFS quotas
@ 2018-05-22  8:46 Ian Macdonald
  2018-05-23  0:25 ` Dave Chinner
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Macdonald @ 2018-05-22  8:46 UTC (permalink / raw)
  To: linux-xfs

Hi,

We have been using XFS project quotas to track disk usage for various
websites that we have on a server. The machine was running Debian jessie
and this is what the quota report looked like:
# xfs_quota -xc "report -h" /var

Project quota on /var (/dev/xvda3)
                        Blocks
Project ID   Used   Soft   Hard Warn/Grace
---------- ---------------------------------
web01       74.3G    80G    81G  00 [------]
web02       72.5G    75G    76G  00 [------]
web03       18.5G    20G    21G  00 [------]
web04       33.3G    40G    42G  00 [------]
web05       10.3G    20G    21G  00 [------]
web06        2.9G    20G    21G  00 [------]

However, after upgrading the server to Debian stretch, that same report
now looks like this:

Project quota on /var (/dev/xvda3)
                        Blocks
Project ID   Used   Soft   Hard Warn/Grace
---------- ---------------------------------
#0          14.3G      0      0  00 [------]
#15             0    20G    21G  00 [------]
#32             0    20G    21G  00 [------]
#33             0    20G    21G  00 [------]
#34             0    20G    21G  00 [------]
#35             0    20G    21G  00 [------]
#36             0    20G    21G  00 [------]
web01       86.5G    95G    96G  00 [------]
web02       73.2G    75G    76G  00 [------]
web03       19.5G    20G    21G  00 [------]
web04       33.3G    40G    42G  00 [------]
web05       10.3G    20G    21G  00 [------]
web06        3.1G    20G    21G  00 [------]

I only have the 'web01' to 'web06' projects listed in my /etc/projects
and /etc/projid files, for the particular directories whose disk usage I
want to manage via XFS quotas.

Does anyone have any idea why I'm seeing these extra projects listed
after the upgrade to stretch? What can I do to remove them so that I'm
only setting quotas and doing file accounting for the six web
directories that I've configured?

Thanks in advance for any help you are able to give me.

Best wishes,
-Ian Macdonald

-- 
Ian Macdonald
GPG/PGP: 0778 889F EE5D DFB4 D195 97A7 779B D6BF A305 DEFC

GreenNet Ltd, 56-64 Leonard Street, London EC2A 4LT
UK Tel:      0330 355 4011
Intl:        +44 20 7065 0935
Twitter:     @GreenNetISP
Registered in England & Wales, Company No. 02070438

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-28 16:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22  8:46 Deleting a project from XFS quotas Ian Macdonald
2018-05-23  0:25 ` Dave Chinner
2018-05-23  2:19   ` Eric Sandeen
2018-05-28 16:00     ` Ian Macdonald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox