[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.