PolarDB-Stack-Operator icon indicating copy to clipboard operation
PolarDB-Stack-Operator copied to clipboard

How can I get volume_id when creating pvc.

Open huasiy opened this issue 3 years ago • 1 comments

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?

huasiy avatar Feb 09 '22 03:02 huasiy

You should get your own shared storage which support SCSI or NVMe

lynnleelhl avatar Mar 21 '22 07:03 lynnleelhl