XFS Quotas: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
=Operations=
=Operations=


==Verify the Type of Quota==
==Info==
 
===Verify the Type of Quota===


  xfs_quota -xc 'print' /openshift.local.volumes
  xfs_quota -xc 'print' /openshift.local.volumes
Line 20: Line 22:
  /openshift.local.volumes /dev/vdc1 ('''gquota''')
  /openshift.local.volumes /dev/vdc1 ('''gquota''')


==Verify the Type of Enforcement==
===Verify the Type of Enforcement===


  xfs_quota -xc 'state' /openshift.local.volumes
  xfs_quota -xc 'state' /openshift.local.volumes
Line 39: Line 41:
  Realtime Blocks grace time: [7 days]
  Realtime Blocks grace time: [7 days]


==Report Quota==
===Report Quota===


  xfs_quota -xc 'report -h' /openshift.local.volumes
  xfs_quota -xc 'report -h' /openshift.local.volumes


==Display the Usage of Mounted Volume==
===Display the Usage of Mounted Volume===


  xfs_quota -xc 'free -h' /openshift.local.volumes
  xfs_quota -xc 'free -h' /openshift.local.volumes

Revision as of 21:44, 19 February 2018

External

Internal

Overview

Operations

Info

Verify the Type of Quota

xfs_quota -xc 'print' /openshift.local.volumes
Filesystem          Pathname
/openshift.local.volumes /dev/vdc1 (gquota)

Verify the Type of Enforcement

xfs_quota -xc 'state' /openshift.local.volumes
User quota state on /openshift.local.volumes (/dev/vdc1)
  Accounting: OFF
  Enforcement: OFF
  Inode: #0 (0 blocks, 0 extents)
Group quota state on /openshift.local.volumes (/dev/vdc1)
  Accounting: ON
  Enforcement: ON
  Inode: #67 (1 blocks, 1 extents)
Project quota state on /openshift.local.volumes (/dev/vdc1)
  Accounting: OFF
  Enforcement: OFF
  Inode: #67 (1 blocks, 1 extents)
Blocks grace time: [7 days]
Inodes grace time: [7 days]
Realtime Blocks grace time: [7 days]

Report Quota

xfs_quota -xc 'report -h' /openshift.local.volumes

Display the Usage of Mounted Volume

xfs_quota -xc 'free -h' /openshift.local.volumes