Re: [DNG] Deleted qemu image

2020-07-16 Thread John Morris
On Thu, 2020-07-16 at 11:35 +0100, fraser kendall wrote: > I have just done the stupidest thing. I was freeing up (rm -rf) space > on what I thought was a storage directory (/srv), but I have now just > discovered that it contained a critical qemu image. The image is a W7 > VM and is still

Re: [DNG] Deleted qemu image

2020-07-16 Thread fraser kendall
On Thu, 16 Jul 2020 11:35:20 +0100 fraser kendall wrote: Many, many thanks to everyone for their invaluable posts. The image has been restored and is now running on two identical machines. I'll post below for the record, but wanted to put my thanks at the top of the list. The file was

Re: [DNG] Deleted qemu image

2020-07-16 Thread aitor_czr
Hi, The /srv partition is the largest on this machine and the testdisk recovery image of this partition (~170G) is too large to fit anywhere on the hard drive. I'm not pretty sure, but testdisk allows you to generate an iso image of whatever you want, i seem to remember:

Re: [DNG] Deleted qemu image

2020-07-16 Thread Ludovic Bellière
There is a tool called debugfs, with it you can get a list of deleted files `lsdel', and use the information to restore them with `undel'. Although lsdel is no longer useful, I'm pretty sure the tool may help you recreate a link to the existing inodes. I'd recommend reading the man page. Excerpt

Re: [DNG] Deleted qemu image

2020-07-16 Thread spiralofhope
On Thu, 16 Jul 2020 11:35:20 +0100 fraser kendall wrote: > Best option: 1) can I retrieve the deleted qcow image from a running > instance of that image? The other suggestions are on the right track. I myself have "un-deleted" a file which was held open because it was in use by a running

Re: [DNG] Deleted qemu image

2020-07-16 Thread Ralph Ronnquist via Dng
fraser kendall wrote on 16/7/20 8:35 pm: > I have just done the stupidest thing. I was freeing up (rm -rf) space > on what I thought was a storage directory (/srv), but I have now just > discovered that it contained a critical qemu image. The image is a W7 > VM and is still running; it appears

Re: [DNG] Deleted qemu image

2020-07-16 Thread Joril via Dng
On 16/07/20 12:35, fraser kendall wrote: I have just done the stupidest thing. I was freeing up (rm -rf) space on what I thought was a storage directory (/srv), but I have now just discovered that it contained a critical qemu image. The image is a W7 VM and is still running; it appears

Re: [DNG] Deleted qemu image

2020-07-16 Thread Stefan Krusche
Am Donnerstag 16 Juli 2020 schrieb fraser kendall: > I have just done the stupidest thing. I was freeing up (rm -rf) > space on what I thought was a storage directory (/srv), but I have > now just discovered that it contained a critical qemu image. The > image is a W7 VM and is still running; it

Re: [DNG] Deleted qemu image

2020-07-16 Thread Antony Stone
On Thursday 16 July 2020 at 12:35:20, fraser kendall wrote: > I have just done the stupidest thing. I was freeing up (rm -rf) space > on what I thought was a storage directory (/srv), but I have now just > discovered that it contained a critical qemu image. The image is a W7 > VM and is still

[DNG] Deleted qemu image

2020-07-16 Thread fraser kendall
I have just done the stupidest thing. I was freeing up (rm -rf) space on what I thought was a storage directory (/srv), but I have now just discovered that it contained a critical qemu image. The image is a W7 VM and is still running; it appears unaffected. The /srv partition is the largest on