Ashit Kumar
2007-Apr-06 05:37 UTC
[Xen-users] DomU crash on connecting to the console (Urgent)
Hi all, Here are the things that I tried to do: Created a volume group: # vgcreate /dev/sdd/ VG # lvcreate -L4096M -n myvmdisk1 VG Created a filesystem, mounted and populated it. # mkfs -t ext3 /dev/VG/myvmdisk1 # mount /dev/VG/myvmdisk1 /mnt # cp -ax / /mnt # umount /mnt Now in my configuration file I did disk = [ ''phy:VG/myvmdisk1,sdd,w'' ] I tried to create the VM through xm command: xm create -c xmexample vmid=4 pci=0x:0x.0 ip=x.x.x.x netmask=x.x.x.x dhcp=off dns=<name> gateway=x.x.x.x hostname=<hostname> The DomU creation goes fine and it shows on the xm list output. But when I try to connect to the console it panic: VFS: Cannot open root device "sdd" or unknown-block(2,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) And the DomU crashes. Can anyone suggest me what might be the problem? Anticipating a quick reply. Thanks and regards Ashit _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
trilok nuwal
2007-Apr-06 06:06 UTC
Re: [Xen-users] DomU crash on connecting to the console (Urgent)
specify the root="/dev/sdd" in your your config file. Still a lot of things u have to do. First try to read some documents. Read a xen user manual. This would be a good starting point. On 4/6/07, Ashit Kumar <Ashit_Kumar@symantec.com> wrote:> > Hi all, > Here are the things that I tried to do: > Created a volume group: > # vgcreate /dev/sdd/ VG > # lvcreate -L4096M -n myvmdisk1 VG > Created a filesystem, mounted and populated it. > # mkfs -t ext3 /dev/VG/myvmdisk1 > # mount /dev/VG/myvmdisk1 /mnt > # cp -ax / /mnt > # umount /mnt > Now in my configuration file I did > disk = [ ''phy:VG/myvmdisk1,sdd,w'' ] > I tried to create the VM through xm command: > xm create -c xmexample vmid=4 pci=0x:0x.0 ip=x.x.x.x netmask> x.x.x.x dhcp=off dns=<name> gateway=x.x.x.x > hostname=<hostname> > > The DomU creation goes fine and it shows on the xm list output. > But when I try to connect to the console it panic: > VFS: Cannot open root device "sdd" or unknown-block(2,0) > Please append a correct "root=" boot option > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(2,0) > And the DomU crashes. > > Can anyone suggest me what might be the problem? > Anticipating a quick reply. > > Thanks and regards > Ashit > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users