Access to NFS share

Post Reply
IgaBiva
Posts: 41
Joined: Tue May 07, 2019 4:00 pm
languages_spoken: english, deutsch, srpski
ODROIDs: N2
Has thanked: 0
Been thanked: 4 times
Contact:

Access to NFS share

Unread post by IgaBiva » Thu Nov 07, 2019 12:38 am

I have installed latest 64bit Android on my N2 and I plan to test some emulators and KODI on it. All of my roms and movies are on NFS share (Synology NAS).

I would like to ask you is there a way to map my NFS shares to some Android folder in a similar way which works in Linux?

I tried to find solution on my own and I found out that NFS must be enabled in a kernel for this. Is it enabled on N2 version?

What can I do here?

Thank you in advance!

User avatar
tobetter
Posts: 4109
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 46 times
Been thanked: 208 times
Contact:

Re: Access to NFS share

Unread post by tobetter » Thu Nov 07, 2019 12:51 am

I think NFS is not enabled for Android, needs to update the kernel on the next release.

User avatar
mad_ady
Posts: 6782
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 164 times
Contact:

Re: Access to NFS share

Unread post by mad_ady » Thu Nov 07, 2019 1:29 am

If I'm not mistaking, NFS client for android works, at least in kodi you can access nfs shares.

Have you tried mounting from the command line? I fear the greatest problem will be mount namespace isolation (mounted share is visible only in the mounted program).

User avatar
rooted
Posts: 6765
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 211 times
Been thanked: 41 times
Contact:

Re: Access to NFS share

Unread post by rooted » Thu Nov 07, 2019 5:41 am

In my experience it's difficult to use NFS on Android, it works great from Kodi but I've not found a client that works properly.

User avatar
mad_ady
Posts: 6782
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 164 times
Contact:

Re: Access to NFS share

Unread post by mad_ady » Thu Nov 07, 2019 2:48 pm

I am able to mount nfs shares from my phone the regular way (from shell), but I haven't managed to escape mount namespace isolation...

IgaBiva
Posts: 41
Joined: Tue May 07, 2019 4:00 pm
languages_spoken: english, deutsch, srpski
ODROIDs: N2
Has thanked: 0
Been thanked: 4 times
Contact:

Re: Access to NFS share

Unread post by IgaBiva » Thu Nov 07, 2019 4:57 pm

I will try command line option as soon as I complete Gapps activation - has not worked first time.

If nfs is so problematic, can I map smb share? This would be acceptable to me too

User avatar
tobetter
Posts: 4109
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 46 times
Been thanked: 208 times
Contact:

Re: Access to NFS share

Unread post by tobetter » Thu Nov 07, 2019 6:00 pm

IgaBiva wrote:
Thu Nov 07, 2019 4:57 pm
I will try command line option as soon as I complete Gapps activation - has not worked first time.

If nfs is so problematic, can I map smb share? This would be acceptable to me too
SMB works with Kodi or other apps that support it.

User avatar
mad_ady
Posts: 6782
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 164 times
Contact:

Re: Access to NFS share

Unread post by mad_ady » Thu Nov 07, 2019 6:35 pm

The thing is - most android applications that support SMB handle smb mounting themselves. If you want to mount a smb share system-wide and have an application use it is more difficult in modern androids because of security concerns.

IgaBiva
Posts: 41
Joined: Tue May 07, 2019 4:00 pm
languages_spoken: english, deutsch, srpski
ODROIDs: N2
Has thanked: 0
Been thanked: 4 times
Contact:

Re: Access to NFS share

Unread post by IgaBiva » Sun Nov 10, 2019 1:15 am

Kodi works and I have access to my shares without problems

I would like to test some emulators too. However, I can only access local sd card which means that I need to copy roms there and this is annoying because of sd card capacity...

Of course, this is not N2/HardKernel limitation but Android one.

IgaBiva
Posts: 41
Joined: Tue May 07, 2019 4:00 pm
languages_spoken: english, deutsch, srpski
ODROIDs: N2
Has thanked: 0
Been thanked: 4 times
Contact:

Re: Access to NFS share

Unread post by IgaBiva » Mon Nov 11, 2019 9:27 pm

I just gave up on this as it seems that there is no way to do it like it is done in Linux...
Maybe I will try again if kernel support will be implemented like tobetter mentioned.

Btw - Gamecube games on Dolphin on 64bit Android are running pretty fine. I have tested couple of them and although there are few stutters once in a while, all are definitelly playable.

I wander why nobody made YouTube video about this as I believe that this is great plus for N2.
These users thanked the author IgaBiva for the post:
rooted (Tue Nov 12, 2019 3:26 am)

User avatar
odroid
Site Admin
Posts: 32498
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 180 times
Been thanked: 347 times
Contact:

Re: Access to NFS share

Unread post by odroid » Tue Nov 12, 2019 10:12 am

2D style GameCube games worked well. But many 3D style games were lagging from time to time frequently even with the Vulkan GPU acceleration. So we didn't make a video. :(

Can you please make a (short) list of games you tried? a flag of near-perfect / very-playable / barely-playable / not-playable would be great.
Please also share your Dolphin configuration and tweaks.

Too much off-topic. Please make a new topic if you don't mind.

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 3 guests