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

Posted on 2008-10-05
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 ?
Question by:ophirk
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
LVL 62

Accepted Solution

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.

Author Comment

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?
LVL 62

Expert Comment

ID: 22657295
You missed disk copying.
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.


Author Comment

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.

Author Comment

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.
LVL 62

Expert Comment

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

Author Comment

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

LVL 62

Expert Comment

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Customized reports with vSOM entreprise plus 14 66
Datastore is 0 percent and all VM's shutdown. 53 93
Optimizing SAN 16 56
ESXI update version 7 72
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

738 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