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

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

To: Henning Sprang <henning_sprang@xxxxxx>
Subject: [Xen-users] Re: HELP PLEASE !! How to Recover deleted img file?
From: Ligesh <myself@xxxxxxxxxx>
Date: Fri, 2 Feb 2007 18:52:47 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Radu Stanescu <radukn@xxxxxxxxx>
Delivery-date: Fri, 02 Feb 2007 05:22:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0702020515x547e15acr28c3b4aa06886366@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <a65866940702020446i7b2d722asabe08d420f373854@xxxxxxxxxxxxxx> <5bb00b3f0702020515x547e15acr28c3b4aa06886366@xxxxxxxxxxxxxx>
Reply-to: Ligesh <myself@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Fri, Feb 02, 2007 at 02:15:30PM +0100, Henning Sprang wrote:
> On 2/2/07, Radu Stanescu <radukn@xxxxxxxxx> wrote:
> >Hy today I accidentaly delete the img file of one of my domU. The guest is
> >still up and running.
> 
> Interesting, can you even login, and the system still works?
> Then Xen is saving the file from being deleted totally until the vm is
> shut down. After that, it will probably free the open file, and it
> will be gone.
> 
> So don't stop the vm, and do a full rsync backup ASAP.
> 

 Not xen. It is a property of the unix kernel. It won't delete the file unless 
the open file descriptor count is 0. Maybe if you ask in the linux kernel 
mailing list, someone might be able to help you out.

 Thanks.



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