I am automating the setup of my TrueNAS installation using midclt. I am a bit confused.
I created a pool using zpool create. I would like to import that pool into TrueNAS so the GUI is aware of it.
pool.import_pool says I need a pool GUID that I can get from pool.import_find which returns a job id. I query core.get_jobs and find the job id, but there is not pool GUID information... I am very confused. Where to I get that GUID from?
I created a pool using zpool create. I would like to import that pool into TrueNAS so the GUI is aware of it.
pool.import_pool says I need a pool GUID that I can get from pool.import_find which returns a job id. I query core.get_jobs and find the job id, but there is not pool GUID information... I am very confused. Where to I get that GUID from?
midclt call core.get_jobs "[[\"id\",\"=\",1662]]"
No GUID...?{
"id": 1662,
"method": "pool.import_find",
"arguments": [],
"logs_path": null,
"logs_excerpt": null,
"progress": {
"percent": 100,
"description": null,
"extra": null
},
"result": [],
"error": null,
"exception": null,
"exc_info": null,
"state": "SUCCESS",
"time_started": {
"$date": 1637123928844
},
"time_finished": {
"$date": 1637123928982
}
}