I/o Error 17 On File /var/tmp
Whilst attemping to install the Dell ESXi Agent and upgrade the ESXi revision on a new VMware host, I hit the following issue. Dell Agent - Error encountered:
Description - I/O Error (17) on file /var/tmp: [Errno 17] File exists: '/var/tmp'
Message - Unable to create, write or read a file as expected.I/O Error (17) on file /var/tmp: [Errno 17]
File exists: '/var/tmp' ESXi upgrade with Update Manager - The host returns esxupdate error codes: 10. Check the Update Manager log files and esxupdate log files for more details Turns out the is a known issue with the scratch partition in ESXi 4.1 U1 when it is installed non-persitent storage, i.e. USB or SD card. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1037190 This issue is fixed in the latest firmware release for ESXi 4.1 U1 (381591), but obviously you need to be able to patch the system up to that level first. There are a couple of workaruonds mentioned in the article, but one not mentioned is that if you reboot the host the issue will go away temporarily, so allowing enough time for you to patch it up to the revision with the fix. Luckily, on my way to work on the morning I had the issue, I had already heard it discussed on the Hands on Virtualization Podcast with Barry Coombs and Jonathan Franconi so was well prepared for the problem. Post navigation ← Upgrade ESXi from 4.0 to 4.1 with PowerCLI, including Dell ESXi Agent Upgrade SAP Single Sign On Issues with Windows Server 2008 R2 Domain Controllers → 3 thoughts on “Issue Patching ESXi 4.1 U1 installed on USB / SD Media” cauchie says: June 8, 2011 at 1:54 pm After doing some troubleshooting I found out the problem. The ESXi servers where missing the /tmp/scratch/var/tmp directory. Login to the ESXi server and execute mkdir -p /tmp/scratch/var/tmp and the error will disappear . Boon Hong says: August 15, 2011 at 7:02 am Cauchie solution of creating /tmp/scratch/var/tmp folder resolve the problem for me! 🙂 Matt says: April 7, 2012 at 7:42 pm mkdir -p /tmp/scratch/var/tmp was the fix for my host as well. Thank you! Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website you MUST enable javascript to be able to comment Follow me on: VMware vSphere PowerCLI Reference: Automating vSphere AdministrationBUY IT NOW: Amazon USA Amazon UK Wiley Subscribe in iTunes to the Get-Scripting Podcast PowerShell 2.0 - One Cmdlet at a TimeAD Po
error. Everytime I tried to scan the host or apply an update I received this errors:C:\Program Files http://www.jonathanmedd.net/2011/06/issue-patching-esxi-4-1-u1-installed-on-usb-sd-media.html (x86)\VMware\VMware vSphere CLI\bin>vihostupdate.pl –server 192.168.190.94 –username root –password password –scan –bundle d:\offline-bundle\driver-offline_bundle.zipError encountered: Description – I/O Error (17) on file /var/tmp: [Errno 17] http://www.nedersoft.nl/index.php/tips-trucks/257-esxi/176-vihostupdatepl-io-error-17 File exists: ‘/var/tmp’ Message – Unable to create, write or read a file as expected.I/O Error (17) on file /var/tmp: [Errno 17] File exists: ‘/var/tmp’After doing some troubleshooting I found out the problem. The ESXi servers where missing the /tmp/scratch/var/tmp directory. Login to the ESXi server and execute mkdir -p /tmp/scratch/var/tmp and the error will disappear .Hope this helps someone. bron < Vorige Volgende >
3 replies Latest Post - 2015-01-17T23:22:36Z by drashan_433 Display:ConversationsBy Date 1-4 of 4 Previous Next SystemAdmin 110000D4XK 6902 Posts https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=164157 Pinned topic USER DATA I/O ERROR 2007-05-30T10:34:11Z | Tags: Answered question This question has been answered. Unanswered question This question has not been answered yet. Hello, I have an single lpar on p570 with 5300-05-06. Today i noticed lots of messages in the errpt log that keep on comming every single i/o error minute: LABEL: J2_USERDATA_EIO IDENTIFIER: EA88F829 Date/Time: Wed May 30 13:25:13 2007 Sequence Number: 1868 Machine Id: 00C398DE4C00 Node Id: miranda Class: O Type: INFO Resource Name: SYSJ2 Description USER DATA I/O ERROR Probable Causes ADAPTER HARDWARE OR MICROCODE DISK DRIVE HARDWARE OR MICROCODE SOFTWARE DEVICE DRIVER STORAGE CABLE LOOSE, DEFECTIVE, OR UNTERMINATED i/o error 17 Recommended Actions CHECK CABLES AND THEIR CONNECTIONS INSTALL LATEST ADAPTER AND DRIVE MICROCODE INSTALL LATEST STORAGE DEVICE DRIVERS IF PROBLEM PERSISTS, CONTACT APPROPRIATE SERVICE REPRESENTATIVE Detail Data JFS2 MAJOR/MINOR DEVICE NUMBER 000A 0006 FILE SYSTEM DEVICE AND MOUNT POINT /dev/hd9var, /var The OS is working normaly haven't crashed or anything it's just those messages, nothing in the config of the lpar or the OS have been changed in the last week or so. Only change to that box was an upgrade of the FW to: Platform Firmware level: SF240_299 Firmware Version: IBM,SF240_299 Without shutting down the lpar and activating it again. lsvg rootvg looks OK, no stale PVs or anything. No PTFs or APARs applied to the OS after the SP6 of TL5. Anyone has any idea what this could be? Searched google without much luck. Thanks in advance. Log in to reply. Updated on 2009-10-19T14:53:16Z at 2009-10-19T14:53:16Z by KrisB SystemAdmin 110000D4XK 69