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] VM running off of single, dedicated disk...

Featured Replies

37 minutes ago, rmp5s said:

No matter what I do, the only options available are raw and qcow2...whatever that is...

You can edit the xml to change it - switch from form view to xml view with the toggle at the top of the page.

  • Replies 62
  • Views 14.4k
  • Created
  • Last Reply
  • Author
7 minutes ago, John_M said:

You can edit the xml to change it - switch from form view to xml view with the toggle at the top of the page.

Ooo...that's right. Lemme give that a shot. Thanks.

53 minutes ago, rmp5s said:

No matter what I do, the only options available are raw and qcow2...whatever that is...
image.png.d3ee29d7d950b3fb91c5c1d65e857778.png

Sorry meant: Primary vDisk Bus: Sata

  • Author
23 minutes ago, jpowell8672 said:

Sorry meant: Primary vDisk Bus: Sata

Tried that.  Doesn't make any difference.

  • Author
36 minutes ago, John_M said:

You can edit the xml to change it - switch from form view to xml view with the toggle at the top of the page.

Like this?

 

image.thumb.png.df58f963f04241fd3c3fb89880b1a9b8.png

10 minutes ago, rmp5s said:

Like this?

 

image.thumb.png.df58f963f04241fd3c3fb89880b1a9b8.png

 <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/ata-Samsung_SSD_860_S3Z1NB0M229066F' index='1'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>

      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>

On 10/31/2019 at 1:09 PM, rmp5s said:

I have a W10 VM that I use (try to use, anyway...) to render videos in Adobe.  It's just on the array and the disk speeds are SO...INCREDIBLY...SLOW...that it takes an unbelievably long time to render.  I stopped a render yesterday after over 2 hours because it was BARELY making progress...my flaccid dual core laptop did the entire render in that same amount of time.  At the rate the server was going, it would seriously have taken 10 hours?...maybe 12?  I don't even know.  It's INCREDIBLY slow and, when I look at resource manager, I notice the disk access is pegged.  Disk speeds seem to be the culprit. 

 

So...I have a spare Samsung 860 Evo laying around.  This got me thinking, how could I install it and dedicate it to the VM?  What I'm wondering is, is it possible to assign that disk ONLY to that VM?  Maybe using "unassigned devices"?  Also, would it be possible to move the VM onto the SSD after I install it or will I have to create a new VM?  No big deal if I have to reroll a new VM.

 

Thank you!!

Are you setting up a new Windows 10 VM or trying to convert your original VM to your dedicated SSD?

  • Author
1 minute ago, jpowell8672 said:

Are you setting up a new Windows 10 VM or trying to convert your original VM to your dedicated SSD?

Trying to convert.  Already DD'd the vdisk to the SSD.  Just trying to get the VM to use the SSD now.

  • Author

Getting this error now.  IThinking I don't have the disk ID correct.  I copied it from the main page...is there another place to see the disk ID?

 

image.thumb.png.7819d4330a64414093b4764d48dd1537.png

3 minutes ago, rmp5s said:

Trying to convert.  Already DD'd the vdisk to the SSD.  Just trying to get the VM to use the SSD now.

Since you are having so much trouble, setting up a fresh Windows 10 VM using your SSD would likely be much easier for you.

  • Author
Just now, jpowell8672 said:

Since you are having so much trouble, setting up a fresh Windows 10 VM using your SSD would likely be much easier for you.

Yea, could be.  This really hasn't been THAT bad so far, though.  And it's looking like this is the last piece of it.

If I can't get this to work, I can definitely roll a new server.  No problem.

19 minutes ago, rmp5s said:

Getting this error now.  IThinking I don't have the disk ID correct.  I copied it from the main page...is there another place to see the disk ID?

 

 

 

Yes. SSH into your server (or open Command Line from Tools)

 

to navigate to the directory, type

 

cd /dev/disk/by-id

 

The, to list all your disks, type

 

ls

 

You'll see something like this;

 

1703148549_Screenshot2020-01-20at21_18_24.thumb.png.9ec310a8b810109d4a96a1b96a7a4934.png

 

