How do I mount cinder volume to specfic LVM?
We are trying to mount cinder volumes on our VMs in Openstack. I can create a cinder volume no problem however, it always grabs the space from sda1(our mirrored OS). We would like to mount attach each drive as a cinder volume to a specific VM. For instance,
/dev/mapper/vg2-data1 to Haddop01VM
/dev/mapper/vg3-data1 to Haddop02VM
/dev/mapper/vg4-data1 to Haddop03VM
Our server setup:
/dev/sda1 ext2 236M 41M 183M 19% /boot
/dev/mapper/vg1-data xfs 7.0T 4.3T 2.8T 61% /data
/dev/mapper/vg2-data1 xfs 920G 33M 920G 1% /hadoop1
/dev/mapper/vg3-data1 xfs 920G 33M 920G 1% /hadoop2
/dev/mapper/vg4-data1 xfs 920G 33M 920G 1% /hadoop3
Let me know if I can provide any more info.
-Randy