git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] Adding new Hard disk to Compute Node


Hai,

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
MOUNTPOINT                   LABEL
sda                                                         5.5T
â??â??sda1                                        vfat          500M
                  ESP
â??â??sda2                                        vfat          100M
                  DIAGS
â??â??sda3                                        vfat            2G
                  OS
sdb                                                         5.5T
â??â??sdb1                                                      5.5T
â??â??cinder--volumes-cinder--volumes--pool_tmeta                84M
â?? â??â??cinder--volumes-cinder--volumes--pool                   5.2T
â??â??cinder--volumes-cinder--volumes--pool_tdata               5.2T
  â??â??cinder--volumes-cinder--volumes--pool                   5.2T
sdc                                                         5.5T
â??â??sdc1                                        xfs           5.5T
sdd                                                         5.5T
â??â??sdd1                                        xfs           5.5T
/var/lib/nova/instances/sdd1
sde                                                         5.5T
â??â??sde1                                        xfs           5.5T
/var/lib/nova/instances/sde1
sdf                                                         5.5T
â??â??sdf1                                        xfs           5.5T
/var/lib/nova/instances/sdf1
sdg                                                         5.5T
â??â??sdg1                                        xfs           5.5T
/var/lib/nova/instances/sdg1
sdh                                                         5.5T
â??â??sdh1                                        xfs           5.5T
/var/lib/nova/instances/sdh1
sdi                                                         5.5T
â??â??sdi1                                        xfs           5.5T
/var/lib/nova/instances/sdi1
sdj                                                         5.5T
â??â??sdj1                                        xfs           5.5T
/var/lib/nova/instances/sdj1
sdk                                                         372G
â??â??sdk1                                        ext2          487M /boot
â??â??sdk2                                                        1K
â??â??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
fails.
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,
Jayachander.

On Wed, Aug 8, 2018 at 11:24 AM, Eugen Block <eblock at nde.ag> wrote:

> Hi,
>
> 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
> fails.
>
> The failing neutron-l3-agent shouldn't have to do anything with your disk
> layout, so it's probably something else.
>
> Regards,
> Eugen
>
>
> Zitat von Jay See <jayachander.it at gmail.com>:
>
> Hai,
>>
>> I am installing Openstack Queens on Ubuntu Server.
>>
>> My server has extra hard disk(s) apart from main hard disk where
>> OS(Ubuntu)
>> is running.
>>
>> (
>> https://docs.openstack.org/cinder/queens/install/cinder-stor
>> age-install-ubuntu.html
>> )
>> As suggested in cinder (above link), I have been trying to add the new
>> hard
>> 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
>> necessary.*
>>
>
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
>



-- 
â??
P  *SAVE PAPER â?? Please do not print this e-mail unless absolutely
necessary.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180808/5c2f6af5/attachment.html>