Bug 1464350 - [RFE] Posix xlator needs to reserve disk space to prevent the brick from getting full.
[RFE] Posix xlator needs to reserve disk space to prevent the brick from gett...
Status: ON_QA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: posix (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.4.0
Assigned To: Mohit Agrawal
Rahul Hinduja
: FutureFeature, ZStream
Depends On:
Blocks: 1173519 1286092 1398595 1476158 1503132 1471366
  Show dependency treegraph
Reported: 2017-06-23 03:48 EDT by Nithya Balachandran
Modified: 2018-01-17 05:32 EST (History)
4 users (show)

See Also:
Fixed In Version: glusterfs-3.12.2-2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1471366 1476158 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nithya Balachandran 2017-06-23 03:48:41 EDT
Description of problem:

Once a brick becomes completely (100%) full, the gluster filesystem becomes inconsistent as xattr operations fail and recovery is very difficult.

A rebalance cannot be used to migrate data off the full brick as xattr operations will fail.

DHT uses a min-free-disk option to try to keep some reserve space on all bricks. However, this approach is not fool proof and should ideally be handled by the posix xlator. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Comment 3 Mohit Agrawal 2017-07-16 21:57:36 EDT
Patch is posted on upstream 


Note You need to log in before you can comment on or make changes to this bug.