Skip to content

Instantly share code, notes, and snippets.

@alissonperez
Last active August 29, 2015 14:16
Show Gist options
  • Save alissonperez/9b5cf09f7dc64af328be to your computer and use it in GitHub Desktop.
Save alissonperez/9b5cf09f7dc64af328be to your computer and use it in GitHub Desktop.

No /etc/fstab, mudar a versão de 3 para 4:

# Note o parâmetro 'vers=4' no fim da linha
99.99.99.99:/path/para/o/ambiente/99 /montagem/local/99 nfs rw,rsize=32768,wsize=32768,timeo=14,intr,sync,vers=4

No /etc/idmapd.conf, incluir a linha Domain = corp.folha.com.br abaixo da linha # Domain = localdomain, ficando assim:

Pipefs-Directory = /run/rpc_pipefs                                                                                        
# set your own domain here, if id differs from FQDN minus hostname                                                        
# Domain = localdomain                                                                                                    
Domain = corp.folha.com.br   # <<<<------------------- ESTA LINHA

Reinicie o serviço idmapd:

$ sudo service idmapd restart

Remonte o diretório do ambiente.

Enjoy =)

@rthiago
Copy link

rthiago commented Mar 5, 2015

Exemplo da linha do fstab com versão 4:

orinoco.corp.folha.com.br:/local/dev_desenvolvedores/05       /mnt/dev   nfs     rsize=8192,wsize=8192,timeo=14,intr,proto=tcp,sync,vers=4 1 1

@caiotava
Copy link

caiotava commented Mar 5, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment