April 16, 20233 yr 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
April 16, 20233 yr 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
April 19, 20233 yr 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.
April 19, 20233 yr 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.
April 19, 20233 yr 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)
October 4, 20232 yr 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...
May 8, 20242 yr 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.
May 8, 20242 yr 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"}' \
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.