@olivierlambert said in LargeBlockSR for 4KiB blocksize disks:
I don't see any reason it couldn't, but I prefer @dthenot to answer
I'm able to create and use two local SRs using type largeblock, but upon restarting the host, one of them is always disconnected and I'm not sure how to reconnect it. I'm guessing it has something to do with the loop setup. Thoughts?
pbd.connect
{
"id": "8d8b8a97-314f-8e07-56a5-170e9ac37973"
}
{
"code": "SR_BACKEND_FAILURE_202",
"params": [
"",
"General backend error [opterr=Command ['vgs', '--noheadings', '-o', 'vg_name,devices', 'XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553', '--config', 'devices{scan=[\"/dev/\"]}'] failed (Volume group \"XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553\" not found
Cannot process volume group XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553): Input/output error]",
""
],
"task": {
"uuid": "bd8f1c89-e04c-adbb-381c-d8cc8434ac51",
"name_label": "Async.PBD.plug",
"name_description": "",
"allowed_operations": [],
"current_operations": {},
"created": "20251124T14:58:07Z",
"finished": "20251124T14:58:07Z",
"status": "failure",
"resident_on": "OpaqueRef:644ca431-7524-53a1-a152-33704b6cbbaf",
"progress": 1,
"type": "<none/>",
"result": "",
"error_info": [
"SR_BACKEND_FAILURE_202",
"",
"General backend error [opterr=Command ['vgs', '--noheadings', '-o', 'vg_name,devices', 'XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553', '--config', 'devices{scan=[\"/dev/\"]}'] failed (Volume group \"XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553\" not found
Cannot process volume group XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553): Input/output error]",
""
],
"other_config": {},
"subtask_of": "OpaqueRef:NULL",
"subtasks": [],
"backtrace": "(((process xapi)(filename lib/backtrace.ml)(line 210))((process xapi)(filename ocaml/xapi/storage_utils.ml)(line 145))((process xapi)(filename ocaml/xapi/xapi_pbd.ml)(line 191))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 141))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 5776))((process xapi)(filename ocaml/xapi/rbac.ml)(line 229))((process xapi)(filename ocaml/xapi/rbac.ml)(line 239))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))"
},
"message": "SR_BACKEND_FAILURE_202(, General backend error [opterr=Command ['vgs', '--noheadings', '-o', 'vg_name,devices', 'XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553', '--config', 'devices{scan=[\"/dev/\"]}'] failed (Volume group \"XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553\" not found
Cannot process volume group XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553): Input/output error], )",
"name": "XapiError",
"stack": "XapiError: SR_BACKEND_FAILURE_202(, General backend error [opterr=Command ['vgs', '--noheadings', '-o', 'vg_name,devices', 'XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553', '--config', 'devices{scan=[\"/dev/\"]}'] failed (Volume group \"XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553\" not found
Cannot process volume group XSLocalLargeBlock-83636851-e064-9d16-8356-0aca60f70553): Input/output error], )
at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202510021218/packages/xen-api/_XapiError.mjs:16:12)
at default (file:///opt/xo/xo-builds/xen-orchestra-202510021218/packages/xen-api/_getTaskResult.mjs:13:29)
at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202510021218/packages/xen-api/index.mjs:1073:24)
at file:///opt/xo/xo-builds/xen-orchestra-202510021218/packages/xen-api/index.mjs:1107:14
at Array.forEach (<anonymous>)
at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202510021218/packages/xen-api/index.mjs:1097:12)
at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202510021218/packages/xen-api/index.mjs:1270:14)"
}