|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
[Xen-users] debian lenny -> squeeze domU migration /dev/sdaX not	found
 
I'm migrating a Lenny/2.6.26-1 kernel non-lvm file based DomU to a new
Squeeze Dom0 server (non-lvm hardware RAID1 sdX) running kernel
2.6.32-5-xen-amd64, xen-hypervisor-4.0-amd64, xen-tools 4.2-1. When I do
xm create whatever.domain.com.cfg
it starts, but then when I login with xm console I get:
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin:
Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda2 does not exist.  Dropping to a shell!
BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
(initramfs)
apparently it can't find /dev/sda2, which is specified in
whatever.domain.cfg as:
root        = '/dev/sda2 ro'
disk        = [
'file:/home/xen/domains/whatever.domain.com/swap.img,sda1,w',
'file:/home/xen/domains/whatever.domain.com/disk.img,sda2,w',
              ]
along with updated kernel entries like:
kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
#kernel      = '/boot/vmlinuz-2.6.26-1-xen-amd64'
#ramdisk     = '/boot/initrd.img-2.6.26-1-xen-amd64'
also, 
/home/xen/domains/whatever.domain.com/disk.img and swap.img
exist and have the same ownership/permissions as a newly created
(successful) DomU on this same box using Debian Squeeze xen-tools, which
is working fine.
why can't the old DomU see /dev/sda2
as /home/xen/domains/whatever.domain.com/disk.img ? Is there something I
can edit at xm console inside DomU to make it see those .img's? I've
tried mount, but don't see the fs, and fdisk -l doesn't work.
thx,
Cam
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-users] debian lenny -> squeeze domU migration /dev/sdaX not	found,
Cameron Camp <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |