Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Recover deleted file on XFS that is currently open
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1400
Location: Adelaide/Australia

PostPosted: Wed Mar 28, 2012 9:42 pm    Post subject: [Solved] Recover deleted file on XFS that is currently open Reply with quote

I accidentally deleted some virtualbox disk image files on an XFS filesystem.

The VM is currently running but the disk files are not visible in the XFS filesystem, however, the underlying inodes are still available, as they are currently open.
VirtualBox manager shows the images are still ok but cannot clone them.

I expect that when I shut down the VM, the files will be really gone, so I won't be shutting down that VM for a little while.

These disk images are not that important to me but I was wondering if there is a way that I could recover these image files, before they disappear completely, more out of curiosity than anything.
_________________
...Lyall


Last edited by lyallp on Thu Mar 29, 2012 10:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43015
Location: 56N 3W

PostPosted: Wed Mar 28, 2012 11:00 pm    Post subject: Reply with quote

lyallp,

While the file is still open you can do Recovering files from /Proc
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum