[prev in list] [next in list] [prev in thread] [next in thread]
List: ceph-users
Subject: [ceph-users] ceph nfs-ganesha - Unable to mount Ceph cluster
From: Wyll Ingersoll <wyllys.ingersoll () keepertech ! com>
Date: 2022-06-29 16:23:06
Message-ID: DS7PR19MB59024DC347D929A0E940FF4DE2BB9 () DS7PR19MB5902 ! namprd19 ! prod ! outlook ! com
[Download RAW message or body]
[ceph pacific 16.2.9]
When creating a NFS export using "ceph nfs export apply ... -i export.json" for a \
subdirectory of /cephfs, does the subdir that you wish to export need to be \
pre-created or will ceph (or ganesha) create it for you?
I'm trying to create an "/shared" directory in a cephfs tree and export it using a \
JSON spec file, but the nfs-ganesha log file shows errors because it cannot mount or \
create the desired directory in cephfs. If I manually create the directory prior to \
applying the export spec, it does work. But it seems that ganesha is trying to \
create it for me so I'm wondering how to make that work.
29/06/2022 16:14:54 : epoch 62bc67c3 : foobar : ganesha.nfsd-6[sigmgr] create_export \
:FSAL :CRIT :Unable to mount Ceph cluster for /shared.
29/06/2022 16:14:54 : epoch 62bc67c3 : foobar : ganesha.nfsd-6[sigmgr] \
mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying \
FSAL Ceph
29/06/2022 16:14:54 : epoch 62bc67c3 : foobar : ganesha.nfsd-6[sigmgr] \
fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/shared) to (/shared)
The JSON spec used looks like:
{
"export_id": 2,
"transports": [ "TCP" ],
"cluster_id": "ceph",
"path": "/shared",
"pseudo": "/shared",
"protocols": [4],
"access_type": "RW",
"squash": "no_root_squash",
"fsal": {
"name": "CEPH",
"user_id": "nfs.ceph.2",
"fs_name": "cephfs"
}
}
thanks,
Wyllys Ingersoll
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic