<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8464481553766855912</id><updated>2011-07-08T09:55:23.318-07:00</updated><category term='datastore'/><category term='vmware-cmd'/><category term='vmx'/><category term='vmware san-boot NetApp'/><category term='vmware'/><title type='text'>Get VIRTical</title><subtitle type='html'>Random notes on NetApp, VMware, VMware on NetApp, and jumping out of planes.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://getvirtical.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://getvirtical.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Peter Learmonth</name><uri>http://www.blogger.com/profile/01349471318069142860</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_hmOH7ldFiSU/SaIZrmnWPeI/AAAAAAAAAAM/4AzTL5YzDig/S220/IMG08.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8464481553766855912.post-8987494727968375968</id><published>2009-11-18T20:35:00.001-08:00</published><updated>2009-11-19T03:34:29.436-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware san-boot NetApp'/><title type='text'>Making cloned boot LUNs boot with ESX4</title><content type='html'>&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;With advanced storage arrays like NetApp FAS and V-Series LUNs can be easily and efficiently cloned.  This is appealing for boot from SAN solutions where many nearly-identical images are needed for farms of SAN-connected servers such as ESX.  While there are solutions such as ESXi or PXE-based installations, boot from SAN is appealing to many VMware users who have a SAN infrastructure.  This has worked well for ESX 3.x, but in vSphere / ESX 4, the solution breaks due to some changes in how the service console (COS) virtual disk (VMDK) is laid out.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4&gt;The Problem&lt;/h4&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;It seems quite a few people have hit a wall in getting ESX 4 to boot from cloned LUNs.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;In spite of a few clever tricks, people keep coming to this:&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" coordsize="21600,21600" spt="75" preferrelative="t"&gt;&lt;stroke joinstyle="miter"&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/f&gt;&lt;f eqn="sum @0 1 0"&gt;&lt;/f&gt;&lt;f eqn="sum 0 0 @1"&gt;&lt;/f&gt;&lt;f eqn="prod @2 1 2"&gt;&lt;/f&gt;&lt;f eqn="prod @3 21600 pixelWidth"&gt;&lt;/f&gt;&lt;f eqn="prod @3 21600 pixelHeight"&gt;&lt;/f&gt;&lt;f eqn="sum @0 0 1"&gt;&lt;/f&gt;&lt;f eqn="prod @6 1 2"&gt;&lt;/f&gt;&lt;f eqn="prod @7 21600 pixelWidth"&gt;&lt;/f&gt;&lt;f eqn="sum @8 21600 0"&gt;&lt;/f&gt;&lt;f eqn="prod @7 21600 pixelHeight"&gt;&lt;/f&gt;&lt;f eqn="sum @10 21600 0"&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path gradientshapeok="t" extrusionok="f" connecttype="rect"&gt;&lt;/path&gt;&lt;lock aspectratio="t" ext="edit"&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;shape style="WIDTH: 7in; HEIGHT: 378.75pt; VISIBILITY: visible; mso-wrap-style: square" id="Picture_x0020_10" type="#_x0000_t75" spid="_x0000_i1028"&gt;&lt;imagedata title="o:title" src="file:///C:\DOCUME~1\peterl\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.png"&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt; &lt;a href="http://lh3.ggpht.com/_hmOH7ldFiSU/SwTLFeO9n9I/AAAAAAAAACQ/pDXln_8dTsE/s1600-h/ClonedBootLUNbroken%5B1%5D.gif"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="ClonedBootLUNbroken" border="0" alt="ClonedBootLUNbroken" src="http://lh6.ggpht.com/_hmOH7ldFiSU/SwTLFs1fDCI/AAAAAAAAACU/JiqGKKCMhEE/ClonedBootLUNbroken_thumb%5B1%5D.gif?imgmax=800" width="244" height="185" /&gt;&lt;/a&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;I’ve figured it out and have made it work in a reproducible and fairly simple fashion.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;In fact, there are a couple slightly different methods that can be used.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4&gt;Researching the root cause&lt;/h4&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;Feel free to skip this if you're not interested.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;It's only here because a few people asked.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;The problem comes from a couple things.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;First, the ESX service console no longer lives fully in partitions it owns on the boot device, as it did for ESX 3.x.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Only /boot is a partition accessible/mountable by the service console on the boot device.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The rest of the service console partitions are in a VMDK within a VMFS that consumes the rest of the boot disk not used by /boot and VMKCORE.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;The second issue is standard ESX behaviour when encountering a clone of a LUN that contains a VMFS.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The metadata signature of the VMFS will usually not match, primarily the LUN S/N (or in ESX4, the NAA ID, which also contains the LUN S/N).&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;You can resignature, but you need access to the service console to do that!&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;(Yes, in vSphere you can resignature from the vSphere client, but that also requires a working service console.)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:Arial;"&gt;The obvious answer to those familiar with VMFS and LUNs and signatures is to set LVM.EnableResignature to 1 before you shut down the gold/master image in preparation for the snapshot &lt;/span&gt;&lt;span style="FONT-FAMILY: wingdings; mso-ascii-font-family: arial; mso-hansi-font-family: arial; mso-char-type: symbolfont-family:wingdings;" &gt;&lt;span style="mso-char-type: symbol;font-family:wingdings;" &gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;clone steps.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Those who have tried this have found that while the volume does get resignatured, the service console still doesn’t mount.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;It just chokes at vsd-mount and drops to a recovery shell running from a RAM file system, with nothing mounted and many esxcfg commands missing, etc.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;(Lots of geeks nodding heads saying, “Yeah, exactly what I saw!”)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;On a few &lt;a href="http://communities.vmware.com/thread/211716"&gt;threads like this one&lt;/a&gt; &lt;/span&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;there was discussion on editing esx.conf and changing /boot/cosvmdk to match the new UUID of your resignatured VMFS.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;There’s a catch-22 with that which is that you can’t change it ahead of time because you don’t know what the resig’d UUID will be.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;You can’t change it after, because you can’t get to the service console copy of esx.conf, at least not in any way I could find that didn’t totally default the purpose of simple boot LUN cloning.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;The third piece to this is how the console VMDK gets its name and what the startup script that mounts it looks for.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The COS VMDK, by default, is located in &lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;/vmfs/volumes/&amp;lt;VMFS_UUID&amp;gt;/esxconsole-&amp;lt;system_UUID&amp;gt;/esxconsole.vmdk &lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;(and esxconsole-flat.vmdk which is the actual disk image).&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;This is the default if you do an interactive installation without a kickstart file.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;If you install using a kickstart file, even the one that the installer leaves in /root/ks.cfg after an interactive install, the installer script prepends "default-" to the COS VMDK file names, unless you also specify a path option, like this:&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;virtualdisk 'esxconsole' --size=8004 --onvmfs='Storage1' --path=esxconsole-esx5/esxconsole.vmdk&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;This is somewhat documented on pp.52-53 of the ESX and vCenter Server Installation Guide for ESX 4.0 and vCenter Server 4.0, in the Installation Script Commands section under "virtualdisk".&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;One thing to be careful of is that the path is meant to be unique, although the boot LUN should also only be used by a single ESX server.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;The python script that names and creates the COS VMDK is usr/lib/vmware/weasel/scriptedinstall/preparser.py located in the initrd.img in the isolinux directory of the ESX DVD.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The script that actually mounts the COS VMDK during normal boot is etc/vmware/init/init.d/66.vsd-mount located in /boot/initrd.img of an installed ESX server.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Note that I don't show leading slashes for files in initrds because they are relative to wherever you extract them.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;Once people get past the resignaturing bit, the thing they run into is that 66.vsd-mount does not look for all the likely names that preparser.py might have given the COS VMDK.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Here's what 66.vsd-mount does:&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l2 level1 lfo2" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;1.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Check to see if the GRUB boot option "cosvmdk" was specified and if so attempt to mount that.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l2 level1 lfo2" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;2.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Check esx.conf for /boot/cosvmdk= and if so attempt to mount that.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The esx.conf it checks at this point is in /boot/initrd.img, but under normal circumstances that matches the copy in /etc/vmware.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l2 level1 lfo2" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;3.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Look for a VMDK in /vmfs/volumes/*/esxconsole-*/esxconsole.vmdk and attempt to mount the first one it finds.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;(Not likely there would be more than one!)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l2 level1 lfo2" class="MsoListParagraphCxSpLast"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;4.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Look for a VMDK in /vmfs/volumes/*/cos/default-cos.vmdk and attempt to mount the first one it finds.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;i style="mso-bidi-font-style: normal"&gt;It never looks for a default-esxconsole.vmdk&lt;/i&gt;, which is most likely how scripted installs name the COS VMDK.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#ffffff;"&gt;But there's another problem that we run into first.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;When 66.vsd-mount finds cosvmdk specified in GRUB or in esx.conf, if the file specified doesn’t actually exist, it bombs out the whole script.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;I think if the file doesn’t exist, it should move on to the next search method.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;OK, so how do we make it work?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;There are 3 things to "fix" on your golden image to make cloned boot LUNs work, and for 2 of them there is more than one way to do it.&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo3" class="MsoListParagraphCxSpFirst"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;1.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Enable resignaturing.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo3" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;2.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Remove /boot/cosvmdk from esx.conf or make 66.vsd-mount ignore the missing file and try something else.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo3" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;3.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Make the name of the COS VMDK match what 66.vsd-mount actually looks for, which you can achieve in a few&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;ways:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo3; mso-add-space: auto" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;a.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Use the --path option in ks.cfg to force a VMDK path the script actually looks for.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;OR&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo3; mso-add-space: auto" class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;b.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Add another search to 66.vsd-mount.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;OR&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 1in; mso-list: l0 level2 lfo3; mso-add-space: auto" class="MsoListParagraphCxSpLast"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;c.&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Rename the COS VMDK to remove the default-&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;prefix.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Note that you technically only have to rename the descriptor.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;If you also rename the -flat, you will have to edit the descriptor file to match.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;This is probably the quickest and easiest method.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;I've tried all of these and they all work, but anything that involved editing a startup script is unlikely to be supported by VMware.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;One interesting detail is that unlike a running VM, the COS VMDK (both descriptor and -flat) can be renamed while ESX is running and using the VMDK - it's not locked and moving it doesn’t PSOD as I kinda expected.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#ffffff;"&gt;Another detail is that there are two instances of the files used for boot, including 66.vsd-mount and esx.conf.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;We're used to /etc/vmware/esx.conf in the running service console, but there is also a copy in /boot/initrd.img.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;There are discussions on the communities that tell you to extract, edit and repack /boot/initrd.img.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Reality is if you do a proper shutdown or reboot, manually rebuilding initrd is completely unnecessary. &lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;/etc/rc&amp;lt;6 or 0&amp;gt;.d/K01vmware runs esxcfg-boot --rebuild which rebuilds /boot/initrd.img.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;How nice for us.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;Here's a screen shot of a cloned boot LUN working using a modified version of 66.vsd-mount.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The comment after vsd-mount is because I made two versions of the script - one in /etc and one in /boot/initrd.img.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Yes, I built the initrd by hand, and when the script in the COS VMDK ran rather than the one in the initrd, that's how I noticed ESX was building initrd for us.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;I was surprised that the script that actually ran was the one in the COS VMDK, not in /boot/initrd.&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;shape style="WIDTH: 7in; HEIGHT: 378.75pt; VISIBILITY: visible; mso-wrap-style: square" id="Picture_x0020_1" type="#_x0000_t75" spid="_x0000_i1027"&gt;&lt;imagedata title="o:title" src="file:///C:\DOCUME~1\peterl\LOCALS~1\Temp\msohtmlclip1\01\clip_image003.png"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;/span&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hmOH7ldFiSU/SwTLGJnVsiI/AAAAAAAAACY/MKppTuNmcgM/s1600-h/ClonedBootLUNfixed2.gif"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="ClonedBootLUNfixed" border="0" alt="ClonedBootLUNfixed" src="http://lh4.ggpht.com/_hmOH7ldFiSU/SwTLGbCC7UI/AAAAAAAAACc/dGvx6XfzFQU/ClonedBootLUNfixed_thumb.gif?imgmax=800" width="244" height="185" /&gt;&lt;/a&gt;  &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;Later on, I found the logfile /var/log/boot-logs/sysboot.log.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;You can see it working (or not) on the lines starting with “sysboot: vsd-mount ...”.&lt;/span&gt;&lt;/p&gt;&lt;h4&gt;Putting it all together&lt;/h4&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;The first part of this is standard SAN / boot LUN setup, so I’m intentionally vague on some details.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Feel free to skim ahead. The workaround stuff is mainly steps 12) through 16).&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;1)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Enable HBA BIOS&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;2)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Set up zoning such that all the HBAs of the servers can access all target ports of the storage.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Details on this and best practices such as single-initiator zones are well-documented elsewhere.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;3)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Boot LUN setup.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Create an aggregate (or use an existing one with space).&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Create a volume.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Set the appropriate volume and snapshot options.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Create the LUN.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; vol create esxgold aggr0 50g&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; vol options esxgold no_atime_update on&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; snap sched esxgold 0 0 0&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; snap reserve esxgold 0 &lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; lun create -s 40g -t vmware /vol/esxgold/lun&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;4)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Create igroup for just this ESX (both HBA WWPN)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; igroup create -f -t vmware esx9 21:00:00:e0:8b:94:84:0e 21:01:00:e0:8b:b4:84:0e&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;5)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Map boot LUN (ID 0)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; lun map /vol/esxgold/lun esx9 0&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;6)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Set the boot device in your HBA BIOS. For a QLogic HBA, you set this in &lt;/span&gt;&lt;/span&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Selectable Boot&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;7)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Enable selectable boot&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hmOH7ldFiSU/SwTLG8U3y3I/AAAAAAAAACg/TxXfOM_JVGM/s1600-h/ClonedBootLUNQLogic12.gif"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="ClonedBootLUNQLogic1" border="0" alt="ClonedBootLUNQLogic1" src="http://lh6.ggpht.com/_hmOH7ldFiSU/SwTLHABp28I/AAAAAAAAACk/KsWtTWmP7AY/ClonedBootLUNQLogic1_thumb.gif?imgmax=800" width="244" height="187" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;8)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Next to (Primary) hit enter, then select the correct LUN (should be LUN ID 0, and the WWPN of the port of the filer that has this LUN).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;a href="http://lh6.ggpht.com/_hmOH7ldFiSU/SwTLHW8swYI/AAAAAAAAACo/Nw1ZMAO4Nns/s1600-h/ClonedBootLUNQLogic22.gif"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="ClonedBootLUNQLogic2" border="0" alt="ClonedBootLUNQLogic2" src="http://lh3.ggpht.com/_hmOH7ldFiSU/SwTLHqAAGHI/AAAAAAAAACs/s-AbfXIeUWQ/ClonedBootLUNQLogic2_thumb.gif?imgmax=800" width="244" height="186" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;shape style="WIDTH: 468pt; HEIGHT: 354pt; VISIBILITY: visible; mso-wrap-style: square" id="Picture_x0020_7" type="#_x0000_t75" spid="_x0000_i1025"&gt;&lt;imagedata title="o:title" src="file:///C:\DOCUME~1\peterl\LOCALS~1\Temp\msohtmlclip1\01\clip_image007.png"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;/span&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;9)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Install ESX and any goodies you want in your standard boot LUN image.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;10)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Log in to the service console&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a name="_Ref244408743"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;11)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Edit /etc/vmware/esx.conf&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;12)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Find the line with /system/uuid and delete it.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;/system/uuid = "4adf6585-f1ed-6630-3740-001a64249120"&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;13)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Find the line with /boot/cosvmdk and delete it.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;/boot/cosvmdk = "/vmfs/volumes/4a30feb6-7d3064c0-534c-0019b9e03288/esxconsole-4a30fe53-5ef0-68b7-226d-0019b9e03286/default-esxconsole.vmdk"&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;(Note:&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;You don't have to remove this if you modify 66-vsd-mount to check for the file before attempting to mount and exiting with FATAL_ERROR.)&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;14)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Set resignature&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# esxcfg-advcfg -g /LVM/EnableResignature&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Value of EnableResignature is 0&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# esxcfg-advcfg -s 1 /LVM/EnableResignature&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Value of EnableResignature is 1&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# esxcfg-advcfg -g /LVM/EnableResignature&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Value of EnableResignature is 1&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;15)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Make 66.vsd-mount and the name of the COS VMDK match in one of the following ways:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;p style="MARGIN: 6pt 0in 0pt 0.25in" class="NormalNumbered"&gt;a)&lt;/p&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Fix /etc/vmware/init/init.d/66.vsd-mount or copy in my version OR &lt;/span&gt;&lt;/span&gt;&lt;p style="MARGIN: 6pt 0in 0pt 0.25in" class="NormalNumbered"&gt;&lt;/p&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;b)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Rename the COS VMDK&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;(easiest)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# cd /vmfs/volumes/&amp;lt;LOCAL_VMFS_UUID&amp;gt;/esxconsole-&amp;lt;UUID&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# mv default-esxconsole.vmdk esxconsole.vmdk&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 6pt 0in 0pt 0.25in" class="NormalNumbered"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;a name="_Ref244408764"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;OR&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="mso-bookmark: _ref244408764"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;p style="MARGIN: 6pt 0in 0pt 0.25in" class="NormalNumbered"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  c)&lt;/p&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Install the golden image of ESX using kickstart specifying the COS VMDK --path option in your kickstart file:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="mso-bookmark: _ref244408764"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;virtualdisk 'esxconsole' --size=8004 --onvmfs='Storage1' --path=esxconsole-esx5/esxconsole.vmdk&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="mso-bookmark: _ref244408764"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;17)&lt;/p&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Copy in /etc/rc3.d/S99zzclonecleanup script to reset LVM resig and add the correct entry for cosvmdk into esx.conf.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Set permissions to 777 so it will execute.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# chmod 777 /etc/rc3.d/S99zzclonecleanup&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;18)&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:Arial;"&gt;You will need some method of resetting hostname, IP, etc.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;DHCP is an option, but you may need a script to set the virtual MAC address of the service console to some known value, possibly based on a MAC address of a physical NIC.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;How to do all this is out of the scope of this article, however, the virtual MAC and IP addresses must be changed before booting a clone in order to avoid conflicts.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;19)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Set NMP SATP PS ALUA RR, and other fun stuff you want the same for every ESX server.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;20)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Halt the ESX server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;21)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Create a snapshot of the halted ESX LUN&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; snap create esxgold master&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;22)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Clone from the snapshot&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; vol clone create esx1boot -b esxgold master&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Thu Oct 22 02:35:33 GMT [f33: wafl.volume.clone.created:info]: Volume clone esx1boot of volume esxgold was created successfully.&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Creation of clone volume 'esx1boot' has completed.&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Thu Oct 22 02:35:34 GMT [f33: lun.newLocation.offline:warning]: LUN /vol/esx1boot/lun has been taken offline to prevent map conflicts after a copy or move operation.&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;23)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;If you are testing on the same server, unmap the original boot LUN.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; lun unmap /vol/esxgold/lun esx9&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;24)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;If setting up a new server, set it up like the first one – HBA, zoning, igroup.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;25)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Map the cloned boot LUN to the new server.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; lun map /vol/esx1boot/lun esx9 0&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;26)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;If you saw the “LUN … taken offline” message when you created the clone, bring the cloned LUN on line.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;f33&amp;gt; lun online /vol/esx1boot/lun&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;27)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Boot the server&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt; &lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="mso-list: ignore"&gt;&lt;span style="font-family:Arial;"&gt;28)&lt;/span&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;Watch it magically work.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4&gt;Other notes&lt;/h4&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;If you boot a server from your master/gold image to update or change it, you will need to remove uuid and cosvmdk parameters from esx.conf, reset /LVM/EnableResignature and copy the S99zzclonecleanup script into /etc/rc3.d again prior to shutting down and cloning.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;What to do about the CosCorefile entry in esx.conf during this process?&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;It fixes this itself.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;See the logfile /var/log/boot-logs/sysboot.log after “sysboot: vsd-mount”.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;span style="mso-spacerun: yes"&gt; &lt;/span&gt;The last thing it does (just before “sysboot: mount-root”) is create a core-dumps dir and add the entry to esx.conf using esxcfg-advcfg.&lt;/span&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;For zoning and igroup creation, it helps to use the HBA BIOS/Fast!Util and scan for devices from each HBA port.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;This forces each port to login to the fabric, and the WWPN will be visible to the switch.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;You may need to do this twice (once to set up zoning and once for igroups).&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;This saves having to type (and maybe typo) the WWPNs.&lt;/span&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4&gt;Fixing 66.vsd-mount&lt;/h4&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;This script is located in /etc/vmware/init/init.d and in initrd.img in the same path.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;It finds and mounts the COS VMDK.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Edit the copy in /etc and avoid messing with the initrd.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;initrd gets rebuilt during a normal shutdown.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="color:#ffffff;"&gt;I also didn’t put a fix to check for the existence of the VMDK specified in esx.conf before trying to mount and failing because it’s not there.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;This means you must remove the entry from esx.conf.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;I didn’t go through the fix of only looking in UUID paths.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Maybe later.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# vi etc/vmware/init/init.d/66.vsd-mount&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;There are 4 code blocks that look for the COS VMDK.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Insert the following between the 3&lt;sup&gt;rd&lt;/sup&gt; and 4&lt;sup&gt;th&lt;/sup&gt; block (or copy the 3&lt;sup&gt;rd&lt;/sup&gt; block and insert “default-” in front of “esxconsole.vmdk”.&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Log "Scanning VMFS for COS VMDK..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;for disk in /vmfs/volumes/*/esxconsole-*/default-esxconsole.vmdk ; do&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;Log "Attempting to use VMDK found by inspection: ${disk}"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;echo "Found $disk"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;MountDisk "${disk}"  continue&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;return ${SUCCESS}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;done&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h6&gt;&lt;span style="font-family:Arial;font-size:85%;color:#ffffff;"&gt;The whole 66-vsd-mount file as it worked for me&lt;/span&gt;&lt;/h6&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="LINE-HEIGHT: 115%;font-size:9;" &gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;[root@esx9 init.d]# cat 66.vsd-mount &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;#!/bin/sh&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# Copyright 2008 VMware Inc.,&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# Modified by peterl@netapp.com 27 Oct 09&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# Version 0.04prl&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo "COS VMDK instance of 66.vsd-mount ..."&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;MountDisk()&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;local COSCoreFile=&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;if [ ! -f "$@" ] ; then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;return ${FALSE}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;Exec vsd -scu -f "$@"  {&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;if [ "${VERBOSE}" != "no" ] ; then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;         &lt;/span&gt;Error "Failed to mount VMDK Disk: $@"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;         &lt;/span&gt;Log "Failed to mount VMDK Disk: $@"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;return ${FALSE}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;COSCoreFile="$(esxcfg-advcfg -qg /Misc/CosCorefile)"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;if [ "${COSCoreFile}" = "" -o ! -d "$(dirname "${COSCoreFile}")" ] ; then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;Exec mkdir -p "$(dirname "$@")/core-dumps/"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;Exec esxcfg-advcfg -qs "$(dirname "$@")/core-dumps/cos-core" /Misc/CosCorefile&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;return ${TRUE}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo "Method 1 - GRUB command line..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;CommandLineVMDK="$(GetBootOption 'cosvmdk')"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;if [ -n "${CommandLineVMDK}" ] ; then&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;Log "COS VMDK Specified on Kerenel Boot Line: ${CommandLineVMDK}"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;MountDisk "${CommandLineVMDK}"  return ${FATAL_ERROR}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;return ${SUCCESS}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;fi&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo "Method 2 - cosvmdk in esx.conf..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;ConfigVMDK="$(GetRawConfigOption '/boot/cosvmdk')"&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;if [ -n "${ConfigVMDK}" ] ; then&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;Log "COS VMDK Specified in esx.conf: ${ConfigVMDK}"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;if [ -f "${ConfigVMDK}" ] ; then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;MountDisk "${ConfigVMDK}"  return ${FATAL_ERROR}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;return ${SUCCESS}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;echo "COS VMDK specified in esx.conf does not exist."&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;echo "${ConfigVMDK}"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;      &lt;/span&gt;sleep 5&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;fi&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo "VMFS..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;ls -l /vmfs/volumes&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;sleep 5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo "Method 3 - Scan VMFS for esxconsole..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Log "Scanning VMFS for COS VMDK..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;for disk in /vmfs/volumes/*/esxconsole-*/esxconsole.vmdk ; do&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;Log "Attempting to use VMDK found by inspection: ${disk}"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;MountDisk "${disk}"  continue&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;return ${SUCCESS}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;done&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Log "Scanning VMFS for COS VMDK..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo "Method 3P - Scan VMFS for esxconsole (Peter's way) ..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;for disk in /vmfs/volumes/*/esxconsole-*/default-esxconsole.vmdk ; do&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;Log "Attempting to use VMDK found by inspection: ${disk}"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;echo "Found $disk"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;MountDisk "${disk}"  continue&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;return ${SUCCESS}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;done&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo 'Did not find COS VMDK using esxconsole-*/default-esxconsole.vmdk!!!'&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;sleep 5&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo "Method 4 - Scan VMFS for cos/default-cos.vmdk..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Log "Scanning VMFS for legacy COS VMDK..."&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;for disk in /vmfs/volumes/*/cos/default-cos.vmdk ; do&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;Log "Attempting to use VMDK found by inspection: ${disk}"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;MountDisk "${disk}"  continue&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;   &lt;/span&gt;return ${SUCCESS}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;done&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;Error "Unable to find COS VMDK"&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;return ${FATAL_ERROR}&lt;/span&gt;&lt;span style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial', 'sans-serif'; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-fareast-: minor-latinfont-family:calibri;font-size:10;"  &gt; &lt;br style="PAGE-BREAK-BEFORE: always; mso-special-character: line-break" clear="all"&gt;&lt;span style="color:#ffffff;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 10pt" class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="COLOR: #243f60; mso-fareast-theme-font: major-fareast; mso-fareast-: italic; mso-theme: 127font-family:'Times New Roman';color:#ace010;"  &gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h4&gt;S99zzclonecleanup&lt;/h4&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family:Arial;color:#ffffff;"&gt;This is a post-boot run-once script to reset /LVM/EnableResignature to 0, check and fix the cosvmdk entry in esx.conf.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Put this script in /etc/rc3.d.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Set permissions to 777!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;[root@esx9 ~]# cat S99zzclonecleanup&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;#!/bin/sh&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;#S99zzclonecleanup&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# Script to reset certain parameters back to sane values after a cloned boot&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# LUN boots successfully for the first time.&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# 27 Oct 09 Peter Learmonth, NetApp, &lt;a href="mailto:peterl@netapp.com"&gt;peterl@netapp.com&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# Place this script in /etc/rc3.d in the master boot LUN image and make it&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# executable (chmod 777).&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;The script deletes itself upon execution.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# /LVM/EnableResignature should never be left as 1 in order to prevent&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# resignaturing VMFS that should be fixed in other ways.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;In fact, in vSphere&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# / ESX 4.0 and greater, there are more granular and safer ways to fix&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# signatures.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# It may not be essential to fix the cosvmdk parameter, but in the interest of&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# consistency and adherence to normal ESX configuration we check and set the&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# esx.conf parameter to match what we're actually running.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# Can't set cosvmdk using esxcfg-advcfg -s&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;# Exception occured: Unable to find branch boot&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;resig=`esxcfg-advcfg -g /LVM/EnableResignature`&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;echo $resig&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;resig=`echo $resigsed 's/.*is//'`&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;if [ $resig -gt 0 ]&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;then&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;echo "Setting /LVM/EnableResignature to 0"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;esxcfg-advcfg -s 0 /LVM/EnableResignature&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;fi&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;cosvmdk_esxconf=`esxcfg-advcfg -c /boot/cosvmdk`&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;cosvmdk_live=`vsd -g`&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;fixesxconf() {&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;grep -v '^/boot/cosvmdk' /etc/vmware/esx.conf &amp;gt;/tmp/esxconf$$&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;mv -f /etc/vmware/esx.conf /etc/vmware/esx.conf.save&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;mv -f /tmp/esxconf$$ /etc/vmware/esx.conf&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;echo "/boot/cosvmdk = \"$cosvmdk_live\"" &amp;gt;&amp;gt;/etc/vmware/esx.conf&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;if [ -z "$cosvmdk_esxconf" ]&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;then&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;echo "/boot/cosvmdk is not set in /etc/vmware/esx.conf"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;echo "Fixing"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;fixesxconf&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;else&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;if [ "$cosvmdk_esxconf" != "$cosvmdk_live" ]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;    &lt;/span&gt;echo "Current service console VMDK does not match "&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;    &lt;/span&gt;echo "/boot/cosvmdk in /etc/vmware/esx.conf"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;    &lt;/span&gt;echo "Fixing"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;    &lt;/span&gt;fixesxconf&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color:#ffffff;"&gt;&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;fi&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="MARGIN: 0in 0in 0pt" class="code"&gt;&lt;span style="font-family:Courier New;color:#ffffff;"&gt;rm -f /etc/rc3.d/S99zzclonecleanup&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ffffff;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8464481553766855912-8987494727968375968?l=getvirtical.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://getvirtical.blogspot.com/feeds/8987494727968375968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://getvirtical.blogspot.com/2009/11/making-cloned-boot-luns-boot-with-esx4.html#comment-form' title='34 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/8987494727968375968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/8987494727968375968'/><link rel='alternate' type='text/html' href='http://getvirtical.blogspot.com/2009/11/making-cloned-boot-luns-boot-with-esx4.html' title='Making cloned boot LUNs boot with ESX4'/><author><name>Peter Learmonth</name><uri>http://www.blogger.com/profile/01349471318069142860</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_hmOH7ldFiSU/SaIZrmnWPeI/AAAAAAAAAAM/4AzTL5YzDig/S220/IMG08.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hmOH7ldFiSU/SwTLFs1fDCI/AAAAAAAAACU/JiqGKKCMhEE/s72-c/ClonedBootLUNbroken_thumb%5B1%5D.gif?imgmax=800' height='72' width='72'/><thr:total>34</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8464481553766855912.post-884055853737535493</id><published>2009-03-23T10:08:00.000-07:00</published><updated>2009-03-23T10:13:22.002-07:00</updated><title type='text'>MBRalign live on NOW Toolchest!</title><content type='html'>&lt;span style="font-family:arial;"&gt;After getting some QA and approval, the much sought after MBRalign is now available on the NOW (NetApp On the Web) Toolchest!&lt;br /&gt;&lt;br /&gt;It won't show up in the Toolchest directory just yet, but this is the direct URL: &lt;/span&gt;&lt;a href="http://now.netapp.com/NOW/download/tools/mbralign/"&gt;&lt;span style="font-family:arial;"&gt;http://now.netapp.com/NOW/download/tools/mbralign/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;Yes, you must have a NOW account with Toolchest access to get to it.&lt;br /&gt;&lt;br /&gt;Please discontinue use and distribution of MBRalign through any other means. No other version has gone through any kind of official testing.&lt;br /&gt;&lt;br /&gt;There's a readme.pdf included. Please read it!!!&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;br /&gt;&lt;br /&gt;Peter &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8464481553766855912-884055853737535493?l=getvirtical.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://getvirtical.blogspot.com/feeds/884055853737535493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://getvirtical.blogspot.com/2009/03/mbralign-live-on-now-toolchest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/884055853737535493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/884055853737535493'/><link rel='alternate' type='text/html' href='http://getvirtical.blogspot.com/2009/03/mbralign-live-on-now-toolchest.html' title='MBRalign live on NOW Toolchest!'/><author><name>Peter Learmonth</name><uri>http://www.blogger.com/profile/01349471318069142860</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_hmOH7ldFiSU/SaIZrmnWPeI/AAAAAAAAAAM/4AzTL5YzDig/S220/IMG08.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8464481553766855912.post-594374882133949188</id><published>2009-02-22T20:14:00.000-08:00</published><updated>2009-02-22T20:32:47.994-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmx'/><category scheme='http://www.blogger.com/atom/ns#' term='datastore'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware-cmd'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>.vmx file not stored on a NAS or VMFS</title><content type='html'>This is kind-of a test post and also something I've tripped on a couple times.&lt;br /&gt;&lt;br /&gt;After creating new datastores and registering some VMs, you attempt power one on, and get:&lt;br /&gt;&lt;em&gt;Attempt to power on a virtual machine with the .vmx file not stored on a NAS or VMFS version 3 datastore. The virtual machine files must be relocated or VMFS upgraded.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;In my situation, NFS datastores were added via ESX CLI (esxcfg-nas), but this could also happen when VMFS are added by rescanning via CLI (esxcfg-rescan) or created by vmkfstools.  Then VMs were created/registered in the new datastore by CLI or script that calls vmware-cmd.&lt;br /&gt;&lt;br /&gt;The VMs will appear in the VI Client without any special action to refresh.  The problem is they live on a datastore that vCenter doesn't yet know about.&lt;br /&gt;&lt;br /&gt;To fix it, refresh storage in VC either by clicking the server --&gt; Configuration --&gt; Storage --&gt; Refresh or in the CLI with&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[root@esx5 root]# vmware-vim-cmd internalsvc/refresh_datastores &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;Refresh is a little less harsh than restarting the management service.  You'll need to refresh all the ESX servers, although sometimes, when VC finds a new datastore on one server, it checks the rest and discovers it on all of them.&lt;br /&gt;&lt;br /&gt;Related posts&lt;br /&gt;&lt;a href="http://communities.vmware.com/thread/83202;jsessionid=1CAD7C5CF977682FAF78DEBAEF75F34C?tstart=60"&gt;http://communities.vmware.com/thread/83202;jsessionid=1CAD7C5CF977682FAF78DEBAEF75F34C?tstart=60&lt;/a&gt;&lt;br /&gt;&lt;a href="http://communities.vmware.com/message/876520;jsessionid=4F546B51E2081127B947133B2B2F723D"&gt;http://communities.vmware.com/message/876520;jsessionid=4F546B51E2081127B947133B2B2F723D&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8464481553766855912-594374882133949188?l=getvirtical.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://getvirtical.blogspot.com/feeds/594374882133949188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://getvirtical.blogspot.com/2009/02/vmx-file-not-stored-on-nas-or-vmfs.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/594374882133949188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/594374882133949188'/><link rel='alternate' type='text/html' href='http://getvirtical.blogspot.com/2009/02/vmx-file-not-stored-on-nas-or-vmfs.html' title='.vmx file not stored on a NAS or VMFS'/><author><name>Peter Learmonth</name><uri>http://www.blogger.com/profile/01349471318069142860</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_hmOH7ldFiSU/SaIZrmnWPeI/AAAAAAAAAAM/4AzTL5YzDig/S220/IMG08.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8464481553766855912.post-3433453858851566002</id><published>2009-02-22T20:07:00.000-08:00</published><updated>2009-02-22T20:08:53.757-08:00</updated><title type='text'>OK, I'm here.  Now what?</title><content type='html'>Other than my family, there are two things that occupy my life:  VMware on NetApp and jumping out of planes.  So, I fumbled around for a blog title that encompassed the two, bounced ideas off a couple of my peers, Googled to see which ideas were already taken, then finally settled on one of my first ideas.&lt;br /&gt;&lt;br /&gt;I'm under no illustions that this will be one of the premier virtualization blogs, but if I add any value to somebody's day, mission accomplished.&lt;br /&gt;&lt;br /&gt;I also don't know how regularly I'll be able to post.  I do have a regular job and a family that keeps me pretty busy, and I have to answer questions on other forums (fora?).  Also, I may end up moving the whole thing over to the NetApp corporate blog site.  Which brings me to my next point:&lt;br /&gt;&lt;br /&gt;Why on Blogger?  Blogger is owned by Google.  I was the NetApp SE for Google for a couple years.  They were great to work with - fun and very challenging.  I feel a certainly loyalty to my customer, so for now at least, this is my blogging home.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8464481553766855912-3433453858851566002?l=getvirtical.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://getvirtical.blogspot.com/feeds/3433453858851566002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://getvirtical.blogspot.com/2009/02/ok-im-here-now-what.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/3433453858851566002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8464481553766855912/posts/default/3433453858851566002'/><link rel='alternate' type='text/html' href='http://getvirtical.blogspot.com/2009/02/ok-im-here-now-what.html' title='OK, I&apos;m here.  Now what?'/><author><name>Peter Learmonth</name><uri>http://www.blogger.com/profile/01349471318069142860</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://1.bp.blogspot.com/_hmOH7ldFiSU/SaIZrmnWPeI/AAAAAAAAAAM/4AzTL5YzDig/S220/IMG08.JPG'/></author><thr:total>2</thr:total></entry></feed>
