Eu tenho um servidor sem cabeçalho executando o Ubuntu Server 14.04 LTS com todas as atualizações mais recentes. Está compartilhando um número de pastas usando o NFS.
Conteúdo do arquivo / etc / exports de maio:
# add folders we want to share through NFS
/mnt/raiddisk/john (rw)
/mnt/raiddisk/vm (rw)
/mnt/raiddisk (rw)
/mnt/raiddisk/filecopy (rw)
/mnt/raiddisk/movies (rw)
/mnt/raiddisk/jane (rw)
/mnt/raiddisk/svn (rw)
/home/vboxuser2 (rw)
/var/www/server.johndoe.home/public_html (rw)
/home/john (rw)
As máquinas do meu cliente (2) estão executando o Ubuntu Desktop 14.04 LTS com as últimas atualizações. E ambos de repente não conseguem montar as pastas compartilhadas NFS na inicialização.
Aqui estão apenas os conteúdos relevantes do meu arquivo / etc / fstab:
# mount the NFS folders from the server
192.168.1.20:/mnt/raiddisk/john /mnt/john nfs auto,defaults 0 0
192.168.1.20:/mnt/raiddisk/vm /mnt/vm nfs auto,defaults 0 0
192.168.1.20:/home/vboxuser2 /mnt/vboxuser2 nfs auto,defaults 0 0
192.168.1.20:/mnt/raiddisk /mnt/raiddisk nfs auto,defaults 0 0
192.168.1.20:/var/www/server.johndoe.home/public_html /mnt/server-www nfs auto,defaults 0 0
192.168.1.20:/home/john /mnt/johnhome nfs auto,defaults 0 0
Até alguns dias atrás, esta configuração estava funcionando perfeitamente bem. Na minha máquina cliente, as pastas estavam sendo montadas na inicialização.
Agora, no entanto (suponho que desde uma atualização recente) as pastas não estão montadas quando eu inicializo a máquina.
Eles só serão montados depois que eu executar manualmente o seguinte no terminal:
sudo mount -a
Aqui está a saída do sudo mount -a -v:
mount.nfs: timeout set for Sun Aug 16 23:40:00 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: timeout set for Sun Aug 16 23:40:00 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: timeout set for Sun Aug 16 23:40:00 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: timeout set for Sun Aug 16 23:40:00 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: timeout set for Sun Aug 16 23:40:00 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.1.20'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot UDP port 36461
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.1.20 prog 100005 vers 3 prot TCP port 42598
mount.nfs: portmap query failed: RPC: Remote system error - Connection timed out
mount.nfs: Connection timed out
mount.nfs: timeout set for Sun Aug 16 23:42:11 2015
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.20,clientaddr=192.168.1.7'
Na máquina cliente, quando eu procuro / var / log para qualquer linha relacionada a NFS eu tenho a seguinte saída (selecionei apenas as entradas mais recentes):
/var/log/syslog:Aug 16 13:23:34 ubuntu kernel: [ 15.128595] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog:Aug 16 13:23:34 ubuntu rpc.idmapd[875]: main: open(/run/rpc_pipefs/nfs): No such file or directory
/var/log/syslog:Aug 16 21:44:48 ubuntu kernel: [30119.650872] nfs: server 192.168.1.20 not responding, timed out
/var/log/syslog:Aug 16 21:48:00 ubuntu kernel: [30312.356845] nfs: server 192.168.1.20 not responding, timed out
/var/log/syslog:Aug 16 22:55:50 ubuntu kernel: [ 15.444005] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.1:Aug 16 13:04:35 ubuntu kernel: [ 15.876127] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.2.gz:Aug 15 14:00:52 ubuntu kernel: [ 17.467940] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.3.gz:Aug 14 22:12:45 ubuntu kernel: [ 14.015935] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.3.gz:Aug 14 22:12:45 ubuntu rpc.idmapd[898]: main: open(/run/rpc_pipefs/nfs): No such file or directory
/var/log/syslog.4.gz:Aug 12 22:49:49 ubuntu kernel: [ 12.920639] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.4.gz:Aug 12 22:49:49 ubuntu rpc.idmapd[910]: main: open(/run/rpc_pipefs/nfs): No such file or directory
/var/log/syslog.5.gz:Aug 11 21:33:11 ubuntu kernel: [ 14.363706] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.6.gz:Aug 10 21:29:28 ubuntu kernel: [ 12.760663] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.6.gz:Aug 10 21:29:29 ubuntu rpc.idmapd[890]: main: open(/run/rpc_pipefs/nfs): No such file or directory
/var/log/syslog.7.gz:Aug 6 20:58:35 ubuntu kernel: [ 15.475703] FS-Cache: Netfs 'nfs' registered for caching
/var/log/syslog.7.gz:Aug 7 07:37:22 ubuntu kernel: [ 12.183087] FS-Cache: Netfs 'nfs' registered for caching
/var/log/udev:KERNEL[15.324744] add /module/nfs (module)
/var/log/udev:DEVPATH=/module/nfs
/var/log/udev:UDEV [15.325094] add /module/nfs (module)
/var/log/udev:DEVPATH=/module/nfs
Não tenho certeza do que preciso verificar para identificar o problema. Eu verifiquei permissões de usuários e permissões de arquivos, nada mudou.
Estou assumindo que houve alguma atualização relacionada ao NFS que fez com que minha configuração fosse incompatível de alguma forma?