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

[Xen-users] Get rid of the partition table in a domU LVM

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Get rid of the partition table in a domU LVM
From: "Nuno L. Ferreira" <nunolf@xxxxxxxxx>
Date: Sun, 28 Mar 2010 15:42:34 +0200
Delivery-date: Sun, 28 Mar 2010 06:43:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=4pSIXgCGl7YUthIiMJynYd5g4lRSeSsz6SQf029vtJM=; b=Fg5s3MSEgXTz1VZz3dSj96c2V40bACxOE4dWiWll432j55m01e0QAKI1mgSGv0wjVJ vWc0JDBeO+JLzWSKWgddI218IdOStVd2WVxayR2uIOB859qenA61H/0PVMMvQR3mi2+V UIDKo5qmDz9Ii9H9CK98GNFgq7YgZZWwT/8Ho=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=wK2/4MbmkOwSVeHyyS50NQYqMq8VryP0Z3wcicm+vohFUcaYupKNawpw4/SzNsu3ue Ad4/tg4u8wTFuS4i5zFgIUJ/58TahAxqOb+22HfJ3k/YIe1rwSfyJA5OsEvKg48RTeD7 ckQ/LaowlVPNUnORmVwxudr6IiSKKBdELodF8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100205 SeaMonkey/2.0.3
Dear *,

This is still related to one of my previous posts ... just digesting it into small pieces. In the past I was able to get rid of the partition table of a domU (either image file or LVM based) by :

1 - mounting the domU (mount -o loop, kpartx and alike)
2 - copying the contents into a fresh LV
3 - edit the xen configuration files, as well as fstab and grub.conf if needed
4 - boot the new LV domU with pygrub and ... that's it.

I found that not having the partition table was easy to handle, whenever I want to make a backup (either dd or tar) and restore it (and that's what I read many times also). I only need to take care of the consistency of the filesystem of the LVM, not worrying myself with the consistency of the partition table.

But now I'm not being able to do it in a fresh CentOS54 x86_64 xen aware dom0, while using the old 4.8 version (those times still using x86 for both domU and dom0) I was not experiencing any problems.

Someone with experience in this matter?
Tot ziens,
N.

Possible something has changed in the default xen installed in the 4.x and 5.x CentOS e

--
==============================================
Nuno Ricardo Santos Loureiro da Silva Ferreira

NMR Spectroscopy Research Group
Bijvoet Center for Biomolecular Research
Utrecht University
Bloembergen gebouw
Padualaan 8, 3584 CH Utrecht
The Netherlands

P: +31.(0)30.253 9932
F: +31.(0)30.253 2652
E: n.l.ferreira@xxxxx
W: http://nmr.chem.uu.nl
==============================================


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

<Prev in Thread] Current Thread [Next in Thread>