The Blog

Xenserver Hard Drive / Whole Disk Passthrough with XCP-NG

Xenserver Hard Drive / Whole Disk Passthrough with XCP-NG #Xenserver #Hard #Drive #Disk #Passthrough #XCPNG

- 18 Comments. in Technology

Amazon Affiliate Store

Gear we used on Kit (affiliate Links)

Try ITProTV free of charge and get 30% off!

Use OfferCode LTSERVICES to get 10% off your order at

Tesla Referral Program Offer

Lawrence Systems Shirts and Swag

Digital Ocean Offer Code

HostiFi UniFi Cloud Hosting Service

Protect you privacy with a VPN from Private Internet Access

Google Fi Service Referral Code

More Of Our Affiliates that help us out and can get you discounts!



Our Forums



Our Web Site

[2020 Latest] Wireless Charger, YEMO 3 in 1 Qi-Certified Wireless Charging Station for AirPods/Apple Watch Series 5/4/3/2/1,Fast Wireless Charging Stand for iPhone 11/11 pro/11 Pro Max/XS Max/XR



  1. OdNaTioN97 - September 19, 2020

    Give this man a shield, he deserves it

  2. David Hahn - September 19, 2020

    Thanks so much! With your help I've been able to virtualize my entire setup.

  3. David G - September 19, 2020

    best thing to do us /dev/by-uuid instead of /dev/sdX

  4. David G - September 19, 2020

    Does this passthrough smart?

  5. phalcon23 - September 19, 2020

    Is it possible to just a XCP-NG hard drive management? I'm at a loss of how to add and remove drives… I initially installed it so all 6 of my hard drives were one giant LVM (2x sdd, 2x500gb sas, 2x3gb sas…

    I want them all seperte so I can you know put OS to the ssd and use the others for storage…

  6. Lazaros Moisidis - September 19, 2020

    Hi Tom!

    Is there any way to passthrough the device by-id (like proxmox does) as device names like /dev/sda can change?

  7. lance eilers - September 19, 2020

    Hi Tom , brilliant demo – I am blown away by this , in my mind I am thinking xcp-ng with open stack inside and building a freenas box inside the openstack with internal and external connectivity (nested virtualization) , or xcp-ng with pfsense vm controlling a freenas vm setting up iscsi with VLANS on 10G all with hhd pass thru … keep them coming I am learning alot Tom very very awesome , thanks a bunch and keep smiling best regards Lance

  8. biggr - September 19, 2020

    Hi Tom, thanks for your great videos!
    Which raid are you using ? Let’s say for a VDI server?

  9. Afroman124 - September 19, 2020

    Do you need a processor that supports PCI pass through (Intel VT-d) for this to work? I have an old board with an Intel CPU that does support virtualization but does not have VT-d so no PCI pass through.

  10. chromefinch - September 19, 2020

    AWESOME!!! OMG Thank you! Now do a NIC!

  11. wildmanjeff42 - September 19, 2020

    are snapshots effected by passthrough of storage controller to freenas and having freenas control the drives directly?

  12. Tim - September 19, 2020

    Does the passthrough include s.m.a.r.t?

  13. MirkWoot - September 19, 2020

    great, and i learned about cfdisk tool 🙂

  14. Scott Sisco - September 19, 2020

    Hi Tom, great video. However, I would recommend naming the hard drives within xcp-ng based on the serial number of the drive rather than the Linux device name. On several occasions I have seen the Linux device name change for a hard drive on Linux system and it would be a bummer if you pulled the wrong drive when trying to repair a software raid.

  15. pepeshopping - September 19, 2020

    Just like in ESXi, this is NOT truly passthrough as there is still the added latency of the OS layer, but it works.

    I prefer to simply install a SATA controller for the disks that I need passthrough so there is no added latency etc.

  16. Eric Funchess - September 19, 2020

    Tom, lets just say I created a freenas zpool with this setup, can I then remove the drives and attach it to another freenas instance?

  17. Johannes Wagner - September 19, 2020

    Again, THANK YOU, realy great video. Please more 🙏

  18. fromNYC - September 19, 2020

    First comment and like😎

Leave a Reply