NFS PROXY issue
by Alok Sinha
NFS ganesha version : 2.8.3
I can mount the directory:
alok@spillbox:src$ df -k /home/alok/cache_dir
Filesystem 1K-blocks Used Available Use% Mounted
on
10.1.10.103:/home/alok/cache_dir/ 427548672 16504832 389255168 5%
/home/alok/cache_dir
alok@spillbox:src$
ganesha.conf entry:
EXPORT
{
Export_Id = 12345;
Path = "/home/alok/cache_dir";
Pseudo = "/home/alok/cache_dir";
Access_Type = RW;
Squash = no_root_squash;
FSAL {
Name = PROXY;
Srv_Addr = 10.1.10.103;
Use_Privileged_Client_Port = true;
}
}
I get :
06/01/2020 07:34:30 : epoch 5e135386 : spillbox : ganesha.nfsd-9031[main]
init_export_root :EXPORT :
CRIT :Lookup failed on path, ExportId=12345 Path=/home/alok/cache_dir
FSAL_ERROR=(No such file or di
rectory,2)
I am stuck. Any clue?
-alok
4 years, 11 months
Change in ...nfs-ganesha[next]: Fix get_state_obj_export_owner_refs() fail case
by Malahal (GerritHub)
Malahal has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/479215 )
Change subject: Fix get_state_obj_export_owner_refs() fail case
......................................................................
Fix get_state_obj_export_owner_refs() fail case
It should release ref on the object handle. The owner is the last one,
so we should never go to fail label with owner ref. Made an assert now.
Change-Id: Icc66d555bc67f88dd36d715fde6489128741c525
Signed-off-by: Malahal Naineni <malahal(a)us.ibm.com>
---
M src/SAL/nfs4_state.c
1 file changed, 4 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/15/479215/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/479215
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Icc66d555bc67f88dd36d715fde6489128741c525
Gerrit-Change-Number: 479215
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal(a)gmail.com>
Gerrit-MessageType: newchange
4 years, 11 months
Change in ...nfs-ganesha[next]: core: multiple definitions of 'common' data compiling with gcc-10
by Kaleb KEITHLEY (GerritHub)
Kaleb KEITHLEY has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/479148 )
Change subject: core: multiple definitions of 'common' data compiling with gcc-10
......................................................................
core: multiple definitions of 'common' data compiling with gcc-10
Winter is coming. So is gcc-10.
gcc-10 changes the way declared data is defined. Previously it was
defined as common data, now it is BSS. Common data was silently
merged by the linker.
See https://review.gluster.org/#/c/glusterfs/+/23956/ for a specific
example. The variables fixed in this patch are similar.
There are many changes coming in gcc-10 described in
https://gcc.gnu.org/gcc-10/changes.html
See nm(1) and ld(1) for a description C (common) and B (BSS) and how
they are treated by the linker.
Note: there is still a small chance that gcc-10 will land in Fedora-32,
despite 31 Dec. 2019 having been the deadline for that to happen.
Signed-off-by: Kaleb S. KEITHLEY <kkeithle(a)redhat.com>
Change-Id: I212a9c82c4d79012f25b9a4803776ab7a5a8af6d
---
M src/FSAL/commonlib.c
M src/MainNFSD/libganesha_nfsd.ver
M src/config_parsing/conf_yacc.y
M src/dbus/dbus_server.c
M src/include/FSAL/fsal_commonlib.h
M src/include/nfs_init.h
6 files changed, 13 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/479148/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/479148
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I212a9c82c4d79012f25b9a4803776ab7a5a8af6d
Gerrit-Change-Number: 479148
Gerrit-PatchSet: 1
Gerrit-Owner: Kaleb KEITHLEY <kaleb(a)redhat.com>
Gerrit-MessageType: newchange
4 years, 11 months
Change in ...nfs-ganesha[next]: Fix double couting of READ, WRITE ops
by Sachin Punadikar (GerritHub)
Sachin Punadikar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/479127 )
Change subject: Fix double couting of READ, WRITE ops
......................................................................
Fix double couting of READ, WRITE ops
With recent changes, operation counting for READ & WRITE ops is being
done twice. "record_io_stats" takes care of recording operation stats
for READ & WRITE operation. It was again counted in functions
"server_stats_nfs_done", "server_stats_nfsv4_op_done" due to the patch
d0c2913e3c3212fdf49473482a5259e66919c856.
Fixing this issue by recording latency for exports and doing nothing
for clients in functions "server_stats_nfs_done" and
"server_stats_nfsv4_op_done".
Change-Id: I66fc00648777f0ecbb58befe89855808bab21425
Signed-off-by: Sachin Punadikar <psachin(a)in.ibm.com>
(cherry picked from commit b06c56e830c9773e936ef4e27ee0d29c2144a635)
---
M src/support/server_stats.c
1 file changed, 17 insertions(+), 37 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/27/479127/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/479127
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I66fc00648777f0ecbb58befe89855808bab21425
Gerrit-Change-Number: 479127
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <psachin(a)in.ibm.com>
Gerrit-MessageType: newchange
4 years, 12 months