Ask Your Question

How to connect plain Hard drive to compute node?

asked 2014-12-22 06:33:31 -0500

I add 4TB hard drive on pci-e raid controller to my compute node (juno, debian) but system cannot see it or allocate instances.

If I am not supposed to install root fs on this hdd or to create cinder volume on this hdd can anybody recommend method to add this disk space to openstack ?

Just to explain to system to allocate space on additional disks for virtual machines.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-22 11:01:45 -0500

dgalvao gravatar image

If you have cinder installed in that node, you need to create a pv in that disk, then add it to the existing cinder-volumes volume group with vgextend (see and ).

That works if you want to add additional volumes to your virtual machines.

If you are asking about the primary disk for virtual machines, they typically go in /var/lib/nova/instances. Likewise you can simply add that disk to whatever volume group contains /var/lib/nova/instances and then use lvextend, and resize2fs. Or you could format a new filesystem and mount /var/lib/nova/instances in the new disk.

edit flag offensive delete link more



Yes I think lvextend is what I am looking for. I will make and test it.

szemtsov gravatar imageszemtsov ( 2014-12-23 05:10:14 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-22 06:33:31 -0500

Seen: 2,063 times

Last updated: Dec 22 '14