Hello Doug,
Concerning the knfsd export of a tmpfs file system like /dev/shm, the
problem seems to be not limited to FSAL_PROXY. Knfsd seems to be not
fully compatible with the export of /dev/shm (see for example section
C.6 in NFS FAQ at http://nfs.sourceforge.net/ )
Exporting /dev/shm as the pseudo root file system with export option
"fsid=0" and client asking for root path "/" doesn't sound like a
reliable solution.
Regards,
Patrice LUCAS
On 09/08/17 15:34, Doug Ortega wrote:
I'm trying to export /dev/shm from a NFS v4.x server to FSAL_PROXY.
Server is running Centos 7.3. To share /dev/shm, 'fsid=x' is required
in /etc/exportfs. Can mount from a 4.0 Linux client with the command:
mount -v -t nfs -o vers=4.0 <ipaddr>:/ /mnt/test
without issue. However, using FSAL_PROXY cannot access share with either:
Path="/" (in which case the system crashes, pxy_lookup_path()
returns success error code but doesn't create handle)
Path="/dev/shm" (in which case get no such file or directory)
Have repeated problem with other server mount points structured the
same way (i.e., with fsid = x in exports). Problem replicated in
2.5.0 and also in latest 2.6. How can I connect to this share?
Server /etc/exports: (<ip_addr>):
/dev/shm *(fsid=1,rw,async,no_subtree_check,no_root_squash)
ganesha.conf:
NFSV4
{
DomainName="localdomain";
}
EXPORT
{
Export_Id = 77;
CLIENT {
clients = *;
Access_Type = RW;
}
Path = "/dev/shm";
# Path = "/";
Pseudo = "/proxy/dell/home_dell";
SecType = "sys";
Disable_ACL = TRUE;
FSAL {
Name = PROXY;
}
}
PROXY
{
Remote_Server
{
Srv_Addr=<ip_addr>;
Use_Privileged_Client_Port = TRUE;
}
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
--
Patrice LUCAS
Ingenieur-Chercheur, CEA-DAM/DSSI/SISR/LA2S
tel : +33 (0)1 69 26 47 86
e-mail : patrice.lu...@cea.fr
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel