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

Re: [Xen-users] Xen Image corrupted and How to recover it.



On June 29, 2016 1:29:29 AM EDT, Jason Long <hack3rcon@xxxxxxxxx> wrote:
>Hello.If a Xen VM corrupted then how can I fix and recover it? Is it
>possible? For example, A .img or a LVM corrupted.
>Thank you.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Xen-users mailing list
>Xen-users@xxxxxxxxxxxxx
>http://lists.xen.org/xen-users

If your image file contains more than one partition, you can use kpartx to 
expose each partition individually as a loopback device. Then you can do 
traditional fsck / whatever other recovery tools to recover as you would any 
normal disk.

But really, if it's severe corruption, you should probably just restore from 
backup.

--Sean

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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