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: POST
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: posix (Show other bugs)
3.3
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.4.0
Assigned To: Mohit Agrawal
Rahul Hinduja
: FutureFeature, ZStream
Depends On:
Blocks: 1173519 1286092 1398595 1471366 1476158 1503132
  Show dependency treegraph
 
Reported: 2017-06-23 03:48 EDT by Nithya Balachandran
Modified: 2017-11-13 10:35 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1471366 1476158 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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:
1.
2.
3.

Actual results:


Expected results:


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

https://review.gluster.org/#/c/17780/

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