09-23-2022, 02:03 AM
(09-22-2022, 09:01 PM)Tim Curtis Wrote:(09-22-2022, 08:38 PM)didier573 Wrote:(09-22-2022, 08:24 PM)Tim Curtis Wrote: Could be useful. What format is the file system on the attached USB drive?
ExFAT
Looks like exfat format is not supported by NFS
https://forums.raspberrypi.com/viewtopic.php?t=309384
My drives are mostly fat32 (VFAT) which apparently works with NFS. I'm guessing that formats like NTFS etc are not supported by NFS either.
I'll update the help for upcoming 8.2.1
Interesting. To test this I reformatted a USB thumbdrive to exfat and wrote some tracks to it.
Here's a snippet from the moOde 8.2.0 syslog when I started the NFS service with this USB drive mounted.
Code:
Sep 22 20:44:05 m82arm64 systemd[1]: Starting NFS Mount Daemon...
Sep 22 20:44:05 m82arm64 systemd[1]: Condition check resulted in RPC security service for NFS client and server being skipped.
Sep 22 20:44:05 m82arm64 systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
Sep 22 20:44:05 m82arm64 systemd[1]: Started NFSv4 ID-name mapping service.
Sep 22 20:44:05 m82arm64 rpc.mountd[2564751]: Version 1.3.3 starting
Sep 22 20:44:05 m82arm64 systemd[1]: Started NFS Mount Daemon.
Sep 22 20:44:05 m82arm64 systemd[1]: Starting NFS server and services...
Sep 22 20:44:05 m82arm64 exportfs[2564752]: exportfs: /media/B00F-155D does not support NFS export
Sep 22 20:44:05 m82arm64 systemd[1]: nfs-server.service: Control process exited, code=exited, status=1/FAILURE
Sep 22 20:44:05 m82arm64 systemd[1]: nfs-server.service: Failed with result 'exit-code'.
Sep 22 20:44:05 m82arm64 systemd[1]: Stopped NFS server and services.
Sep 22 20:44:05 m82arm64 systemd[1]: Stopping NFSv4 ID-name mapping service...
Sep 22 20:44:05 m82arm64 systemd[1]: Stopping NFS Mount Daemon...
Sep 22 20:44:05 m82arm64 systemd[1]: nfs-idmapd.service: Succeeded.
Sep 22 20:44:05 m82arm64 rpc.mountd[2564751]: Caught signal 15, un-registering and exiting.
Sep 22 20:44:05 m82arm64 systemd[1]: Stopped NFSv4 ID-name mapping service.
Sep 22 20:44:05 m82arm64 systemd[1]: nfs-mountd.service: Succeeded.
Sep 22 20:44:05 m82arm64 systemd[1]: Stopped NFS Mount Daemon.
So service flags the drive as not supporting NFS export. Too bad the service then fails and stops. This accounts for the behavior which was puzzling me.
OTOH. I then reformatted the USB drive as NTFS and wrote some tracks to it.
Here's the relevant syslog snippet this time.
Code:
Sep 22 21:52:30 m82arm64 systemd[1]: Starting NFS Mount Daemon...
Sep 22 21:52:30 m82arm64 systemd[1]: Condition check resulted in RPC security service for NFS client and server being skipped.
Sep 22 21:52:30 m82arm64 systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
Sep 22 21:52:30 m82arm64 systemd[1]: Started NFSv4 ID-name mapping service.
Sep 22 21:52:30 m82arm64 rpc.mountd[2584612]: Version 1.3.3 starting
Sep 22 21:52:30 m82arm64 systemd[1]: Started NFS Mount Daemon.
Sep 22 21:52:30 m82arm64 systemd[1]: Starting NFS server and services...
Sep 22 21:52:31 m82arm64 kernel: [345002.572959] NFSD: Using UMH upcall client tracking operations.
Sep 22 21:52:31 m82arm64 kernel: [345002.572983] NFSD: starting 90-second grace period (net f0000000)
Sep 22 21:52:31 m82arm64 systemd[1]: Finished NFS server and services.
This time the NFS service is running and the USB drive is exported, can be detected in a second player, mounted as a music source, etc.
Regards,
Kent