Bug 763781 - (GLUSTER-2049) files created in the backend are not visible on mount point
files created in the backend are not visible on mount point
Product: GlusterFS
Classification: Community
Component: nfs (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Shehjar Tikoo
: GLUSTER-2125 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2010-11-03 03:42 EDT by Krishna Srinivas
Modified: 2015-12-01 11:45 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: RTP
Mount Type: nfs
Documentation: DNR
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Shehjar Tikoo 2010-11-03 00:57:35 EDT
NFS sets gfids only through the lookup call which means that if a file is seen for the first time throught rdirp request, the file handle will be 0, because a prior lookup wasnt sent on it.

This can happen in situations like:

1. vmstor, which manipulates the backend
2. migration of backend from 3.0 branch.

In 1, because the backends are continuously modified by vmstor's posix, we need to always run with nodirplus mount option at nfs client.

For 2, only to migrate the backend this option is needed. Once the ls -lR to  migrate is complete over the nfs mount,a remount with the readdirp request will work just fine.

Kris will confirm.
Comment 1 Krishna Srinivas 2010-11-03 03:42:55 EDT
files created directly on the backend are not visible on the mount point, this is because nfs issues readdirp which returns entries with blank gfids and hence lookups are never sent to these entries to apply uuids to the entries.
Comment 2 Shehjar Tikoo 2010-11-08 22:22:39 EST
Kris, please re-open if this continues to be a problem with the nordirplus mount option. Thanks.
Comment 3 Shehjar Tikoo 2011-02-21 22:26:49 EST
*** Bug 2125 has been marked as a duplicate of this bug. ***

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