XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Attaching USB storage via XOA

    Scheduled Pinned Locked Moved Xen Orchestra
    22 Posts 10 Posters 18.4k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SpoonyLove @SpoonyLove
      last edited by

      @SpoonyLove

      Found some resources that answered my own question. For the sake of future google searches, please redirect my question to:

      https://psychogun.github.io/docs/xcp-ng/USB-passthrough/

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        gn_ro @SpoonyLove
        last edited by

        @SpoonyLove @olivierlambert
        For usb passthrough we are using USB redirector over network
        For anything storage related we use something like this:

        mkdir /adm/passSR
        
        passUUID=`xe sr-create name-label="Direct access SR" name-description="Direct acces to hdd with simlink" type=udev content-type=disk device-config:location=/adm/passSR`
        
        ln -s /dev/sdb /adm/passSR/sdb
        
        xe sr-scan uuid=$passUUID
        xe vdi-list sr-uuid=$passUUID
        

        Remember to replace /dev/sdb with your device.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post