[Starlingx-discuss] MultiOS: extractng lvm config from CentOS

Cordoba Malibran, Erich erich.cordoba.malibran at intel.com
Wed Oct 9 16:03:51 UTC 2019


Hi, 

Here is the output I get from such commands in a AIO system.


controller-0:~$ sudo lvmdiskscan 
  /dev/sda4 [     229.00 GiB] LVM physical volume
  /dev/sda5 [     100.00 GiB] LVM physical volume
  /dev/sda6 [      20.00 GiB] LVM physical volume
  0 disks
  0 partitions
  0 LVM physical volume whole disks
  3 LVM physical volumes
controller-0:~$ sudo pvs
  PV         VG         Fmt  Attr PSize    PFree  
  /dev/sda4  cgts-vg    lvm2 a--  <228.97g <29.16g
  /dev/sda5  nova-local lvm2 a--  <100.00g      0 
  /dev/sda6  nova-local lvm2 a--   <20.00g      0 
controller-0:~$ sudo vgs -o +lv_size,lv_name
  VG         #PV #LV #SN Attr   VSize    VFree   LSize   LV                   
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g   8.00g scratch-lv           
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g   7.81g log-lv               
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g   1.00g extension-lv         
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g  40.00g pgsql-lv             
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g  30.00g docker-lv            
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g  10.00g kubelet-lv           
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g   5.00g etcd-lv              
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g  50.00g backup-lv            
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g  16.00g dockerdistribution-lv
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g   2.00g rabbit-lv            
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g  10.00g platform-lv          
  cgts-vg      1  12   0 wz--n- <228.97g <29.16g  20.00g ceph-mon-lv          
  nova-local   2   1   0 wz--n-  119.99g      0  119.99g instances_lv       

On Wed, 2019-10-09 at 17:19 +0200, Dominig ar Foll (Intel Open Source)
wrote:
> Hello,
> 
> following our chat during the last meeting, I pass you the command
> that
> I would like to be run on a startlingX CentOS based running config
> (all
> in one).
> It will help me to understand what config is expected by flock
> services.
>    sudo lvmdiskscan
>    sudo pvs
>    sudo vgs -o +lv_size,lv_name
> 
> Thanks.
> 


More information about the Starlingx-discuss mailing list