We also experienced this issue on ESX6.5/ VMFS 6 and Win 1809. Moving back to VMFS 5 datastores fixed the issue. Hopefully VMware will resolve this soon
Re: windows 10 1809 slow
run bash script
In ESXi 6.0 host I created Bash script which I renamed as "test.sh" and I'm not able to run it if I type:
./test.sh
While I type It's ok:
sh test.sh
Is there way to run script as ./test.sh ?!
Re: VShpere | Screen does not FIT
Hi,
enabling the 3D, worked for me.
Thank you.
Re: run bash script
Ricky73,
Keep in mind that the shell of ESXi is not a traditional linux shell, it's a busybox shell. There is no concept of bash, but you still have basic shell (sh) functionality.
ls -l /bin/sh lrwxrwxrwx 1 root root 35 Nov 4 23:26 /bin/sh -> /usr/lib/vmware/busybox/bin/busybox
It is also possible to create and run a script, but you need to specify what shell to be used in the script similar to this:
[root@esx-01:~] cat test.sh #!/bin/sh echo test [root@esx-01:~] chmod +x test.sh [root@esx-01:~] ./test.sh test
Good luck!
Lars
Re: run bash script
I thank you but my file test.sh contents already:
#!/bin/bash
echo test
file permissions are 777
but nothing!
I don't see no bash file in ESXi host, I lookuped "bash" into server but no results.
Re: Fatal error: 33 (Inconsistent data)
I was able to solve this problem by installing another EXSi image. Apparently the one he used at the beginning was damaged or had faults. Thanks to all who answered!
Re: run bash script
There is no bash on ESXi, only sh (but not a real sh, just busybox).
So you need to change your line
#!/bin/bash
to
#!/bin/sh
in order for your script to work.
Lars
Dell T410 Esxi 6.7.0 Update 1 (Build 10302608) datastore timeout
Hi all
im often getting data store timeout error on my esxi server but only with one disk. Ive changed the timeout settings etc and moved slots with a working disk. but same issue.
here is output from my vmkerrnal log
2019-01-17T14:14:25.232Z cpu6:2099236)WARNING: ScsiDeviceIO: 10347: READ CAPACITY on device "naa.690b11c01b61e80023ce5687082d3046" from Plugin "NMP" failed. I/O error
2019-01-17T14:14:25.232Z cpu6:2099236)WARNING: ScsiDeviceIO: 10347: READ CAPACITY on device "naa.690b11c01b61e80023ce5687082d3046" from Plugin "NMP" failed. I/O error
WARNING: ScsiPath: 8038: Plugin 'NMP' had an error (Not found) while claiming path 'vmhba2:C0:T2:L0'. Skipping the path.
2019-01-17T14:24:40.964Z cpu3:2098908 opID=53121747)ScsiClaimrule: 1398: Plugin NMP specified by claimrule 65535 was not able to claim path vmhba2:C0:T2:L0: Busy
2019-01-17T14:24:40.964Z cpu3:2098908 opID=53121747)ScsiClaimrule: 1700: Error claiming path vmhba2:C0:T2:L0. Failure.
any help would be greatly appreciated.
Is the disk failing?
or is this a configuration issue as im unable to remount the disk until i reboot.
Thanks
Re: VMware ESXi 6.5 Installation fails with Error
ESXi hangs on boot
For some reason my ESXi server (6.7) is now hanging at startup .. how do I go about fixing this?
Is there a way I can reinstall/repair it? (without losing my VMs/config)
TIA
ESXi upgrade 6.0 to 6.5
hello,
I just finished upgrade to 6.5 on my machine. I tried to start the vms and they would not start. I kept getting the peer to peer connection error. After researching I found a possible issue might be the unlocker. I found the procedures to perform it. But the esxi.uninstall file is rw only, I am unable to change ownership to root:root , nor can I chmod any of the files to be able to run the script. I’ve tried the chmod command under both the user it was ran under as well as root.
any suggestions to on how to uninstall it so i can run the vms.
Re: ESXi upgrade 6.0 to 6.5
Re: ESXi upgrade 6.0 to 6.5
Re: Host profile non-compliant when checked against reference host!
We have experienced the same issue and traced it to multi-function NICs. These NICs have both a network and iSCSI function and, when the iSCSI functionality is enabled an iSCSI hardware initiator is created.
If you disable this secondary function, the hardware initiator disappears. If you subsequently create a profile from this host, the error about the iSCSI HBA disappears.
For us, this fixed the issue.
Re: VM's lose network connectivity randomly
Hello,
We encountered kind of similar issue this morning.
A Virtual Machine had lost it's network connection.
We could only ping it's own IP address, we didn't try to ping other VM on the same ESX host.
We couldn't ping the Gateway.
We tried to remove the network card, re-create a new one, it didn't solve our issue.
Finally, issue has been solved by connecting the network card to a different port ID on the dvSwitch.
We're opening a case by VMware to understand the root cause of the issue.
Re: ESXi hangs on boot
Can you post a screenshot?
Change Global Syslog Settings ESXi 6.5/6.7
Hi
How do I change the syslog levels for all services everywhere?
Would like to set everything to "Warning"
At the moment I have many messages "Debug" from "RHTTPPROXY" and "Verbose FDM"
Re: Change Global Syslog Settings ESXi 6.5/6.7
Re: Change Global Syslog Settings ESXi 6.5/6.7
Hi
Check if the following VMware KB article helps: Configure Logging Options
Need to upgrade VMWare Esxi hosts from 5.0 to 6.5
Hi,
I need to upgrade VMWare Esxi hosts from 5.0 to 6.5 version.
My Hardware is Cisco UCS B200 M2 Blade Servers and all the blade Servers are in HA in 5.0 Esxi and there are around 50 VMs running on it.
Please guide me step by step process or procedure for doing the above migration with out impacting these 50 VMs.
Looking forward your reply at the earliest.
Regards
Sanjeevi