LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices



Reply
 
Search this Thread
Old 02-02-2011, 04:22 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Rep: Reputation: 116Reputation: 116
Seeing disks /dev/sda and /dev/sdb


I have a raw image, taken from a real hard drive, of a Linux system that was originally set up where it expects the disks to show up as /dev/sda and /dev/sdb. Is there a virtual machine program that can run this system? If it emulates a SCSI, SAS, or SATA controller that Linux has a driver for, I'd think that would do it. The image for sda is in raw (dd) format which apparently can be easily converted to qcow2, so that's probably not an issue.
 
Old 02-02-2011, 04:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
why does it actually matter what the devices are called? Is that just fstab entries? Surely no functionality of the server would care what the disk block devices are called. What virtualization are you using? If you're anywhere near qemu i'd not look at qcow2 images and just use virtio interfaces to the raw images you already have, no conversion required at all, and better performance afaik. You need the guest to have virtio drivers though.
 
Old 02-02-2011, 05:08 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, CentOS, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,777
Blog Entries: 20

Original Poster
Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by acid_kewpie View Post
why does it actually matter what the devices are called? Is that just fstab entries? Surely no functionality of the server would care what the disk block devices are called. What virtualization are you using? If you're anywhere near qemu i'd not look at qcow2 images and just use virtio interfaces to the raw images you already have, no conversion required at all, and better performance afaik. You need the guest to have virtio drivers though.
It's a pre-existing guest OS system that has been configured to specific disk devices /dev/sda and /dev/sdb instead of label or UUID. I don't know if it has virtio drivers or not (it's based on Ubuntu 9.10 and the hacks were not to the drivers or modules). I want to run it in a virtual machine here because I don't have any spare hardware to put it on right now. It comes from a remote system that won't finish booting. This is to see if I can figure out why it won't finish. It hangs silently after it reports the disks are clean.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iscsi: which local device (/dev/sda, /dev/sdb) is used WITHOUT dmesg? knikkerr Linux - Software 3 08-13-2010 05:30 AM
how the device will take the name as /dev/sda.../dev/sdb... ? sanjay2004 Linux - Software 1 05-27-2008 10:25 AM
/dev/sda & /dev/sdb keeps swapping name sinister1 Linux - Hardware 4 02-18-2008 02:44 AM
RHEL4U5 install changes /dev/sda to /dev/sdb bhoch Red Hat 8 12-05-2007 07:33 AM
forcing the order of /dev/sda /dev/sdb etc.. jdaniel Linux - Software 5 05-23-2006 08:41 AM


All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration