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.

VM Pause from vdisk capacity overflow

Featured Replies

I'm running a server with an Unraid VM on it. After a couple of hours, the VM pauses and stops running a Helix Core host (file sharing and revision history service). I believe this is due to the vdisk reaching it's capacity (as shown in the screenshot below). When it pauses, I have to power cycle the server to get it running again.

1) Is there any easier way to get it off of the paused state?

2) How can I avoid getting to a paused state?

Thanks in advance for the help.

image.png

Solved by JorgeB

  • Author
1 hour ago, JorgeB said:

Use a larger storage device for the vdisk? Also make sure the vdisk is being trimmed:

 

https://forums.unraid.net/topic/51703-vm-faq/?do=findComment&comment=557606

 

Thanks for the help! I think I'm on the right path for trimming the disk but I'm not sure where to find the SCSI driver. I navigated to E:\vioscsi\w10 but don't have a driver there. I assume my issue is in step 1 of the link you sent me "First we need to install the SCSI controller".

 

image.thumb.png.245a4b2968be5c8eb79cea0fe5668ce1.png

 

I tried moving on anyway with the steps as if an SCSI driver was already installed. When I tried to reboot, Windows would crash. I made sure beforehand have fast startup off to avoid that but still had problems.

 

image.thumb.png.eeb874796864a196938de842e1bf9fc2.png

 

Any guidance?

 

9 minutes ago, lwintz said:

Thanks for the help! I think I'm on the right path for trimming the disk but I'm not sure where to find the SCSI driver

As of lately you don't need the SCSI driver, it's mentioned in the FAQ entry, just add the unmap=discard option, that should be enough.

  • Author
9 minutes ago, JorgeB said:

As of lately you don't need the SCSI driver, it's mentioned in the FAQ entry, just add the unmap=discard option, that should be enough.

Windows still crashes whenever I try to run the VM after adding that. Specifically the stop code is "INACCESSIBLE BOOT DEVICE".

image.thumb.png.9b76b0a5ac85ad787a2841e0155d398e.png

 

This is the current set up

image.thumb.png.aaaae166440459412d08b2acbf7e7650.png

Edited by lwintz

If you don't change the controller type you should not get that error, were you using virtio?

It's visible on your first screenshot, change back to virito, but leave the unmap=discard option

  • Author
3 hours ago, JorgeB said:

It's visible on your first screenshot, change back to virito, but leave the unmap=discard option

changed the bus for vdisk1 back to virtio with the unmap=discard. Had another capacity and allocation = 100G pause as described in my first screenshot. Also, just want to thank you again for helping.

image.thumb.png.10fe0c4c5816c3aaf19ae3630c2f80c9.png

 

EDIT

Started sending them again and am now stuck at this. The capacity is much larger than the allocation but it still paused itself automatically.

image.thumb.png.61003d929730430c74158b9e0839d9a2.png

Edited by lwintz

Did you trim the vdisk by running Windows defrag?

  • Author
7 hours ago, JorgeB said:

Did you trim the vdisk by running Windows defrag?

yep, redid it again just to be sure today

image.png.137f536058f348e91dc5f33aa71ccb92.png

How is the available space of the actual storage device where the vdisk resides?

  • Author
On 2/21/2024 at 11:00 AM, JorgeB said:

How is the available space of the actual storage device where the vdisk resides?

There are 3 8 TB disks that have parity to each other. I'm not sure how I would find the location of the vdisk. I know that "mnt/" refers to the location it's mounted on the drive, but I don't know how to find where that actually is.

Post the output of:

 

find /mnt -name <vdisk name>

 

  • Author
57 minutes ago, JorgeB said:

Post the output of:

 

find /mnt -name <vdisk name>

 

/mnt/user/domains/Windows 10/vdisk1.img

  • Community Expert
3 hours ago, lwintz said:

There are 3 8 TB disks that have parity to each other. I'm not sure how I would find the location of the vdisk. I know that "mnt/" refers to the location it's mounted on the drive, but I don't know how to find where that actually is.

getfattr --absolute-names --only-values -n system.LOCATION /mnt/user/domains/vm name/vdisk1.img should tell you the physical location

  • Author
1 hour ago, JorgeB said:

It should output more results.

 

Misread your comment

image.png.bbeea816fa5c0984eae1756fce0215d4.png

 

14 minutes ago, SimonF said:

getfattr --absolute-names --only-values -n system.LOCATION /mnt/user/domains/vm name/vdisk1.img should tell you the physical location

image.thumb.png.d6be52268f0bb3afd9f49d7972259195.png

 

Edited by lwintz

You do that on the Unraid CLI, not the VM

  • Author
On 2/23/2024 at 12:58 PM, JorgeB said:

You do that on the Unraid CLI, not the VM

ah

image.png.117356ea1701f6ea051b539087beed9a.png

Cache has plenty of space, I'm afraid that if it's still pausing, there may be an issue with the vdisk.

  • Author
1 minute ago, JorgeB said:

Cache has plenty of space, I'm afraid that if it's still pausing, there may be an issue with the vdisk.

Meaning how it's been set up? How the data is allocated? Would I need to recreate my VM if I wanted to change my vdisk?

You could create a new vdisk and then if you need to copy something from the old one try assign it as disk2.

  • Community Expert
4 hours ago, lwintz said:

Meaning how it's been set up? How the data is allocated? Would I need to recreate my VM if I wanted to change my vdisk?

Have you increase the partition within the disk also? Also check you have set power options not to suspend etc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.