More details now - So, in Sunstone GUI I see an ID 2 for my volatile disk
When I add it as raw, I don't see it use /var/lib/one/remotes/vmm/attach_disk - just creates a raw disk and is done (nothing exists in the volumes) It does not appear to use vim-cmd when it creates -- When I try to detach the the disk it does this Mon Aug 12 08:24:38 2013 [VMM][I]: Successfully execute virtualization driver operation: attach_disk. Mon Aug 12 08:24:38 2013 [VMM][I]: VM Disk successfully attached. Mon Aug 12 08:28:59 2013 [VMM][I]: VM successfully rebooted. Mon Aug 12 10:20:14 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/vmware/detach_disk 'one-2' '/vmfs/volumes/102/2/disk.2' 'hdc' '2' 2 10.7.0.55 Mon Aug 12 10:20:14 2013 [VMM][E]: : Command " vim-cmd vmsvc/device.diskremove 20 0 2 /vmfs/volumes/102/2/disk.2" failed: Failed to find a controller with the specified bus number. Mon Aug 12 10:20:14 2013 [VMM][E]: Could not detach from one-2 Mon Aug 12 10:20:14 2013 [VMM][I]: ExitCode: 255 Mon Aug 12 10:20:14 2013 [VMM][I]: Failed to execute virtualization driver operation: detach_disk. Mon Aug 12 10:20:14 2013 [VMM][E]: Error detaching VM Disk: Could not detach from one-2 Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com<http://www.connectsolutions.com> From: users-boun...@lists.opennebula.org [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran Sent: Monday, August 12, 2013 12:16 PM To: Nicolas Bélan; users@lists.opennebula.org Subject: Re: [one-users] Add Volatile disk Thanks Nicolas --- 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 Also looking at the edit settings in Vmware - I don't see an additional SCSI disk Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com<http://www.connectsolutions.com> From: users-boun...@lists.opennebula.org<mailto:users-boun...@lists.opennebula.org> [mailto:users-boun...@lists.opennebula.org] On Behalf Of Nicolas Bélan Sent: Monday, August 12, 2013 11:24 AM To: users@lists.opennebula.org<mailto:users@lists.opennebula.org> Subject: Re: [one-users] Add Volatile disk Hello, mkfs.ntfs is provided by ntfs-3g package on most linux. You should install it and retry I think 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. Best regards Nicolas Le 12/08/13 16:45, Michael Curran a écrit : 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 Mon Aug 12 07:09:53 2013 [VMM][E]: mkimage: Command "export PATH=/usr/sbin:/sbin:$PATH Mon Aug 12 07:09:53 2013 [VMM][I]: Mon Aug 12 07:09:53 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/2/disk.2 ]; then Mon Aug 12 07:09:53 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/2/disk.2 Mon Aug 12 07:09:53 2013 [VMM][I]: fi Mon Aug 12 07:09:53 2013 [VMM][I]: Mon Aug 12 07:09:53 2013 [VMM][I]: mkfs -t NTFS /vmfs/volumes/102/2/disk.2" failed: sh: mkfs: not found Mon Aug 12 07:09:53 2013 [VMM][E]: Could not create image /vmfs/volumes/102/2/disk.2 Mon Aug 12 07:09:53 2013 [VMM][I]: ExitCode: 127 Mon Aug 12 07:09:53 2013 [VMM][I]: Failed to execute transfer manager driver operation: tm_attach. Mon Aug 12 07:09:53 2013 [VMM][E]: Error attaching new VM Disk: Could not create image /vmfs/volumes/102/2/disk.2 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 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 It says add a disk to VM 16 that is 10g in size as SCSI device 0:2 using datastore1 vim-cmd vmsvc/device.diskadd 16 10000 scsi0 2 datastore1 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 # vim-cmd vmsvc/device.diskadd 20 15000 scsi 0 1 102 Reconfigure failed 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. Does this sound like a bug, if so I can create a bug report on this instead. Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com<http://www.connectsolutions.com> _______________________________________________ Users mailing list Users@lists.opennebula.org<mailto:Users@lists.opennebula.org> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org