我正在尝试使用 NFS 切换 CIFS 协议以挂载分区(很可能是共享的 windows 文件夹,不确定)。我想这样做,因为对于 CIFS,我需要使用即将过期的凭据。/etc/fstab 的内容:
UUID=c89643e8-ac97-11e8-8d9f-00155d004c13 / ext4 defaults 0 0
UUID=c7692878-ac97-11e8-8d9f-00155d004c13 /boot ext4 defaults 0 0
UUID=B02C-6926 /boot/efi vfat defaults 0 0
//10.95.176.67:/DataStore /mnt/DataStore nfs iocharset=utf8,rw,vers=3.0,sec=ntlmssp,cache=strict,domain=BOE,uid=1000,noforceuid,gid=1000,noforcegid,file_mode=0755,dir_mode=0755,nounix,rsize=61440,wsize=65536,actimeo=1 0 0
所以我用 nfs 切换了 cifs,并从 /etc/fstab 中删除了凭据。但我得到这个错误:
$> mount /mnt/DataStore
mount.nfs: Failed to resolve server //10.95.176.67: Name or service not known
使用 CIFS,我能够完美安装。有人知道如何解决这个问题吗?
肿瘤坏死因子。
编辑:
tcpdump host 10.95.176.67
15:04:35.906115 IP is2.695 > netapp01-1.boecillo.eemea.ericsson.se.635: Flags [S], seq 211338160, win 64240, options [mss 1460,sackOK,TS val 1271784599 ecr 0,nop,wscale 7], length 0
15:04:36.932328 IP is2.695 > netapp01-1.boecillo.eemea.ericsson.se.635: Flags [S], seq 211338160, win 64240, options [mss 1460,sackOK,TS val 1271785625 ecr 0,nop,wscale 7], length 0
15:04:38.948352 IP is2.695 > netapp01-1.boecillo.eemea.ericsson.se.635: Flags [S], seq 211338160, win 64240, options [mss 1460,sackOK,TS val 1271787641 ecr 0,nop,wscale 7], length 0
15:04:43.172356 IP is2.695 > netapp01-1.boecillo.eemea.ericsson.se.635: Flags [S], seq 211338160, win 64240, options [mss 1460,sackOK,TS val 1271791865 ecr 0,nop,wscale 7], length 0
15:04:51.364376 IP is2.695 > netapp01-1.boecillo.eemea.ericsson.se.635: Flags [S], seq 211338160, win 64240, options [mss 1460,sackOK,TS val 1271800057 ecr 0,nop,wscale 7], length 0
15:05:07.492394 IP is2.695 > netapp01-1.boecillo.eemea.ericsson.se.635: Flags [S], seq 211338160, win 64240, options [mss 1460,sackOK,TS val 1271816185 ecr 0,nop,wscale 7], length 0