Rook NFSserver: Mount on Window

255 views
Skip to first unread message

efter...@gmail.com

unread,
Apr 28, 2020, 11:25:39 PM4/28/20
to rook-dev

hi 

I did follow the instruction as this link https://rook.io/docs/rook/master/nfs.html#rook-ceph-volume-example to create and initialize a NFS Server

It managed to export it as nfs folder. I am able to mount the nfs share folder on any linux based OS.

Unfortunately i not able to mount/search the nfs folder on Window based OS. i did everything on Window as this https://graspingtech.com/mount-nfs-share-windows-10/.

when i ping the ipaddresss, it did respond back to me. 

Did anyone facing this issue before?

regards

Alexander Trost

unread,
Apr 29, 2020, 8:14:21 PM4/29/20
to efter...@gmail.com, rook-dev
What IP address are you using? If it is the Pod IP and you are getting a ping that mostly likely just means that the IP is used outside of the Kubernetes cluster by another device.

Unless you are in the software defined network as the Kubernetes cluster you are not able to connect to the actual Pod.
You would need to look into `hostNetwork: true` and / or exposing the NFS Server Service through a NodePort or LoadBalancer Service to connect to it from outside the Kubernetes cluster (network).

Kind regards
Alexander Trost

--
You received this message because you are subscribed to the Google Groups "rook-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rook-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rook-dev/29a15045-d02d-414a-a6e2-6d963cd6ec13%40googlegroups.com.
Message has been deleted

efter...@gmail.com

unread,
Apr 30, 2020, 2:36:29 AM4/30/20
to rook-dev

Hi Alexander 

 

First at all, i pretty much thanks for your reply.

 

Ops, i forgot to mention upthere, i did exposed the NFS server server through a Loadbalancer Service to connect it from outside the Kubernetes clutser(network).

 

123.jpg

 

 

As i said earlier, i can mounted the nfs server on any LINUX based node which are outside from the Kubernetes cluster, but no on Window based node.

 

when i try to mount/mapping the nfs server on window, it show error as below picture:

 

456.jpg




or anything i miss ?

 

regards

Efter Low Kian Tiek

 




On Thursday, April 30, 2020 at 8:14:21 AM UTC+8, Alexander Trost wrote:
What IP address are you using? If it is the Pod IP and you are getting a ping that mostly likely just means that the IP is used outside of the Kubernetes cluster by another device.

Unless you are in the software defined network as the Kubernetes cluster you are not able to connect to the actual Pod.
You would need to look into `hostNetwork: true` and / or exposing the NFS Server Service through a NodePort or LoadBalancer Service to connect to it from outside the Kubernetes cluster (network).

Kind regards
Alexander Trost

On Wed, Apr 29, 2020 at 5:25 AM <efter...@gmail.com> wrote:

hi 

I did follow the instruction as this link https://rook.io/docs/rook/master/nfs.html#rook-ceph-volume-example to create and initialize a NFS Server

It managed to export it as nfs folder. I am able to mount the nfs share folder on any linux based OS.

Unfortunately i not able to mount/search the nfs folder on Window based OS. i did everything on Window as this https://graspingtech.com/mount-nfs-share-windows-10/.

when i ping the ipaddresss, it did respond back to me. 

Did anyone facing this issue before?

regards

--
You received this message because you are subscribed to the Google Groups "rook-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rook...@googlegroups.com.

Alexander Trost

unread,
May 3, 2020, 5:01:10 PM5/3/20
to efter...@gmail.com, rook-dev
Have you checked on Windows site that "Windows NFS client is unable to use 'higher port numbers'"?

So it might be possible to set a policy / option in Windows to allow "higher port numbers", not sure though if that will fix it for you.

Kind regards
Alexander Trost

To unsubscribe from this group and stop receiving emails from it, send an email to rook-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rook-dev/48f16231-b6c5-4936-a9a0-54b6d3544f46%40googlegroups.com.

efter...@gmail.com

unread,
May 5, 2020, 2:18:16 AM5/5/20
to rook-dev
Hi Alexander 

Thanks for you advice/suggest. 

i tried it, but no luck,still not able to mount it on Windows side. 


below are the yml which how i initial the nfsserver:

PVC.JPG



NFS server.JPG



anything else i can try or test?

regards
Efter Low Kian Tiek

Alexander Trost

unread,
May 15, 2020, 7:17:27 PM5/15/20
to efter...@gmail.com, rook-dev
I don't have other ideas. Maybe there is a Ceph / Ganesha issue open / documentation page that goes into Windows support more.
Ganesha docs seem to be located here: https://github.com/nfs-ganesha/nfs-ganesha/wiki

Kind regards
Alexander Trost

To unsubscribe from this group and stop receiving emails from it, send an email to rook-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rook-dev/c36fe618-3587-4f24-a84d-17830525528c%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages