Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Unable to reboot a domU: msg#00052

Subject: Re: Unable to reboot a domU
Well, I used a DRBD block device, so the -oloop mount option won't work to mount my image. Oddly, I can't seem to mount the block device either. Perhaps that's my real problem? (Though why it worked the first time....?)

Anyway, my xen config file looks like this:

# Automatically generated xen config file
name = "mail"
memory = "512"
disk = [ 'phy:/dev/drbd2,xvda,w', 'phy:/dev/VolGroup00/ mailSwap,xvdb,w' ]
vif = [ 'mac=00:16:3e:75:d2:20' ]
bootloader="/usr/bin/pygrub"
on_reboot   = 'restart'
on_crash    = 'restart'

... where /dev/drbd2 is the DRBD block device holding both /boot/ and /. If I use fdisk to get a listing on /dev/drbd2, I see:

Disk /dev/drbd2: 31.4 GB, 31474057216 bytes
255 heads, 63 sectors/track, 3826 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

      Device Boot      Start         End      Blocks   Id  System
/dev/drbd2p1   *           1          13      104391   83  Linux
/dev/drbd2p2              14        3826    30627922+  8e  Linux LVM


So it *seems* like I should be able to mount /dev/drbd2p1 or /dev/ drbd2p2. Alas:

# mount /dev/drbd2p1 /mnt
mount: special device /dev/drbd2p1 does not exist

# mount /dev/drbd2p2 /mnt
mount: special device /dev/drbd2p2 does not exist

I'd be happy to blame this on DRBD, but this did work for both install and after the first reboot....

On Mar 15, 2006, at 6:19 PM, You, Yongkang wrote:

-----Original Message-----
From: fedora-xen-bounces@xxxxxxxxxx
[mailto:fedora-xen-bounces@xxxxxxxxxx] On Behalf Of Ben
Sent: 2006年3月16日 10:09
To: fedora-xen@xxxxxxxxxx
Subject: [Fedora-xen] Unable to reboot a domU

I installed a domU on x86_64 today, and was very happy. I even logged
into it and saw that things seemed to be working, and all was well. I
tried to reboot it, and now the domU kernel panics every time I try
to boot. :(

So at present you couldn't create XenU with that image again? I think maybe your XenU image is broken.

Maybe you can do a manually mount that image file and check if /etc/ fstab is there.
mount -oloop xenU_image_file /mnt


The bug is 185603, and the console end with:

no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
Kernel panic - not syncing: Attempted to kill init!




Best Regards,
Yongkang (Kangkang) 永康


--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe