kpartx
----- Mensaje original -----
De: peter.chiu@stfc.ac.uk
Enviado: Sábado, 27 de Febrero de 2010 05:40 p.m.
Para: xen-users@lists.xensource.com
CC: peter.chiu@stfc.ac.uk
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@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
<peter.chiu@stfc.ac.uk>
2010-Mar-01 10:23 UTC
RE: [Xen-users] How to xfs_repair a domU image
Cool.
Many thanks, Gustavo,
Peter
-----Original Message-----
From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of gustavo panizzo
<gfa>
Sent: 01 March 2010 05:18
To: Chiu, Peter (STFC,RAL,SSTD); xen-users@lists.xensource.com
Subject: RE: [Xen-users] How to xfs_repair a domU image
kpartx
----- Mensaje original -----
De: peter.chiu@stfc.ac.uk
Enviado: Sábado, 27 de Febrero de 2010 05:40 p.m.
Para: xen-users@lists.xensource.com
CC: peter.chiu@stfc.ac.uk
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@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
--
Scanned by iCritical.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users