Bug 1373416
Summary: | [NFS-Ganesha+tiering]: 'Circular directory structure' warning is seen after performing attach tier | ||
---|---|---|---|
Product: | [Retired] nfs-ganesha | Reporter: | krishnaram Karthick <kramdoss> |
Component: | Protocols-NFS4 | Assignee: | Frank Filz <ffilz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | devel | CC: | bugs, kkeithle, pasik, skoduri |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-24 11:53:43 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: |
Description
krishnaram Karthick
2016-09-06 08:43:43 UTC
All 3.8.x bugs are now reported against version 3.8 (without .x). For more information, see http://www.gluster.org/pipermail/gluster-devel/2016-September/050859.html The issue is not related to tier volume. Even with normal volume it can be easily reproducible (it can be reproduced with FSAL_VFS as well) # mount -t nfs jiffin17:/dis2 /mnt/nfs/2/ # du -h /mnt/nfs/2/ du: WARNING: Circular directory structure. This almost certainly means that you have a corrupted file system. NOTIFY YOUR SYSTEM MANAGER. The following directory is part of the cycle: ‘/mnt/nfs/2/.trashcan’ du: WARNING: Circular directory structure. This almost certainly means that you have a corrupted file system. NOTIFY YOUR SYSTEM MANAGER. The following directory is part of the cycle: ‘/mnt/nfs/2/dir’ 4.0K /mnt/nfs/2/ # ls /mnt/nfs/2/dir/ # ls /mnt/nfs/2/.trashcan/internal_op/ # du -h /mnt/nfs/2/ 4.0K /mnt/nfs/2/.trashcan/internal_op 8.0K /mnt/nfs/2/.trashcan 4.0K /mnt/nfs/2/dir 16K /mnt/nfs/2/ #du -s /mnt/nfs/2/ 16 /mnt/nfs/2/ #du -sh /mnt/nfs/2/ 16K /mnt/nfs/2/ As mentioned above if you perform lookup on all the child directories before the readdirp(du -sh), it works fine I forgot to add in my previous comment, the issue is not present on v3 The patch posted upstream up for review https://review.gerrithub.io/#/c/294597/2 |