Ask Your Question

Revision history [back]

You can add one more drive to that instance. Let us say "dev/sdb". Then you can do pvcreate /dev/sdb

Best option is:

  1. Create a loopback device in your machine.
  2. Create physical volume (using pvcreate) on that device.
  3. Then create Volume Group on top of that "vgcreate".

How to create:

  1. Create a 8G loopback device using: dd if=/dev/zero of=NewDrive.img bs=1G count=8

  2. Create loop back device: losetup /dev/loop0 NewDrive.img

  3. Then create physical volume on it: pvcreate /dev/loop0

  4. Now you can create volume group: vgcreate "cinder-volumes" /dev/loop0