Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1554291 - When storage reserve limit is reached, appending data to an existing file throws EROFS error
When storage reserve limit is reached, appending data to an existing file thr...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: replicate (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity medium
: ---
: RHGS 3.4.0
Assigned To: Ravishankar N
Prasad Desala
:
Depends On:
Blocks: 1503137 1561129 1597154
  Show dependency treegraph
 
Reported: 2018-03-12 06:52 EDT by Prasad Desala
Modified: 2018-09-07 02:34 EDT (History)
4 users (show)

See Also:
Fixed In Version: glusterfs-3.12.2-8
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1561129 (view as bug list)
Environment:
Last Closed: 2018-09-04 02:44:14 EDT
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2607 None None None 2018-09-04 02:45 EDT

  None (edit)
Description Prasad Desala 2018-03-12 06:52:08 EDT
Description of problem:
=======================
When storage reserve limit is reached, appending data to an existing file throws EROFS error.

Version-Release number of selected component (if applicable):
3.12.2-5.el7rhgs.x86_64

How reproducible:
always

Steps to Reproduce:
===================
1) create a x3 volume and start it.
2) Set storage.reserve volume set option to 90,
gluster volume set distrepx3 storage.reserve 90
3) Create data using dd until the backend bricks reaches reserve limit.
4) Now, try appending data to the existing file.

Actual results:
===============
appending data to an existing file throws EROFS error
cat /etc/redhat-release  > 25MB_997
-bash: 25MB_997: Read-only file system

Expected results:
=================
It should throw appropriate error, ENOSPC.
Comment 12 Prasad Desala 2018-04-27 09:56:42 EDT
Verified this BZ on glusterfs version 3.12.2-8.el7rhgs.x86_64.

Now, when storage reserve limit is reached, appending data to an existing file is throwing ENOSPC error as expected.

Moving this BZ to Verified.
Comment 14 errata-xmlrpc 2018-09-04 02:44:14 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2607

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