<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.vmlogerror
{mso-style-name:vm_log_error;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks Nicolas ---<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">But you cannot install packages into VMware ESXi , and I did add it as a raw disk – it does attach it to the instance from the console, when I look in the instance directory I do not see an extra vmdk file<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Also looking at the edit settings in Vmware – I don’t see an additional SCSI disk<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Michael Curran | connectsolutions | Lead Network Architect<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Phone 614.568.2285 | Mobile 614.403.6320 |
<a href="http://www.connectsolutions.com">www.connectsolutions.com</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> users-bounces@lists.opennebula.org [mailto:users-bounces@lists.opennebula.org]
<b>On Behalf Of </b>Nicolas Bélan<br>
<b>Sent:</b> Monday, August 12, 2013 11:24 AM<br>
<b>To:</b> users@lists.opennebula.org<br>
<b>Subject:</b> Re: [one-users] Add Volatile disk<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<br>
<br>
mkfs.ntfs is provided by ntfs-3g package on most linux.<br>
You should install it and retry I think<br>
Or perhaps (not tested by myselft) use a raw disk and format it inside your windows. I never installed windows on opennebula, I can not give you more advice.<br>
<br>
Best regards<br>
Nicolas<span style="font-size:12.0pt"><o:p></o:p></span></p>
<div>
<p class="MsoNormal">Le 12/08/13 16:45, Michael Curran a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">I need to add a raw disk to be used with a windows VM – and this is the error message I get in the logs for the VM<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span class="vmlogerror"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#FF8D81">Mon Aug 12 07:09:53 2013 [VMM][E]: mkimage: Command "export PATH=/usr/sbin:/sbin:$PATH</span></span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#F2F2F2"><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]:<span class="apple-converted-space"> </span></span><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/2/disk.2 ]; then</span><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/2/disk.2</span><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]: fi</span><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]:<span class="apple-converted-space"> </span></span><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]: mkfs -t NTFS /vmfs/volumes/102/2/disk.2" failed: sh: mkfs: not found</span><br>
</span><span class="vmlogerror"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#FF8D81">Mon Aug 12 07:09:53 2013 [VMM][E]: Could not create image /vmfs/volumes/102/2/disk.2</span></span><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#F2F2F2"><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]: ExitCode: 127</span><br>
<span style="background:#6F6F6F">Mon Aug 12 07:09:53 2013 [VMM][I]: Failed to execute transfer manager driver operation: tm_attach.</span><br>
</span><span class="vmlogerror"><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#FF8D81">Mon Aug 12 07:09:53 2013 [VMM][E]: Error attaching new VM Disk: Could not create image /vmfs/volumes/102/2/disk.2</span></span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">This is trying to use mkfs to create a NTFS volume, when you cannot do anything with VMware except attach a raw disk, there are no mkfs tools that will build and attach it as a NTFS volume<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">When I look up how to add a disk via ESXi command-line this is what I find ---- which is a completely different command than shown<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">It says add a disk to VM 16 that is 10g in size as SCSI device 0:2 using datastore1
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:9.0pt">vim-cmd vmsvc/device.diskadd 16 10000 scsi0 2 datastore1</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">The unique thing is though, that I cannot run that as oneadmin, because it fails – which means I cannot add a disk to the VM<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.5pt;font-family:"Arial","sans-serif""># vim-cmd vmsvc/device.diskadd 20 15000 scsi 0 1 102</span><o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.5pt;font-family:"Arial","sans-serif"">Reconfigure failed</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">And if I try to add the disk via vSphere , it cannot really add it because the disk currently in use is technically SCSI0:0 , but vSphere is still expecting SCSI0:0 as the next disk.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Does this sound like a bug, if so I can create a bug report on this instead.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Michael Curran | connectsolutions | Lead Network Architect<o:p></o:p></p>
<p class="MsoNormal">Phone 614.568.2285 | Mobile 614.403.6320 | <a href="http://www.connectsolutions.com">
www.connectsolutions.com</a><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><o:p></o:p></pre>
<pre><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
</div>
</body>
</html>