Serviço NFS não ativado '

0

Estou tentando executar o serviço NFS no Ubuntu 16.04, mas quando executo o comando:

Sudo service nfsd status

Recebo a seguinte mensagem:

millionlights@millionlights-desktop:~$ sudo service nfsd status
[sudo] password for millionlights: 
● nfsd.service
Loaded: not-found (Reason: No such file or directory)
 Active: inactive (dead)

Eu executei os comandos abaixo para instalar o servidor e cliente nfs, mas em vão.

sudo apt-get install nfs-kernel-server

Por favor, diga-me como posso fazer o cliente nfs rodar?

    
por Chandrashekhar Patil 18.04.2018 / 13:30

1 resposta

0

O nome do serviço systemd não é nfsd (esse é o nome do daemon processo ):

$ systemctl list-unit-files nfs*
UNIT FILE                 STATE   
nfs-blkmap.service        static  
nfs-config.service        static  
nfs-idmapd.service        static  
nfs-kernel-server.service enabled 
nfs-mountd.service        static  
nfs-server.service        enabled 
nfs-utils.service         static  
nfs-blkmap.target         disabled
nfs-client.target         enabled 

9 unit files listed.

Portanto, o comando para mostrar o status do servidor é

systemctl status nfs-server

ou

systemctl status nfs-kernel-server
    
por steeldriver 18.04.2018 / 13:58