[Openstack] Adding new Hard disk to Compute Node
jayachander.it at gmail.com
Wed Aug 8 10:06:49 UTC 2018
Thanks for a quick response.
- what do you mean by "disks are not added"? Does the server recognize
them? Do you see them in the output of "lsblk"?
Server does not add them automatically, I tried to mount them. I tried they
way they discussed in the page with /dev/sdb only. Other hard disks I have
mounted them my self. Yes I can see them in lsblk output as below
root at h020:~# lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE
├─sda1 vfat 500M
├─sda2 vfat 100M
└─sda3 vfat 2G
│ └─cinder--volumes-cinder--volumes--pool 5.2T
└─sdc1 xfs 5.5T
└─sdd1 xfs 5.5T
└─sde1 xfs 5.5T
└─sdf1 xfs 5.5T
└─sdg1 xfs 5.5T
└─sdh1 xfs 5.5T
└─sdi1 xfs 5.5T
└─sdj1 xfs 5.5T
├─sdk1 ext2 487M /boot
└─sdk5 LVM2_member 371.5G
├─h020--vg-root ext4 370.6G /
└─h020--vg-swap_1 swap 976M [SWAP]
- Do you already have existing physical volumes for cinder (assuming you
deployed cinder with lvm as in the provided link)?
Yes, I have tried one of the HD (/dev/sdb)
- If the system recognizes the new disks and you deployed cinder with lvm
you can create a new physical volume and extend your existing volume group
to have more space for cinder. Is this a failing step or someting else?
System does not recognize the disks automatically, I have manually mounted
them or added them to cinder.
In Nova-Compute logs I can only see main hard disk shown in the the
complete phys_disk, it was supposed to show more phys_disk available
atleast 5.8 TB if only /dev/sdb is added as per my understand (May be I am
thinking it in the wrong way, I want increase my compute node disk size to
launch more VMs)
2018-08-08 11:58:41.722 34111 INFO nova.compute.resource_tracker
[req-a180079f-d7c0-4430-9c14-314ac4d0832b - - - - -] F
inal resource view: name=h020 phys_ram=515767MB used_ram=512MB
*phys_disk=364GB* used_disk=0GB total_vcpus=
40 used_vcpus=0 pci_stats=
- Please describe more precisely what exactly you tried and what exactly
As explained in the previous point, I want to increase the phys_disk size
to use the compute node more efficiently. So to add the HD to compute node
I am installing cinder on the compute node to add all the HDs.
I might be doing something wrong.
Thanks and Regards,
On Wed, Aug 8, 2018 at 11:24 AM, Eugen Block <eblock at nde.ag> wrote:
> there are a couple of questions rising up:
> - what do you mean by "disks are not added"? Does the server recognize
> them? Do you see them in the output of "lsblk"?
> - Do you already have existing physical volumes for cinder (assuming you
> deployed cinder with lvm as in the provided link)?
> - If the system recognizes the new disks and you deployed cinder with lvm
> you can create a new physical volume and extend your existing volume group
> to have more space for cinder. Is this a failing step or someting else?
> - Please describe more precisely what exactly you tried and what exactly
> The failing neutron-l3-agent shouldn't have to do anything with your disk
> layout, so it's probably something else.
> Zitat von Jay See <jayachander.it at gmail.com>:
>> I am installing Openstack Queens on Ubuntu Server.
>> My server has extra hard disk(s) apart from main hard disk where
>> is running.
>> As suggested in cinder (above link), I have been trying to add the new
>> disk but the other hard disks are not getting added.
>> Can anyone tell me , what am i missing to add these hard disks?
>> Other info : neutron-l3-agent on controller is not running, is it related
>> to this issue ? I am thinking it is not related to this issue.
>> I am new to Openstack.
>> ~ Jayachander.
>> P *SAVE PAPER – Please do not print this e-mail unless absolutely
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
P *SAVE PAPER – Please do not print this e-mail unless absolutely
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack