[LU-4057] sub-directory NFS reexport issue Created: 03/Oct/13 Updated: 20/Nov/13 Resolved: 20/Nov/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | Dmitry Eremin (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL 6.4, Lustre master |
||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 10874 | ||||||||||||
| Description |
|
If on server reexport sub-directory instead of root it not visible through NFS. There is no error during mount from both side NFS and Lustre but mount point is not valid. cd /net/l201u2/mnt/lustre && ls export d????????? ? ? ? ? ? export stat /net/l201u2/mnt/lustre/export stat: cannot stat `/net/l201u2/mnt/lustre/export': Stale file handle |
| Comments |
| Comment by John Hammond [ 04/Oct/13 ] |
|
I can't get past the cd. Did you use no_subtree_check in /etc/exports? Can you post the /etc/exports and mount options you used? |
| Comment by Dmitry Eremin (Inactive) [ 05/Oct/13 ] |
|
On Lustre node I launch llmount.sh and then service nfs start. # mount l201u2@tcp:/lustre on /mnt/lustre type lustre (rw,user_xattr,flock) # cat /etc/exports /mnt/lustre/export 192.168.1.0/24(rw,no_root_squash,no_all_squash) |
| Comment by Dmitry Eremin (Inactive) [ 05/Oct/13 ] |
|
On NFS node: # mount l201u2:/mnt/lustre/export on /net/l201u2/mnt/lustre/export type nfs (rw,nosuid,nodev,intr,sloppy,vers=4,addr=192.168.1.2,clientaddr=192.168.1.1) # ls -la /net/l201u2/mnt/lustre ls: cannot access /net/l201u2/mnt/lustre/export: Stale file handle total 0 dr-xr-xr-x 3 root root 0 Oct 5 16:02 . dr-xr-xr-x 3 root root 0 Oct 5 16:02 .. d????????? ? ? ? ? ? export |
| Comment by Dmitry Eremin (Inactive) [ 05/Oct/13 ] |
|
The no_subtree_check option don't change behavior. # cat /etc/exports /mnt/lustre/export 192.168.1.0/24(rw,no_root_squash,no_all_squash,no_subtree_check) |
| Comment by Dmitry Eremin (Inactive) [ 20/Nov/13 ] |
|
The root cause is described in |