Bug 1590633

Summary: Block PVC fails to mount on Jenkins pod
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rachael <rgeorge>
Component: gluster-blockAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: Rachael <rgeorge>
Severity: high Docs Contact:
Priority: unspecified    
Version: cns-3.10CC: amukherj, bgoyal, kramdoss, madam, msaini, pkarampu, pprakash, prasanna.kalever, rhs-bugs, sankarshan, sheggodu, vbellur, xiubli
Target Milestone: ---   
Target Release: CNS 3.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-54.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1590710 1594656 (view as bug list) Environment:
Last Closed: 2018-09-12 09:26:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1594656    
Bug Blocks: 1568862    

Comment 3 Pranith Kumar K 2018-06-13 09:09:03 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 12 errata-xmlrpc 2018-09-12 09:26:58 UTC
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/RHEA-2018:2691