PolarDB-Stack-Operator
PolarDB-Stack-Operator copied to clipboard
How can I get volume_id when creating pvc.
I create pvc by executing
curl -X POST "http://10.0.0.77:2002/pvcs" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"name\": \"pvc-32ze341nncwlczm47bsre\", \"namespace\": \"default\", \"need_format\": true, \"volume_id\": \"32ze341nncwlczm47bsre\", \"volume_type\": \"lun\"}"
but get error: {"error":"can not find lv for wwid 32ze341nncwlczm47bsre"}.
The ouput of multipah -ll is empty. How can I get correct volume_id?
You should get your own shared storage which support SCSI or NVMe