Project

General

Profile

Actions

Feature #21995

closed

ceph-fuse: support nfs export

Added by Zheng Yan over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, ceph-fuse
Labels (FS):
Pull request ID:

Description

set FUSE_EXPORT_SUPPORT flag on fuse connection and make fuse_ll_lookup be able to handle '<dir_ino>/.' (the dir inode can be not in the cache)


Files

ceph_20171101170949.png (24.3 KB) ceph_20171101170949.png Gemini Chen, 11/01/2017 09:19 AM
Actions #1

Updated by Gemini Chen over 6 years ago

[Basic OS]
1.Suse-12-SP1
2.CentOS-7.2 (client)

[Ceph Version]
1.upgrade from 0.94.5 to 10.2.7
2.fresh 10.2.7

[How to Use CephFS]
1.Client using ceph-fuse to mount the cephfs service(it looks like this: ceph-fuse -m <xxx>:6789 <yyy>)
2.Export this CephFS through NFS share.
3.Real Client mount NFS share point as its default workspace.

[Issue]
Now I meet a problem: when mds service do migrate action,client will meet IO issue like :"Stale file handle", IO interrupt .

[Debug]
I found there may some session issue when mds service migrate under HA.

[Solution]
When IO application meet the above issue, then i will do the following steps:
1. Firstly, stop the IO application,
2. Secondly, enter the directory again
3. Then, it will work OK as we expected.

[Question]
1)、I want to know that CephFS session will re-establish while the MDS migrate happened or not.
2)、when i meet this error again in the future , anything method can i using to handle this issue?

Actions #2

Updated by Jos Collin over 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Jos Collin
Actions #3

Updated by Jos Collin about 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Patrick Donnelly about 6 years ago

  • Subject changed from make ceph-fuse support nfs export to ceph-fuse: support nfs export
  • Status changed from Fix Under Review to Resolved
  • Target version set to v13.0.0
  • Source set to Development
  • Component(FS) Client, ceph-fuse added
Actions

Also available in: Atom PDF