Several issues VMWare Workstation 14 and vsphere esxi 5.5 encounter - on

Recently set up the experimental environment, encountered several problems and resolve to find a moment. The problem is not the solution to solve the most available online, it took some time, so it records retained for their own or others re-read reference.

  1. VMWare Workstation linux virtual machine 14 of the above problems and computers to share files.
    Prior probably know that you can share files between the virtual machine and the computer, but how did not care. When used it encountered several problems. Finally summarized as follows:

5 as follows:
. A Linux virtual machine press and hold the VMware Tools. According to this official, or online tutorials operation can be. If the installation process prompts are not installed gcc, a source configured yum, yum install -y gcc installed with it (I encountered this problem).

    b. 点击虚拟机,右键,设置,选项,共享文件夹中设置需要电脑共享给linux虚拟机的文件夹。
          事情还没有完成,linux中还需要做设置

   c. 在linux虚拟机中输入"vmware-hgfsclient" 查看到电脑主机共享的两个文件夹。

[root@localhost hgfs]# vmware-hgfsclient
Foundation_7.3
DO280-3.5
[root@localhost hgfs]#

    如果虚拟机中创建文件夹,然后让共享文件夹挂载,会有错误提示。
    补充一下hgfs文件夹,VMware软件自动创建在/mnt下的文件夹。

[root@localhost hgfs]# mkdir -p /mnt/hgfs/F7.3
[root@localhost hgfs]# mkdir -p /mnt/hgfs/280
[root@localhost hgfs]#
[root@localhost hgfs]# mount -t vmhgfs .host:/Foundation_7.3 /mnt/hgfs/F7.3
Error: cannot mount filesystem: No such device
[root@localhost hgfs]#

       d. yum安装 open-vm-tools-devel  ,然后再挂载,但不是mount命令, 是用vmhgfs-fuse 。过程命令如下:
             yum intall open-vm-tools-devel    ###安装包
                 vmhgfs-fuse .host:/Foundation_7.3 /mnt/hgfs/F7.3  ##挂载文件夹
                 vmhgfs-fuse .host:/DO280-3.5 /mnt/hgfs/280    ###挂载文件夹

        e. 检查挂载结果。df -h可以看到最后两行说明挂载成功。

[root@localhost hgfs]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 17G 3.8G 14G 23% /
devtmpfs 897M 0 897M 0% /dev
/dev/sda1 1014M 178M 837M 18% /boot
vmhgfs-fuse 291G 164G 128G 57% /mnt/hgfs/F7.3
vmhgfs-fuse 291G 164G 128G 57% /mnt/hgfs/280
[root@localhost hgfs]#

  1. VMWare workstation 14 image file import vm vsphere esxi 5.5
    I copy to a linux mirror, requires hardware configuration is relatively high, not your computer resources, can only be uploaded to the esxi server, assign a good virtual machine resources.
    How to upload to the server exsi understand me before:? In accordance with the hardware requirements, allocate enough CPU, memory, hard disk on esxi server. Then the workstation to do the mirror copy on the server's hard disk allocation, should be able to boot up and running. But in fact not. Because the two software recognize the format is not the same.
    Method One: uploaded to the server.
    Click on the workstation virtual machine, right, manage, change the virtual machine hardware compatibility, instead esxi 5.5 compatible version
    click on the workstation virtual machine, right, manage, upload, workstation virtual machine images can be uploaded to the esxi.
    From the log upload process point of view, in fact, is the file format from the VMX (vmdk) changed the OVF format.
    Method Two: Export on the workstation for the OVF format, and then import it into ESXi? The only way I guess, did not do so.

Guess you like

Origin blog.51cto.com/jsahz/2423055