Solved

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

Posted on 2008-10-05
8
1,006 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 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

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.

Question has a verified solution.

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

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

813 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

16 Experts available now in Live!

Get 1:1 Help Now