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

Reply via email to