Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Setting up NFS

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Setting up NFS

#1 Post by pawRoot »

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 ?

tynman
Posts: 132
Joined: 2016-05-03 19:48
Location: British Columbia, Canada
Been thanked: 2 times

Re: Setting up NFS

#2 Post by tynman »

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.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Setting up NFS

#3 Post by debiman »

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...

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: Setting up NFS

#4 Post by milomak »

should it not be a systemctl function?

enabled when installed as well?

while taking into account this is raspbian and not debian
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Setting up NFS

#5 Post by bw123 »

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?
resigned by AI ChatGPT

tynman
Posts: 132
Joined: 2016-05-03 19:48
Location: British Columbia, Canada
Been thanked: 2 times

Re: Setting up NFS

#6 Post by tynman »

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?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Setting up NFS

#7 Post by bw123 »

resigned by AI ChatGPT

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Setting up NFS

#8 Post by pawRoot »

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.

Post Reply