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

Re: [Xen-users] HELP PLEASE !! How to Recover deleted img file?

On 2 Feb 2007 at 14:46, Radu Stanescu wrote:

> Hy today I accidentaly delete the img file of one of my domU. The guest is
> still up and running. How can i recover the img file from which it was
> loaded?
> I tried lsof but i don't see any open file by xen regarding my domU

UNIX semantics mean that the file will go away once it's no longer open. Can 
do something like (please refine!) in DomU?:

tar cf - / | rsh server_with_lots_of_space "cat >backup.tar"

You could also try a blockwise dd of the partitions, but I would not recommend 


Xen-users mailing list



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