Solved

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

Posted on 2008-10-05
8
1,004 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
  • 4
  • 4
8 Comments
 
LVL 61

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 61

Expert Comment

by:gheist
ID: 22657295
You missed disk copying.
0
 

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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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 61

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 61

Expert Comment

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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

929 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now