dlandon / unassigned.devices

Unassigned Devices plugin for unRAID
Other
81 stars 39 forks source link

NFSv4 cannot mount synology NFSv4, #72

Closed ceozero closed 2 years ago

ceozero commented 2 years ago

NFSv4 cannot mount synology NFSv4,

synology requires that the client must enable idmapd. How should I enable it?

https://kb.synology.cn/zh-cn/DSM/help/DSM/AdminCenter/file_winmacnfs_nfs?version=6

dlandon commented 2 years ago

Looking into it.

dlandon commented 2 years ago

/etc/sbin/rpc.idmapd

dlandon commented 2 years ago

Sorry /usr/sbin/rpc.idmapd.

Let me knw if that works and I'll change UD to start it.

ceozero commented 2 years ago

/usr/sbin/rpc.idmapd.
It doesn't seem to start.

dlandon commented 2 years ago

Try the following: mkdir -p /var/lib/nfs/rpc_pipefs/nfs /usr/sbin/rpc.idmapd

ceozero commented 2 years ago

Rpc.idmapd started successfully,

But still unable to mount,,

Mount flashed by,,,

dlandon commented 2 years ago

What does the log say about why it won't mount?

ceozero commented 2 years ago

t 1 17:44:23 Unraid-home unassigned.devices: Mounting Remote SMB/NFS Share '192.168.8.168:/volume1/video'... Oct 1 17:44:23 Unraid-home unassigned.devices: Mount NFS command: /sbin/mount -t 'nfs4' -o rw,noacl '192.168.8.168:/volume1/video' '/mnt/remotes/192.168.8.168_video' Oct 1 17:44:23 Unraid-home unassigned.devices: NFS mount failed: 'mount.nfs4: No such device '. Oct 1 17:44:23 Unraid-home unassigned.devices: Mount of '192.168.8.168:/volume1/video' failed: 'mount.nfs4: No such device '.

dlandon commented 2 years ago

You have to use Unraid 6.10.0-rc2e.

ceozero commented 2 years ago

OK 。。。I don't have a 6.10.0-rc2 image...

dlandon commented 2 years ago

Click on the 'Plugins' menu tab, then click 'Install Plugin' and enter the following line into the install plugin line and click the 'Install' button.

'https://s3.amazonaws.com/dnld.lime-technology.com/test/unRAIDServer.plg`

This will install 6.10.0-rc2e.

ceozero commented 2 years ago

I'm sorry. Under 6.10.0-rc2, you can mount without starting rpc.idmapd.. thank you!!