[Closed] OSMC Install Fails to NFS Share - RPi 2

Below is an attempt installing to an NFS Share. Using the latest image, always seems to fail in the same place, any ideas?

Thu Jan 1 00:00:07 1970 Starting OSMC installer
Thu Jan 1 00:00:13 1970 Detecting device we are running on
Thu Jan 1 00:00:13 1970 Mounting boot filesystem
Thu Jan 1 00:00:13 1970 Trying to mount to MNT_BOOT (/mnt/boot)
Thu Jan 1 00:00:13 1970 Using device->boot: /dev/mmcblk0p1 and FS: fat32
Thu Jan 1 00:00:13 1970 Preseed file found, will attempt to parse
Thu Jan 1 00:00:13 1970 Found a definition for storage: nfs
Thu Jan 1 00:00:13 1970 NFS installation chosen, must bring up network
Thu Jan 1 00:00:13 1970 Either network preseed definition incomplete, or user wants DHCP
Thu Jan 1 00:00:13 1970 Attempting to bring up eth0
Thu Jan 1 00:00:17 1970 Mounting root
Thu Jan 1 00:00:17 1970 Trying to mount to MNT_ROOT (/mnt/root)
Thu Jan 1 00:00:17 1970 Using device->root: 10.14.16.90:/BroHoeBedPi
Thu Jan 1 00:00:17 1970 Assuming NFS mount.
Thu Jan 1 00:00:17 1970 Extracting files to root filesystem
Thu Jan 1 00:00:17 1970 Starting extract progress...
Thu Jan 1 00:02:06 1970 Halting Install. Error message was: tar: can't create node run/lirc/lircm: Unknown error 524
Thu Jan 1 00:02:06 1970 Halting Install. Error message was: tar: can't create node run/lirc/lircd: Unknown error 524
Thu Jan 1 00:02:06 1970 Extraction of root filesystem completed
Thu Jan 1 00:02:06 1970 Configuring bootloader
Thu Jan 1 00:02:06 1970 Configuring bootloader: moving /boot to appropriate boot partition
Thu Jan 1 00:02:13 1970 Configuring boot cmdline
Thu Jan 1 00:02:13 1970 Configuring /etc/fstab
Thu Jan 1 00:02:13 1970 Successful installation. Dumping log and rebooting system

What’s the NFS export look like on the server?

(I’ll admit I’m using Hanewin on Windows since my Linux VMs are not happy at the moment), but it creates files/folders up to the failed file as per the log.

The export itself is just an export of a folder with no special options. It uses “mapall:0” due to Hanewin’s quirkiness.

Daft question - can I copy a working install from an SD card based install to the NFS share? Would help me isolate if its Hanewin related or not

Hanewin had some issues recently. See Sudden NFS Issues With Previously Working Config - #5 by angry.sardine.

Not trivially – but you likely haven’t customised things a lot. Copy ~/.kodi over?

Sam

Fresh installs I’m working with for my secondary Pi (I’m banned from touching the main Pi since it’s working fine!).

I have 2 SD cards and thought I’d have a go at an NFS based install. I’ll try the inode setting in Hanewin now (UTF-8 was already checked)

Failed while I was writing this…settings for reference:

image
image

I’m not a Hanewin user but I’m sure someone else will be able to chime in.

No worries! I can copy from a Windows client just fine - I wonder what it is taking issue with for those files - is there anything special about them?

What mount options does the installation use for the NFS install?

What are the export settings?
Do you have no_root_squash enabled?

I don’t currently, I did before. I think in Hanewin-land that’s -maproot:0 ?

https://www.hanewin.net/doc/nfs/nfsd.htm

Full export line:

"C:\OSMC\BroHoeBedPi" -maproot:0 -name:BroHoeBedPi 10.14.16.10 10.14.16.23

Well I don’t know about hanewin but looks logic.
You always can crosscheck from your other Pi by running showmount -e <IP>

osmc@BroHoePi:~$ showmount -e 10.14.16.90
Export list for 10.14.16.90:
/BroHoeBedPi 10.14.16.10,10.14.16.23,-maproot:0

tar (or Hanewin) keep falling over for those lirc files…I can’t see anything unique about them

Just a question but, are you just trying to do this because you can? Or do you expect some improvement of some aspect by moving to an NFS install? The issues that previously made NFS installs useful have generally all been resolved for some time. Just trying to save you from expending time that yields few results.

Mainly because I can (I’ve set up the second SD card ready to go), I thought it would be a fun thing to see in action.

The share mounts correctly from my other Pi and Windows (with NFS client support enabled), so I’m not sure what it doesn’t like.

I’ve just kicked an Ubuntu Server VM into serving an NFS export, install now running against that

Fair enough :wink: Good luck

Well, it’s got a lot further…comparing options, I wonder if it’s TCP vs. UDP related (I doubt it since the failure point is the same)

Install finished but now a sad face loop :frowning:

Sad face is normally that Kodi is crashing (or just not starting), so you should be able to ssh in and check the kodi log to see why.

SSH connection failing too, annoyingly enough. Well, it was educational, but I’m going to use the SD card I set up :smiley: