phneutral Posted July 23, 2019 Share Posted July 23, 2019 Hi folks, I've followed spaceinvaders useful guide (8:00 minutes in) but can't figure out why this isn't working for me. When I add the ID and save, it hangs and won't update. any ideas what i'm doing wrong? e.g. /dev/disk/by-id/ata-My_Passport_25E2_57583631413138354B324554 Quote Link to comment
bastl Posted July 23, 2019 Share Posted July 23, 2019 Is the disk mounted by unassigned devices? Quote Link to comment
phneutral Posted July 23, 2019 Author Share Posted July 23, 2019 yeah, I can enable passthrough by adding /dev/sdX - this had been my workaround but recently Windows stopped recognising the partition when the drive was re-attached (even after updating /dev/sdX in the 2nd vdisk settings) and it required formatting in diskmgmt every time it was connected Quote Link to comment
phneutral Posted July 23, 2019 Author Share Posted July 23, 2019 i've also tried different USB drives, can't get any to work with /dev/disk/by-id/ Quote Link to comment
bastl Posted July 23, 2019 Share Posted July 23, 2019 If I have mounted a drive with unassigned devices I can't hand it over to a VM. Click unmount in unassigned devices and try your passthrough again. Quote Link to comment
phneutral Posted July 23, 2019 Author Share Posted July 23, 2019 still no luck adding with /dev/disk/by-id/, but mounted or unmounted I can add it to VM using /dev/sdp or /dev/sdp1 but Windows 10 will not show the partition I created the last time it was attached, even unRaid sees the partition 'DB' Windows just shows 'disk1' Quote Link to comment
bastl Posted July 23, 2019 Share Posted July 23, 2019 Can you assign a drive letter to that partition in Windows? Rightclick on the partition and select "change drive letter or paths" and choose a letter that isn't in use by any other device or network share. Quote Link to comment
phneutral Posted July 23, 2019 Author Share Posted July 23, 2019 yes that fixed the issue with the partition not showing - thanks any other ideas about the disk/by-id issue? Quote Link to comment
bastl Posted July 23, 2019 Share Posted July 23, 2019 I never attached a USB device this way. Only SSDs or harddrives I attached by-id. For USB devices like mouse and keyboard, the VM settings page option to add them never had any issues with that. The Libvirt-Hotplug Addon also does it's job if I needed it. Best option still is to passthrough a dedicated USB controller to a VM to have plug and play function like on a real system. Quote Link to comment
phneutral Posted July 23, 2019 Author Share Posted July 23, 2019 appreciate your help, will get this set-up properly Quote Link to comment
Recommended Posts
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.