February 24, 20179 yr I made a massive blunder. I was was clearing off a domains directory to move a disk to btrfs for some of the snapshotting/base image features. Anyway, 1am remotely connected to tower and I rm -fr the wrong domains directory!!! I realize it fairly quickly. Ctrl-C does nothing and I kill the putty session. reconnect to find two VM .img files gone. 1 VM was off and its gone. A machine I just p2v'd last week and have both original hardware and an acronis image. So configuration time lost but no data of any substance. 2 is a windows 7 machine that's STILL RUNNING. In windows the file would likely be locked and not deleted. But in unraid I see no file or directory from console but the vm is running fine. I verified I have data backups of everything I care about. Copied data to array through Samba anyway and even ran a windows system backup (which I've never used). Being logged into this VM is somewhat of a trip. If I turn it off it's gone forever? It's VM analog to the movie crank. Time to recreate will be lost if I cant find a way to prevent the system from carrying out this deletion. The directory and .img are gone but the vm is still running so the data is clearly somewhere. Lastly there are are other vms in the directory. I expect they're ok but I'm still worried that once the first stuck vm is unstuck the rm -fr will continue on. Other than looking at ps is there anything else I can do to make sure the destruction is over? Thanks
Archived
This topic is now archived and is closed to further replies.