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.

Migrating Unraid from PC to VM (Proxmox)

Featured Replies

Hi,

I'm tring to migrate unraid from a standard configuration as single OS on pc to a VM created in proxmox.

The configuration include 5 HD in one array and an other HD attached with unassigned device.

I can boot unraid inside the VM and reach it via browser, but I can't see the 6 HD and I don't know how to setup proxmox to fix this issue. Anyone can help.

 

Tnx

2 minutes ago, Giorgio said:

Hi,

I'm tring to migrate unraid from a standard configuration as single OS on pc to a VM created in proxmox.

The configuration include 5 HD in one array and an other HD attached with unassigned device.

I can boot unraid inside the VM and reach it via browser, but I can't see the 6 HD and I don't know how to setup proxmox to fix this issue. Anyone can help.

 

Tnx

How are the disks connected normally you would need to passthru the hba pci card to the vm

  • Author

tnx, I'll try

  • Author
On 4/16/2023 at 10:25 PM, SimonF said:

How are the disks connected normally you would need to passthru the hba pci card to the vm

I see the HDD listed in proxmox machine under disks (i.e. dev/sda, dev/sdb, ....)

But I can't see them in Unraid VM (i.e. under hardware -> add -> hard disk) so I can't add them in the VM.

 

I don't know if is it possible but I need to see my disks in unraid as I saw them before the migrating or as I see under unraid if I boot up with unraid USB key instead of boot up proxmox.

9 hours ago, Giorgio said:

I see the HDD listed in proxmox machine under disks (i.e. dev/sda, dev/sdb, ....)

But I can't see them in Unraid VM (i.e. under hardware -> add -> hard disk) so I can't add them in the VM.

 

I don't know if is it possible but I need to see my disks in unraid as I saw them before the migrating or as I see under unraid if I boot up with unraid USB key instead of boot up proxmox.

You need to passthru the disk controller to unraid is that possible or are you using for proxmox disks also? I dont use prox so not sure if you can just passthru disks.

15 minutes ago, SimonF said:

You need to passthru the disk controller to unraid is that possible or are you using for proxmox disks also? I dont use prox so not sure if you can just passthru disks.

 

9 hours ago, Giorgio said:

I see the HDD listed in proxmox machine under disks (i.e. dev/sda, dev/sdb, ....)

But I can't see them in Unraid VM (i.e. under hardware -> add -> hard disk) so I can't add them in the VM.

 

I don't know if is it possible but I need to see my disks in unraid as I saw them before the migrating or as I see under unraid if I boot up with unraid USB key instead of boot up proxmox.

this might help but drive names may be different to existing umraid setup

 

https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)

  • 1 month later...
  • Author

TNX it works

  • 4 months later...
On 5/25/2023 at 5:30 PM, Giorgio said:

TNX it works

Hi @Giorgioare you able to expand on how you did this? I am thinking of doing the same...

  • 7 months later...
On 4/19/2023 at 12:10 PM, SimonF said:

 

this might help but drive names may be different to existing umraid setup

 

https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)

 

Your right, I passed though the drives and they were renamed once booted and into the unraid dashboard. Is there anyway I can plug in the drives as is and start my array without unraid wanting to reformat and start over?

So far what I've found is that the only way I can do a 'true' passthough is by passing though the whole SBA... which kindof defeats the purpose to me of virtualizing (as my sba hooks into my backplane and I have other storage pools for proxmox and the disk that proxmox OS is installed to). I feel like all would be fine if I wasnt trying to do a migration w/ existing data on disks.

4 hours ago, randypfau said:

 

Your right, I passed though the drives and they were renamed once booted and into the unraid dashboard. Is there anyway I can plug in the drives as is and start my array without unraid wanting to reformat and start over?

So far what I've found is that the only way I can do a 'true' passthough is by passing though the whole SBA... which kindof defeats the purpose to me of virtualizing (as my sba hooks into my backplane and I have other storage pools for proxmox and the disk that proxmox OS is installed to). I feel like all would be fine if I wasnt trying to do a migration w/ existing data on disks.

I have a test Unraid VM running under unraid. For the disks you can specify the serial, I suspect you should be able to do in prox? Serial in the libvirt is the Id for the disk in Unraid.

 

    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains2/Unraid-VM/vdisk1.img' index='5'/>
      <backingStore/>
      <target dev='hdc' bus='virtio'/>
      <serial>vdisk1</serial>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>

 

Which maps to this on the qemu cmdline

 

-blockdev '{"driver":"file","filename":"/mnt/user/domains2/Unraid-VM/vdisk1.img","node-name":"libvirt-5-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-5-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-5-storage"}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.0","addr":"0x6","drive":"libvirt-5-format","id":"virtio-disk2","write-cache":"on","serial":"vdisk1"}' \

 

image.png

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.