我正在运行VMWare ESXi 5.1作为主机。
在该主机中,我运行了多个虚拟机:
我还有一个HTPC,它使用来自NiY的TFTP引导xbmcbuntu iso,并为写入时的副本安装额外的NFS共享。
下载服务器从NiY安装NFS共享
我的问题是,由于我将downloadserver从Ubuntu 12升级到Ubuntu 14,它无法再从NiY挂载NFS共享。 HTPC仍然可以挂载所有NFS共享。
到目前为止我尝试过:
最后一行不断出现在日志中
的/ etc /出口:
#XBMC Frodo 12.2 XBMCBUNTU
/export/XBMC/xbmcbuntu-12.2.Intel-NVIDIA *(ro,nohide,async,mp,no_root_squash,insecure,no_subtree_check)
/export/nfsroot/xbmcbuntu-12.2.Intel-NVIDIA/{MAC ADDRESS HTPC} {IP HTPC}(rw,nohide,async,no_root_squash,insecure,no_subtree_check)
#XBMC Gotham 13.0 XBMCBUNTU
/export/XBMC/xbmcbuntu-13.0~gotham_amd64 * (ro,nohide,async,mp,no_root_squash,insecure,no_subtree_check)
/export/nfsroot/xbmcbuntu-13.0~gotham_amd64/{MAC ADDRESS HTPC} {IP HTPC (rw,nohide,async,no_root_squash,insecure,no_subtree_check)
#Media share
/mnt/data/media *(rw,nohide,sync,no_root_squash,no_subtree_check)
我尝试使用详细日志记录并运行Wireshark来检查是否有任何内容发送到NiY(通过主机名或IP地址):
root@downloadstation:~# mount -vvv -t nfs niy:/mnt/data/media /mnt/Download/
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "niy:/mnt/data/media"
mount: node: "/mnt/Download/"
mount: types: "nfs"
mount: opts: "(null)"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "niy:/mnt/data/media"
mount: external mount: argv[2] = "/mnt/Download/"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw"
mount.nfs: timeout set for Wed Jan 28 01:30:59 2015
mount.nfs: trying text-based options 'vers=4,addr={IP NiY},clientaddr={IP downloadstation}'
直到按[CTRL] + [C]
,它才会挂起这是使用之前的mount命令在NiY上运行的Wireshark的输出(仅显示来自和下载站的流量)
No. Time Source Destination Protocol Info
514 3.258878 IP downloadstation IP NiY NFS V4 COMP Call <EMPTY> PUTROOTFH PUTROOTFH;GETFH GETFH;GETATTR GETATTR
515 3.258898 IP NiY IP downloadstation TCP nfs > 859 [ACK] Seq=1 Ack=121 Win=46 Len=0 TSV=314460502 TSER=78612280
1135 35.288077 IP downloadstation IP NiY SMB Echo Request
1136 35.288140 IP NiY IP downloadstation SMB Echo Response
1137 35.288223 IP downloadstation IP NiY TCP 37709 > microsoft-ds [ACK] Seq=43 Ack=43 Win=2296 Len=0 TSV=78620288 TSER=314492532
1681 63.319756 IP downloadstation IP NiY TCP [TCP Keep-Alive] 859 > nfs [ACK] Seq=120 Ack=1 Win=229 Len=0 TSV=78627296 TSER=314460502
1682 63.319769 IP NiY IP downloadstation TCP [TCP Keep-Alive ACK] nfs > 859 [ACK] Seq=1 Ack=121 Win=46 Len=0 TSV=314520564 TSER=78612280
1683 63.319790 IP downloadstation IP NiY TCP 859 > nfs [FIN, ACK] Seq=121 Ack=1 Win=229 Len=0 TSV=78627296 TSER=314460502
1684 63.358905 IP NiY IP downloadstation TCP nfs > 859 [ACK] Seq=1 Ack=122 Win=46 Len=0 TSV=314520604 TSER=78627296
1944 78.359607 IP downloadstation IP NiY TCP 859 > nfs [RST, ACK] Seq=122 Ack=1 Win=229 Len=0 TSV=78631056 TSER=314520604
1945 78.359639 IP downloadstation IP NiY TCP [TCP Port numbers reused] 859 > nfs [SYN] Seq=0 Win=29200 Len=0 MSS=1460 TSV=78631056 TSER=0 WS=7
1946 78.359654 IP NiY IP downloadstation TCP nfs > 859 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=314535605 TSER=78631056 WS=7
1947 78.359715 IP downloadstation IP NiY TCP 859 > nfs [ACK] Seq=1 Ack=1 Win=29312 Len=0 TSV=78631056 TSER=314535605
1948 78.359737 IP downloadstation IP NiY NFS V4 COMP Call <EMPTY> PUTROOTFH PUTROOTFH;GETFH GETFH;GETATTR GETATTR
1949 78.359743 IP NiY IP downloadstation TCP nfs > 859 [ACK] Seq=1 Ack=121 Win=5888 Len=0 TSV=314535605 TSER=78631056
1950 78.359760 IP downloadstation IP NiY NFS V4 COMP Call <EMPTY> PUTROOTFH PUTROOTFH;GETFH GETFH;GETATTR GETATTR
1951 78.359763 IP NiY IP downloadstation TCP nfs > 859 [ACK] Seq=1 Ack=241 Win=5888 Len=0 TSV=314535605 TSER=78631056
5308 95.447441 IP downloadstation IP NiY SMB Echo Request
5309 95.447488 IP NiY IP downloadstation SMB Echo Response
5310 95.447545 IP downloadstation IP NiY TCP 37709 > microsoft-ds [ACK] Seq=85 Ack=85 Win=2296 Len=0 TSV=78635328 TSER=314552692
13721 138.455024 IP downloadstation IP NiY TCP [TCP Keep-Alive] 859 > nfs [ACK] Seq=240 Ack=1 Win=29312 Len=0 TSV=78646080 TSER=314535605
13722 138.455045 IP NiY IP downloadstation TCP [TCP Keep-Alive ACK] nfs > 859 [ACK] Seq=1 Ack=241 Win=5888 Len=0 TSV=314595700 TSER=78631056
16183 155.606860 IP downloadstation IP NiY SMB Echo Request
16184 155.606928 IP NiY IP downloadstation SMB Echo Response
16185 155.607035 IP downloadstation IP NiY TCP 37709 > microsoft-ds [ACK] Seq=127 Ack=127 Win=2296 Len=0 TSV=78650368 TSER=314612853
答案 0 :(得分:0)
我已经弄明白了。通过强制版本3,我可以再次安装。我会一直在寻找它为什么不能使用第4版,但现在我很高兴。