Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1520882 - [GSS]shard files present even after deleting vm from the rhev
[GSS]shard files present even after deleting vm from the rhev
Status: POST
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: sharding (Show other bugs)
3.2
x86_64 Linux
unspecified Severity high
: ---
: RHGS 3.4.z Batch Update 2
Assigned To: Krutika Dhananjay
SATHEESARAN
: ZStream
Depends On: 1568521
Blocks: 1522624 1568758 1503143
  Show dependency treegraph
 
Reported: 2017-12-05 06:46 EST by Abhishek Kumar
Modified: 2018-10-31 04:48 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Cause: When a large file with large number of shards is deleted, shard translator synchronously sends unlink operation on all the shards in parallel. This in turn causes replicate translator to acquire locks on .shard directory in parallel. Consequence: After a while, when a huge number of locks get accumulated in locks translator, the search for a possible matching lock gets slower, sometimes taking several minutes to complete, causing timeouts and leading to disconnects and subsequent failure of file deletion leading to stale shards being left out under .shard. Workaround (if any): For one, it is important that the customer uses 64MB as the shard block size. The lower the shard-block-size, the higher the chances of timeouts. And then if the issue is still hit with 64MB shards, the ghost shards can be identified and deleted from the backend of each brick after figuring out the gfid of the image on which deletion failed. Result: This way all the space consumed by ghost shards can be reclaimed.
Story Points: ---
Clone Of:
: 1522624 1568521 (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 Abhishek Kumar 2017-12-05 06:46:00 EST
Description of problem:

ghost shard files present even after deleting vm from the rhev resulting more space utilized than it should actually have.

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

glusterfs-3.8.4-18.6.el7rhgs.x86_64 


How reproducible:

Customer environment


Actual results:

shard files available even after deleting vm

Expected results:

shard files should have deleted after vm deletion.

Additional info:

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