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] How to xfs_repair a domU image

To: <gfa@xxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] How to xfs_repair a domU image
From: <peter.chiu@xxxxxxxxxx>
Date: Mon, 1 Mar 2010 10:23:33 -0000
Cc:
Delivery-date: Mon, 01 Mar 2010 02:24:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100301051800.CB35F3EDC@xxxxxxxxxxxxxxxx>
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: <20100301051800.CB35F3EDC@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq4/8pIyr2rFB4UR3Cdd93FWPZ7OgAKXvzA
Thread-topic: [Xen-users] How to xfs_repair a domU image
Cool.

Many thanks, Gustavo,

Peter

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of gustavo panizzo 
<gfa>
Sent: 01 March 2010 05:18
To: Chiu, Peter (STFC,RAL,SSTD); xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] How to xfs_repair a domU image

kpartx


----- Mensaje original -----
De: peter.chiu@xxxxxxxxxx
Enviado: Sábado, 27 de Febrero de 2010 05:40 p.m.
Para: xen-users@xxxxxxxxxxxxxxxxxxx
CC: peter.chiu@xxxxxxxxxx
Asunto: [Xen-users] How to xfs_repair a domU image

I would appreciate for some advice on how to recover a broken DomU image.

On an OpenSuse 10.3 (x86-64) server, I am hosting a OpenSuse 10.3 (x86-64) 
guest, using an image file.

The guest os has been running fine for sometime, until recently it suddenly 
reported IO errors to whatever commands one entered.  At that point,  the Guest 
OS would not allow any ssh log in attempts.

I stopped the domU by issuing "xm shutdown guest", and restart it with "xm 
create -c guest".

However it fails to start up with an error:

    Error: Boot loader didn't return any data!


I did try to use lomount:

   lomount -diskimage image-file -partition 1 mnt-pt

but it fails with  

  mount: Structure needs cleaning

Google search on the above error suggests it is an xfs file system error and it 
needs xfs_repair on a usual system with a native disk.

However, xfs_repair does not provide an option to select offset for partition 1.

Any idea how to recover from this situation?

Many thanks.

Peter

-- 
Scanned by iCritical.

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


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

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

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-users] How to xfs_repair a domU image, peter.chiu <=