Hide Forgot
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.
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.
Kris, please re-open if this continues to be a problem with the nordirplus mount option. Thanks.
*** Bug 2125 has been marked as a duplicate of this bug. ***