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 27.9k Views 8 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post