Find your disk, and select the first instance of it (none of the 'part' bits). Select up to, but not including, the '@''. That's your ID. (I've highlighted one in the first column, above).

 

I set up many of my VMs like this with dedicated SSDs. Here's an example of one of my passthroughs, for reference;

 

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/ata-CT240BX500SSD1_1923E18670CA'/>
      <target dev='hdd' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>

 

Good luck

 

PS: check you have the type set to 'block', not 'file' when using /disk/by-id. Your latest error indicates you might have it set to file?

 

Edited by meep

  • Author
7 minutes ago, meep said:

 

You'll see something like this;

 

1703148549_Screenshot2020-01-20at21_18_24.thumb.png.9ec310a8b810109d4a96a1b96a7a4934.png

 

Find your disk, and select the first instance of it (none of the 'part' bits). Select up to, but not including, the '@''. That's your ID. (I've highlighted one in the first column, above).

 

Good luck

 

PS: check you have the type set to 'block', not 'file' when using /disk/by-id. Your latest error indicates you might have it set to file?

 

Simple enough!!

Up until...any tips on telling which disk is which?  lol  I have no clue which is the SSD.  And, yup, it was set to block, not file already.


image.thumb.png.a24e77f180fdcee7e78b6f8d2139ecd4.png
 

Ok so you are just putting your Windows 10 VM image on the SSD not installing Windows 10 to SSD.

 

<disk type='file' device='disk'>

<driver name='qemu' type='raw' cache='writeback'/>

<source file='/mnt/cache/vdisk_share/vmname/vdisk1.img'/>

<backingStore/>

<target dev='hda' bus='virtio'/>

<boot order='1'/>

<alias name='virtio-disk0'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>

</disk>

<disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/ata-Samsung_SSD_860_S3Z1NB0M229066F' index='1'/>
      <backingStore/>
      <target dev='hdc' bus='virtio'/>

      <boot order='1'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>

  • Author
2 minutes ago, jpowell8672 said:

<disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/ata-Samsung_SSD_860_S3Z1NB0M229066F' index='1'/>
      <backingStore/>
      <target dev='hdc' bus='virtio'/>

      <boot order='1'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>

Tried that already.  It gives the error above.  I believe I have the device ID wrong.  I tried looking it up using the method above but I have no idea how to tell which device is which.

2 minutes ago, rmp5s said:

Tried that already.  It gives the error above.  I believe I have the device ID wrong.  I tried looking it up using the method above but I have no idea how to tell which device is which.

Main Tab> Unassigned Devices Identification is ID

  • Author
1 minute ago, jpowell8672 said:

Main Tab> Unassigned Devices Identification is ID

That's what I thought.  That's what I've been using and it's giving me an error.

 

Then, when I do the "dev/disk/by-id/" thing, I don't see that disk ID anywhere...at all...

 

Very confusing...

You could have installed a new VM already as suggested earlier but I guess this is a learning lesson if time does not matter.

22 minutes ago, rmp5s said:

Simple enough!!

Up until...any tips on telling which disk is which?  lol  I have no clue which is the SSD.  And, yup, it was set to block, not file already.


image.thumb.png.a24e77f180fdcee7e78b6f8d2139ecd4.png
 

You are close. You’re just passing in a disk Id that doesn’t exist. It needs to be one of those in the by-I’d/ directory, but which one?

 

have a look in tools -> system devices. At the bottom it lists scsi devices, which might have some mapping, or offer a clue.

 

or go to unassigned devices and click the i on to the left of each drive to expand the volume structure. Any clues there?

 

if I had to guess, I’d guess the 4th scsi device, at the top of the second column. The other 3 have a similar structure (part) that would suggest they match your 3x array devices. 

Edited by meep

  • Author
2 minutes ago, meep said:

You are close. You’re just passing in a dusk I’d that doesn’t exist. It needs to be one of those in the by-I’d/ directory, but which one?

 

have a look in tools -> system devices. At the bottom it lists scsi devices, which might have some mapping, or offer a clue.

EXACTLY what I'm thinking, too.

Looking at "system devices" doesn't scream anything to me...I don't see anything in common between the "/by-id" list and the "system devices" list.  You all see anything?  

 

image.thumb.png.2eb1dad4753c750bd933c4695553d01c.png

 

image.thumb.png.8d5faa7f5b8e5ae5f3215beeab3d24e1.png

 

3 minutes ago, rmp5s said:

EXACTLY what I'm thinking, too.

Looking at "system devices" doesn't scream anything to me...I don't see anything in common between the "/by-id" list and the "system devices" list.  You all see anything?  

 

image.thumb.png.2eb1dad4753c750bd933c4695553d01c.png

 

image.thumb.png.8d5faa7f5b8e5ae5f3215beeab3d24e1.png

Nope. I added a few more suggestions to my previous post. 

 

You could also also search the unraid boot log file for some of those strings. Might offer further clues.

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.