VMware vSphere

 View Only
  • 1.  DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Feb 14, 2007 05:21 PM

    I used converter to image our W2K Terminal Server which I want to import into VC 2.5.3. I am trying to follow the instructions and copy that .vmdk file which is at 5GB into the vmfs directory according to the .pdf web instructions.

    This fails with the following error:

    DiskLib_Open()Failed. The specified virtual disk needs repair.(12)

    Everything else is running fine. Copying it manually from the command line to /vmfs returns a permission denied error.

    What am I missing here? Can I run the old P2V on the image to import it into Virtual Center without all this hassle?



  • 2.  RE: DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Feb 14, 2007 05:30 PM

    I'm assuming you have VC 2.0.x, and ESX 2.5.3 right?

    You can only post to the VC server through the converter, and if you convert it locally, you can't upload it. Right?

    I haven't tried a import to VC 2.0.x with an ESX 2.5.x destination ESX, so I can't comment 100% on that.

    But if you convert it locally, and then copy it over to ESX using FTP, SCP, etc, then you have an error.

    1st, if you convert it locally, and then import it manually to ESX 2.5.x, make sure you use a Workstation 4.x format, as ESX 2.5.x will have a problem with the 5.x format.

    2nd, copy the .vmdk to an non VMFS partiton first (that has enough room) and then use[code]vmkfstools -i /path/to/source.vmdk /vmfs/volume/destination.vmdk[/code]

    What happens if you go this route?



  • 3.  RE: DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Feb 14, 2007 07:15 PM

    That is almost the case. ESX 2.5.3 and VC 1.5.3 Let me give that a shot and I will post the results.

    I copied the image to a Windows share, not to ESX and as it would never find it no matter would port I tried so I created a standalone VM and then subsequently FTP'd that image up to the ESX server.

    I did not do any conversion on it so I will have to check the instructions for that step prior to trying the vmkfstools command. I didnt perform a Cold Clone with a Converter CD, was live.

    Thanks



  • 4.  RE: DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Feb 14, 2007 09:09 PM

    It seems no matter what I do I cant pull the image down to VC or ESX.

    So Im trying to manually move the image into a volume and get it to take.



  • 5.  RE: DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Feb 14, 2007 10:21 PM

    When you created the VM using Converter, select the option to create 2GB files rather than 1 large file for your virtual disks.

    Make sure you select Workstation 4.x as the VM type.

    Copy the .vmdk files to your ESX Server service console onto an ext3 partition. It cannot be under /vmfs. Then run vmkfstools -i to import the virtual disk files. vmkfstools cannot import files located in VMFS for ESX Server 2.5.x. If you browse from the ESX Server MUI Manage Files you will see an icon with 3 files for the .vmdk's, but after the import you will see an icon with one disk.

    You can then create a new VM using VirtualCenter and then browse to find your new virtual disk.



  • 6.  RE: DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Mar 02, 2007 10:12 PM

    When I choose the 4.x option it always fails at 97% 5x allows me to split the images and completes but then I cant import the images. Ridiculous.

    What a pain....I will try the last P2v instead. Judging by these forums I would say they should have beta tested this better before rolling out such a buggy application.

    There are other ways to get an image.



  • 7.  RE: DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Mar 05, 2007 04:35 PM

    I managed to get the image down using 5.x format and actually can copy the .vmdk into /vmfs/vmhba1:0:24:1 now manually

    ..but I still get errors attemping vmkfstools.....

    vmkfstools -i /root/abc123.vmdk /vmfs/vmhba1:0:24:1/abc123.vmdk

    SPARSE: "/root/abc123.vmdk" : failed to open (12): Disk needs repair.

    DiskLib_Open() failed. The specified virtual disk needs repair. (12)

    Is it possible to copy the vmx file into it's own home dir, the vmdk to a virtual disk and go from there or is it essential to run vmkfstools?



  • 8.  RE: DiskLib_Open() Failed. Copying .vmdk file to /vmfs

    Posted Mar 08, 2007 10:56 PM

    Is there anyone out there?

    To date, I was able to get an image down using 5.x format, I successfully created a vmdk file from it using:

    vmkfstools -i abc123.vmdk /vmfs/vmhba1:0:24:1/abc123.vmdk

    I created a custom VM in Virtual Center and pointed to /vmfs/vmhba1:0:24:1/abc123.vmdk for the disk image.

    This starts when I power on but no OS Is found which is a little confusing since I cloned a 2000 Advanced Server with no errors....

    Here is the error from the log in /home/vmware/.

    Mar 08 15:09:39: vcpu-0| \[msg.Backdoor.OsNotFound] No bootable CD, floppy or hard disk was detecte

    d.

    Mar 08 15:09:39: vcpu-0| To install an operating system, insert a bootable CD or floppy and restar

    t the virtual machine by clicking the Reset button.----


    Mar 08 15:09:39: vcpu-0| POST(no connection): No bootable CD, floppy or hard disk was detected.

    Mar 08 15:09:39: vcpu-0| To install an operating system, insert a bootable CD or floppy and restar

    t the virtual machine by clicking the Reset button.

    Anyone have any suggestions?

    Message was edited by:

    eindhoven

    Message was edited by:

    eindhoven