ksingh7 / odf-nano

ODF-Nano lets you deploy OpenShift Data Foundation on your Laptop (CRC)
44 stars 29 forks source link

Attach additional disk to CRC vm using CLI #17

Open ksingh7 opened 3 years ago

ksingh7 commented 3 years ago
[karan@beast ~]$ sudo virsh attach-disk crc ~/.crc/machines/crc/disk-100G vdd --cache none
error: Failed to attach disk
error: internal error: No more available PCI slots

[karan@beast ~]$
geolaw commented 1 year ago

After trying to do the same thing and getting the same error. I forked off the odf-nano fork from tosin I created a setup script that makes 3 disk images and adds them to the vm https://github.com/geolaw/odf-nano/blob/main/setup_crc.sh#L80

after the first crc start, I shut it down, then add the 3 images via virsh attach-device