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.

(SOLVED) VMs disappear after a server restart, files still available

Featured Replies

Setup my first VM since upgrading to 6.5.3 and the VM disappeared after i restart unraid server.

 

I examined the vm manager settings based on some other forum posts and everything seems like it should be working..

 

libvirt storage location: /mnt/cache/system/libvirt.img

default vm storage path: /mnt/user/domains/

 

# ls -l /mnt/cache/system/libvirt.img
-rw-rw-rw- 1 nobody users 1073741824 Aug  9 15:15 /mnt/cache/system/libvirt.img

 

# ls -l /mnt/user/domains/Windows\ 10/
total 50586668
-rwxrwxrwx 1 root root 429496729600 Aug  9 14:37 vdisk1.img*

server-diagnostics-20180809-1525.zip

 

cat /boot/config/domain.cfg

SERVICE="enable"
IMAGE_FILE="/mnt/cache/system/libvirt.img"
IMAGE_SIZE="1"
DEBUG="no"
DOMAINDIR="/mnt/user/domains/"
MEDIADIR="/mnt/user/isos/"
VIRTIOISO="/mnt/user/isos/virtio-win-0.1.141-1.iso"
BRNAME="br0"
VMSTORAGEMODE="auto"
TIMEOUT="60"
HOSTSHUTDOWN="shutdown"

 

Edited by drewbuntu
Solved tag

  • Author

I've noticed that it appears to be making copies of both the libvirt.img and the vdisk.img. puts them in both /mnt/user/... and /mnt/cache/...

 

# ll -h /mnt/user/domains/Windows\ 10/vdisk1.img
-rwxrwxrwx 1 root root 400G Aug  9 14:37 /mnt/user/domains/Windows\ 10/vdisk1.img*

# ll -h /mnt/cache/domains/Windows\ 10/vdisk1.img
-rwxrwxrwx 1 root root 400G Aug  9 14:37 /mnt/cache/domains/Windows\ 10/vdisk1.img*
# ll -h /mnt/user/system/libvirt.img
-rw-rw-rw- 1 nobody users 1.0G Aug  9 15:31 /mnt/user/system/libvirt.img

# ll -h /mnt/cache/system/libvirt.img
-rw-rw-rw- 1 nobody users 1.0G Aug  9 15:31 /mnt/cache/system/libvirt.img

 

  • Community Expert

They are two different views of the same file(s).    /mnt/cache is the physical drive view, while /mnt/user is the User Share view.

  • Author
3 hours ago, itimpi said:

They are two different views of the same file(s).    /mnt/cache is the physical drive view, while /mnt/user is the User Share view.

 

Hmm. i dont have a share named "user".

 

Well, i recreated the VM and pointed to the same VDISK and it persisted through a server reboot. not sure what happened but it was annoying AF

  • Community Expert
7 minutes ago, drewbuntu said:

 

Hmm. i dont have a share named "user".

 

Well, i recreated the VM and pointed to the same VDISK and it persisted through a server reboot. not sure what happened but it was annoying AF

I was not trying to say you had a share called user, but that User Shares appear as folders under the /mnt/user location.

9 minutes ago, drewbuntu said:

Hmm. i dont have a share named "user".

Correct, all your shares are subfolders in that /mnt/user folder.

  • Author
1 hour ago, jonathanm said:

Correct, all your shares are subfolders in that /mnt/user folder.

Ah. That makes a lot of sense. Ty

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.