WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Troubles converting a pv host from dom0-hosted kernel to

Subject: Re: [Xen-users] Troubles converting a pv host from dom0-hosted kernel to self-contained kernel
From: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Date: Wed, 22 Jul 2009 10:50:30 +0200
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 22 Jul 2009 01:50:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0907211920m1c579940vf05cf88b1edf90a4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A65DBFD.9090304@xxxxxxxx> <7207d96f0907211920m1c579940vf05cf88b1edf90a4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.22 (X11/20090623)
Fajar A. Nugraha a écrit :
Second issue, the boot stop at root partition mount time, trying to force
fsck:
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -a /dev/sda1
fsck.ext3: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
   e2fsck -b 8193 <device>

This happens whatever device I use for root partition in domU /etc/fstab
(/dev/sda1 or /dev/xdva1). However, I can perfectly mount
/dev/vg0/sexonthebeach as an ext3 partition in domU. Morevoer, the emergency
shell has expected content monted under / in both case...

This is odd. What is the EXACT message you got when fstab use xvda1?
I'd try :
- modifying domU config to use xvda1
- change fstab to use xvda
- rebuild domU's initrd
- try again
Well, I probably made a typo in my first try. I finally succeded, using xvda everywhere.

Thanks both of you for your help.

Last question, loosely related to this problem: is there a way to easily
convert a partition-based host to a disk-based host (phy:/dev/vg0/foo,sda1
-> phy:/dev/vg0/foo,sda) ?

None that I know of. Normal cp/tar/rsync/dd should do. I like
partition-based host setup better, since it's easier to mount on dom0
and resize the disk when necessary.
Indeed. I have to balance this with harmonisation with my hardware-virtualised hosts, which are disk-based.



--
Guillaume Rousse
Service des Moyens Informatiques
INRIA Saclay - Île-de-France
Parc Orsay Université, 4 rue J. Monod
91893 Orsay Cedex France
Tel: 01 69 35 69 62

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users