Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SOS Accidental DELETION of .img while vm running

Featured Replies

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.