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] guest os failed after resize file base image

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] guest os failed after resize file base image
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Tue, 26 Apr 2011 11:10:29 +0700
Delivery-date: Mon, 25 Apr 2011 21:12:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DB63A18.1050705@xxxxxxxxx>
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: <4DB63A18.1050705@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
2011/4/26 Hoping White <baihaoping@xxxxxxxxx>
Hi, all

I have tried to resize my vm image which is file based using lvm because
my guest os is centos5.3.

How?
The best practice when domU is using LVM is NOT to resize the disk image, but add another disk image as additional PV to domU

I also tried to losetup my resized image on domain0, and mount on
domain0, all seems ok.


If you can mount it and all files are there (no corruption/missing files), then the resize should not make a difference.
I'd try by using a known-to-work kernel and initrd (possibly by copying from a freshly-installed domU system with LVM).

--�
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>