storage configurations are pretty disjointed
-
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. -
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.
-
@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?
-
@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 logsr.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" }