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

    storage configurations are pretty disjointed

    Scheduled Pinned Locked Moved Management
    4 Posts 3 Posters 792 Views 2 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.
    • J Offline
      jsox79
      last edited by

      after setting up my servers, come to find out i added them as independent pools. after moving all my vms to my controller and reinstalling the servers, reinitializing the hba storage, and now adding them to the pool, i cannot add this storage as an sr. it sees the existing lun but when i try to add it, i get an error cannot find device.

      now if i add the storage to the host before i add it to the pool it adds just fine, but then i cannot add the host to the pool because it says the storage is shared. this feels very ridiculous, although i must be doing something wrong, ive errored on the side og intuition but this whole process feels counter-intuitive.
      xcp jedi masters please school me on the ways, lol. im at my wits end.

      lawrencesystemsL 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        I'm not sure that I understand why you had to reinstall the servers and reinitialize the storage. 🤔

        Were you able to add the shared storage to the pool master? Do you find a log entry related to the error in Settings > Logs? If so, then please post the full error log here.

        1 Reply Last reply Reply Quote 0
        • lawrencesystemsL Offline
          lawrencesystems Ambassador @jsox79
          last edited by

          @jsox79 said in storage configurations are pretty disjointed:

          reinitializing the hba storage

          Are you trying to share the HBA storage from one host to the others?

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jsox79 @lawrencesystems
            last edited by

            @lawrencesystems
            configuration is as follows
            one server, basically a dell t30 that i use to run debian with appliance
            dell server with 4 3tb drives in raid 5 on hardware controller
            24cpus 96gb
            now beforehand i added this storage to the host it was on, however because i couldnt add the host to the pool with this shared storage, i forgot the storage. lol funny thing is, the storage doesnt appear to be forgotten even after reimaging the server and and reinitializing the storage.
            heres the log

            sr.createHba
            {
              "host": "5cc10b03-118e-419a-b6fb-c32c4ff50e58",
              "nameLabel": "s0001",
              "nameDescription": "vm-storage",
              "scsiId": "36782bcb035b530002da9ce12118697c1"
            }
            {
              "code": "SR_BACKEND_FAILURE_19",
              "params": [
                "",
                "No such device [opterr=Device /dev/disk/by-id/scsi-36782bcb035b530002da9ce12118697c1 does not exist]",
                ""
              ],
              "call": {
                "method": "SR.create",
                "params": [
                  "OpaqueRef:0662cf5f-0e81-73b3-ffbe-b7a3020692b5",
                  {
                    "SCSIid": "36782bcb035b530002da9ce12118697c1"
                  },
                  0,
                  "s0001",
                  "vm-storage",
                  "lvmohba",
                  "user",
                  true,
                  {}
                ]
              },
              "message": "SR_BACKEND_FAILURE_19(, No such device [opterr=Device /dev/disk/by-id/scsi-36782bcb035b530002da9ce12118697c1 does not exist], )",
              "name": "XapiError",
              "stack": "XapiError: SR_BACKEND_FAILURE_19(, No such device [opterr=Device /dev/disk/by-id/scsi-36782bcb035b530002da9ce12118697c1 does not exist], )
                at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202404251617/packages/xen-api/_XapiError.mjs:16:12)
                at file:///opt/xo/xo-builds/xen-orchestra-202404251617/packages/xen-api/transports/json-rpc.mjs:38:21"
            }
            
            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