Linux on top of Hyper-V , HDD Passthrough , Misleading Disk Labels ?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Live Axle

New Member
Jul 15, 2013
5
0
1
Hi .

I might be a bit crazy but I'm running my ZFS file server on top of Hyper-V : )

I already moved my ~5TB worth of data there , and everything seems rock stable .

Using Hyper-V's Internal Switch , I was able to saturate the 10GB link between the host (W8.1) and the guest (Arch Linux + ZFS on Linux) in Crystal Disk benchmark (5 drives RAIDZ2) . Pretty cool stuff .

Bench_RAIDZ2_Hyper-V_Internal_Switch_64k_mtu_jumboframes_off.png

I'm passing all those HDDs directly to the VM .

The issue that I'm having is the Hyper-V doesn't passthrough the REAL drives' IDs , usually when you do :
ls /dev/disk/by-id/
You get the full drive ID , Serial Number , Manufacturer , etc . that helps you in identifying which disk is which (excellent for troubleshooting) .
But that is not the case in Hyper-V , instead you recieve some randomly generated numbers :

hyperv.PNG

Any way to fix this ?

Thanks !