<div dir="ltr">Hi Gorka,<div><br></div><div>Thanks for the information. one more thing I need to know, how we get the storage usage of object store (swift). suppose at the time of installation through packstack we define the swift_storage 20G, if any other person wants to know how much space is used in swift, then how we can get the information how much space is available in the object storage size.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 2, 2021 at 2:00 PM Gorka Eguileor <<a href="mailto:geguileo@redhat.com">geguileo@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 01/07, Salman Sheikh wrote:<br>
> Hi all,<br>
><br>
> How we can add the more disk to cinder, as I have created the<br>
> cinder-volumes on one disk (/sdb) the sdb is 500Gb, if i want to increase<br>
> the the size of cinder-volumes then how we extend the size of<br>
> cinder-volumes. how we can add more disk in order to increase the size of<br>
> cinder-volume. Kindly advise<br>
<br>
Hi Salman,<br>
<br>
You don't mention the cinder driver or anything, so I'm going to assume<br>
you are using the LVM driver with default's cinder-volumes VG (Volume<br>
Group) on the bare disk (no partition).<br>
<br>
If that's the case, you'll need an additional disk (or loopback device),<br>
create a PV (Physical Volume) on it, and add it to the cinder-volumes<br>
VG.<br>
<br>
Fortunately the LVM command that extends a VG can do the PV creation<br>
automatically, so if for example you have added /dev/sdc to your system<br>
and you want to use it for Cinder volumes you can:<br>
<br>
- First check the current status of the VG:<br>
<br>
$ sudo vgs<br>
<br>
- Add the device:<br>
<br>
$ sudo vgextend cinder-volumes /dev/sdc --debug<br>
<br>
- Confirm the VG has grown:<br>
<br>
$ sudo vgs<br>
<br>
Cheers,<br>
Gorka.<br>
<br>
</blockquote></div>