Bug 1591185 - Gluster Block PVC fails to mount on Jenkins pod
Summary: Gluster Block PVC fails to mount on Jenkins pod
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: posix
Version: 4.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1590710 1591187
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-14 08:38 UTC by Pranith Kumar K
Modified: 2019-05-11 00:23 UTC (History)
10 users (show)

Fixed In Version: glusterfs-4.1.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1590710
Environment:
Last Closed: 2019-05-11 00:23:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Pranith Kumar K 2018-06-14 08:39:17 UTC
On a gluster volume with 100GB if we try to create a gluster-block of size 100GB with pre-allocation, block creation succeeds but it silently fails to allocate the correct sizes for the shards on the posix xlator.

sh-4.2# du -sh .shard/* | awk '{print $1}' | sort | uniq -c
      1 18M
      1 26M
   1597 64M

Because of this when writes happen on a pre-allocated block device, writes fail with ENOSPC which shouldn't happen for preallocated files.

Comment 2 Worker Ant 2018-06-14 14:16:16 UTC
COMMIT: https://review.gluster.org/20269 committed in release-4.1 by "Pranith Kumar Karampuri" <pkarampu> with a commit message- storage/posix: Handle ENOSPC correctly in zero_fill

Change-Id: Icc521d86cc510f88b67d334b346095713899087a
fixes: bz#1591185
Signed-off-by: Pranith Kumar K <pkarampu>
(cherry picked from commit 6ef91480f9e75f63100585bfd19694deb0c2457b)


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