Setting up NFS

If none of the more specific forums is the right place to ask

Setting up NFS

Postby pawRoot » 2018-11-14 18:09

Hi

I'm setting a media server on my Raspberry Pi 3 (Raspbian OS, based on Stretch), i follow this guide https://pratz.github.io/raspi-nfs-smb

But when i do
Code: Select all
sudo service nfs restart
i get this

Code: Select all
Failed to restart nfs.service: Unit nfs.service not found.


Any ideas ?
User avatar
pawRoot
 
Posts: 572
Joined: 2016-12-28 18:26
Location: Poland

Re: Setting up NFS

Postby tynman » 2018-11-15 03:53

On my Pi computer, I'm running Debian Jessie. The name of the NFS service is nfs-kernel-server. As far as I know, that hasn't changed for Stretch, so I think it should still be the right service name.
tynman
 
Posts: 85
Joined: 2016-05-03 19:48
Location: British Columbia, Canada

Re: Setting up NFS

Postby debiman » 2018-11-15 18:32

pawRoot wrote:But when i do
Code: Select all
sudo service nfs restart
i get this

shouldn't you be using syustemd comamnds instead, on stretch?
anyhow, this is how i did it a while back: http://dt.iki.fi/nfs
it basically just links to two other web pages...
User avatar
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

Re: Setting up NFS

Postby milomak » 2018-11-15 20:47

should it not be a systemctl function?

enabled when installed as well?

while taking into account this is raspbian and not debian
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Debian Sid, Win10,
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Debian Sid
milomak
 
Posts: 1855
Joined: 2009-06-09 22:20

Re: Setting up NFS

Postby bw123 » 2018-11-15 23:19

It works one way on debian, not sure about based on debian? The different pkg name is a good clue. Why would the OP want to use documentation from the web instead of the distro, raspbian? Why would the OP post about the problem on raspbian here?
User avatar
bw123
 
Posts: 3580
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Setting up NFS

Postby tynman » 2018-11-16 02:41

Raspbian is 99% Debian, with a few extra drivers added to support the few bits of slightly odd hardware (wireless?) on the Raspberry board. Why would anyone seriously think Raspbian wouid be any different from Debian with respect to the NFS packages?
tynman
 
Posts: 85
Joined: 2016-05-03 19:48
Location: British Columbia, Canada

Re: Setting up NFS

Postby bw123 » 2018-11-16 04:01

User avatar
bw123
 
Posts: 3580
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Setting up NFS

Postby pawRoot » 2018-11-19 16:06

tynman wrote:Raspbian is 99% Debian, with a few extra drivers added to support the few bits of slightly odd hardware (wireless?) on the Raspberry board. Why would anyone seriously think Raspbian wouid be any different from Debian with respect to the NFS packages?


This is exactly why i decided to post here.

Also comes out NFS works fine even with the error.
User avatar
pawRoot
 
Posts: 572
Joined: 2016-12-28 18:26
Location: Poland


Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable