Solved

Migrating an guest IDE FreeBSD Virtual Machine from Workstation to ESX guest Scsi VM

Posted on 2008-10-05
8
1,015 Views
Last Modified: 2013-11-22
We have a virtual machine that runs freebsd and uses IDE. It works fine on VMWARE Workstation.
We must move it to ESX server but it fails because ESX must have Scsi drivers.
We tried some solutions for the internet , but they have failed.
Any ideas on :
* Adding the scsi drivers to FreeBSD running VM ?
* Adding Scsi to a VMDK file ?

Other ideas ?
0
Comment
Question by:ophirk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 22646049
Add SCSI to IDE virtual machine using e.g VMWare server 1.0.x
Do a dd copy of disks using emergency shell or openbsd floppy
Then change all occurences of ad to da in /etc/fstab
Boot off SCSI drive and get rid of IDE
Thats probably all you need.
0
 

Author Comment

by:ophirk
ID: 22657286
Well, the VM migration tool we used saved us the need for the disk copying. And I changed the fstab file to point to the new disks.

But now, I'm getting an error when trying  to mount the root fs. I get the mountroot prompt, and it refuses to mount my ufs:da0s1a disk. When I use the '?' command I only get the cdrom.

In the loader prompt, trying lsdev shows the disks. I can view the contents with more. But mountroot refuses to mount them.

I am very new to freeBSD, what am I missing?
0
 
LVL 62

Expert Comment

by:gheist
ID: 22657295
You missed disk copying.
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 

Author Comment

by:ophirk
ID: 22657348
I also tried specifying the disk at the boot prompt as 0:da(1,a)/boot/loader, but that didn't change anything.
0
 

Author Comment

by:ophirk
ID: 22657356
The migrated machine already has the SCSI disks, you mean I need to copy them again? Or are you suggesting to forget about the migration and do the copy independently altogether?

I'll give that a try.
0
 
LVL 62

Expert Comment

by:gheist
ID: 22657529
You have to copy IDE disks to SCSI disks 1:1 inside virtual machine.
0
 

Author Comment

by:ophirk
ID: 22657813
That did it. The migration tool originally used probably screwed something up.

Thanks!
0
 
LVL 62

Expert Comment

by:gheist
ID: 22667313
It just migrated empty new SCSI disk.... ;)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question