Bug 1191919
| Summary: | Disperse volume: Input/output error when listing files/directories under nfs mount | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Bhaskarakiran <byarlaga> | ||||
| Component: | disperse | Assignee: | Pranith Kumar K <pkarampu> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | mainline | CC: | bugs, byarlaga, gluster-bugs, mzywusko, pkarampu | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | glusterfs-3.7.0 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-05-15 17:09:19 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: | |||||||
| Bug Blocks: | 1186580 | ||||||
| Attachments: |
|
||||||
|
Description
Bhaskarakiran
2015-02-12 09:09:06 UTC
Bhaskar,
I tried doing the following, but not able to recreate the issue. Could you let me know how the directories on the mount are created?
root@pranithk-laptop - /mnt
12:37:58 :( ⚡ glusterd && gluster volume create ec2 disperse 6 redundancy 2 `hostname`:/home/gfs/ec_{0,1,2,3,4,5} force && gluster volume start ec2 volume create: ec2: success: please start the volume to access data
volume start: ec2: success
root@pranithk-laptop - /mnt
12:38:15 :) ⚡ mount -t glusterfs `hostname`:/ec2 /mnt/ec2
root@pranithk-laptop - /mnt
12:38:23 :) ⚡ cd /mnt/ec2
root@pranithk-laptop - /mnt/ec2
12:38:24 :) ⚡ mkdir 1 2 3 4 5
root@pranithk-laptop - /mnt/ec2
12:38:27 :) ⚡ touch a v c d e f
root@pranithk-laptop - /mnt/ec2
12:38:29 :) ⚡ cd
root@pranithk-laptop - ~
12:38:33 :) ⚡ mount -t nfs -o vers=3 `hostname`:/ec2 /mnt/nfs
root@pranithk-laptop - ~
12:38:40 :) ⚡ cd /mnt/nfs
root@pranithk-laptop - /mnt/nfs
12:38:41 :) ⚡
root@pranithk-laptop - /mnt/nfs
12:38:41 :) ⚡ ls -l
total 3
drwxr-xr-x. 2 root root 6 Mar 9 12:38 1
drwxr-xr-x. 2 root root 6 Mar 9 12:38 2
drwxr-xr-x. 2 root root 6 Mar 9 12:38 3
drwxr-xr-x. 2 root root 6 Mar 9 12:38 4
drwxr-xr-x. 2 root root 6 Mar 9 12:38 5
-rw-r--r--. 1 root root 0 Mar 9 12:38 a
-rw-r--r--. 1 root root 0 Mar 9 12:38 c
-rw-r--r--. 1 root root 0 Mar 9 12:38 d
-rw-r--r--. 1 root root 0 Mar 9 12:38 e
-rw-r--r--. 1 root root 0 Mar 9 12:38 f
-rw-r--r--. 1 root root 0 Mar 9 12:38 v
root@pranithk-laptop - /mnt/nfs
12:38:43 :) ⚡
Pranith
Just saw the nfs logs. The errors were happening because of nameless loc. [2015-02-12 09:00:01.267287] E [ec-helpers.c:391:ec_loc_setup_path] 0-testvol-disperse-0: Invalid path '<gfid:41735a87-d89f-4c81-91d9-c59efc640f4d>' in loc This bug is fixed as part of http://review.gluster.com/9717 Verified this on the latest mater and the issue is not seen. This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |