Extension of disk in cinder
Gorka Eguileor
geguileo at redhat.com
Fri Jul 2 09:41:28 UTC 2021
On 02/07, Salman Sheikh wrote:
> Hi Gorka,
>
> 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.
>
Hi,
I don't know about Swift, I work on the Cinder project.
I recommend you sending a new mail for that question with the subject
starting with "[swift]" so knowledgeable people can see it at first
glance.
Cheers,
Gorka.
> On Fri, Jul 2, 2021 at 2:00 PM Gorka Eguileor <geguileo at redhat.com> wrote:
>
> > On 01/07, Salman Sheikh wrote:
> > > Hi all,
> > >
> > > How we can add the more disk to cinder, as I have created the
> > > cinder-volumes on one disk (/sdb) the sdb is 500Gb, if i want to increase
> > > the the size of cinder-volumes then how we extend the size of
> > > cinder-volumes. how we can add more disk in order to increase the size of
> > > cinder-volume. Kindly advise
> >
> > Hi Salman,
> >
> > You don't mention the cinder driver or anything, so I'm going to assume
> > you are using the LVM driver with default's cinder-volumes VG (Volume
> > Group) on the bare disk (no partition).
> >
> > If that's the case, you'll need an additional disk (or loopback device),
> > create a PV (Physical Volume) on it, and add it to the cinder-volumes
> > VG.
> >
> > Fortunately the LVM command that extends a VG can do the PV creation
> > automatically, so if for example you have added /dev/sdc to your system
> > and you want to use it for Cinder volumes you can:
> >
> > - First check the current status of the VG:
> >
> > $ sudo vgs
> >
> > - Add the device:
> >
> > $ sudo vgextend cinder-volumes /dev/sdc --debug
> >
> > - Confirm the VG has grown:
> >
> > $ sudo vgs
> >
> > Cheers,
> > Gorka.
> >
> >
More information about the openstack-discuss
mailing list