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] How do I assign a second hard drive to my Win 8.1 VM

Featured Replies

Good morning.

 

I have a windows 8.1 VM up and running using the VM manager.  The only thing I have really done so far is installed the virtual drivers for my Ethernet port.  I would like to assign a large hard drive to the newly created VM but do not know how to accomplish this.  I can get it mounted in Unraid using my go file but to have it used by the VM I do not even know where to begin.

 

Any help is appreciated.  If you need more information before an answer can be had please let me know.

Good morning.

 

I have a windows 8.1 VM up and running using the VM manager.  The only thing I have really done so far is installed the virtual drivers for my Ethernet port.  I would like to assign a large hard drive to the newly created VM but do not know how to accomplish this.  I can get it mounted in Unraid using my go file but to have it used by the VM I do not even know where to begin.

 

Any help is appreciated.  If you need more information before an answer can be had please let me know.

You don't want it mounted in unRAID.  You can find the disk id on the main unRAID page under unassigned devices minus ata or in /dev/disk/by-id. I mount the whole disk instead of the partition.  Then format and partition in the operating system. You'll what to add something like this to your xml.

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/disk/by-id/ata-ST9500420AS_5VJAPHXS'/>
      <target dev='vdb' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>

  • Author

Thank you for the quick answer, I will attempt this when I get home today!

 

Besides the (<source dev='/dev/disk/by-id/ata-ST9500420AS_5VJAPHXS'/>) is there anything else that might need modified such as the address type, etc.  I am very new to KVM and VM in general if that is not obvious.  I'm trying to learn as we go.

 

Is there a post I can reference that would have me understand what each item is in the xml?  It might help limit my questions going forward :)

Thank you for the quick answer, I will attempt this when I get home today!

 

Besides the (<source dev='/dev/disk/by-id/ata-ST9500420AS_5VJAPHXS'/>) is there anything else that might need modified such as the address type, etc.  I am very new to KVM and VM in general if that is not obvious.  I'm trying to learn as we go.

 

Is there a post I can reference that would have me understand what each item is in the xml?  It might help limit my questions going forward :)

 

Yes address may need to be modified.

Try this link https://libvirt.org/formatdomain.html

 

  • Author

Thanks, that worked beautifully.  I changed <target dev='vdb' bus='virtio'/> to read <target dev='hdb' bus='virtio'/> as that matched what I had for the other drive already installed. Is this acceptable?

Thanks, that worked beautifully.  I changed <target dev='vdb' bus='virtio'/> to read <target dev='hdb' bus='virtio'/> as that matched what I had for the other drive already installed. Is this acceptable?

It doesn't matter as long as it's unique. It still may be vdb inside the vm if you changed it after you already started the vm.

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.