[Starlingx-discuss] HostFs update failed: Not enough free space

Sun, Austin austin.sun at intel.com
Tue Mar 9 12:35:19 UTC 2021


Please check this command :
node=controller-0;system host-pv-show $node $(system host-pv-list $node | grep cgts-vg | awk -F'|' '{print $2}')

change controller-0 to any node you want to check , check the lvm_pv_size_gib, if this is somehow too small ,then lvm can not extended . 


-----Original Message-----
From: lists at optimcloud.com <lists at optimcloud.com> 
Sent: Tuesday, March 9, 2021 5:23 PM
To: starlingx-discuss at lists.starlingx.io
Subject: [Starlingx-discuss] HostFs update failed: Not enough free space

according to
https://docs.starlingx.io/deploy_install_guides/r4_release/openstack/install.html

Install application manifest and helm-charts

     Modify the size of the docker_lv filesystem. By default, the size of the docker_lv filesystem is 30G, which is not enough for stx-openstack installation. Use the host-fs-modify CLI to increase the filesystem size.

however it fails.....

system host-fs-modify controller-0 docker=60 HostFs update failed: Not enough free space on cgts-vg. Current free space 1 GiB, requested total increase 30 GiB

[sysadmin at controller-0 ~(keystone_admin)]$ sudo lvdisplay
Password:
Sorry, try again.
Password:
   --- Logical volume ---
   LV Path                /dev/nova-local/instances_lv
   LV Name                instances_lv
   VG Name                nova-local
   LV UUID                qyXBio-pIvE-ECnz-m7wf-Gl49-H9nb-pGBEf0
   LV Write Access        read/write
   LV Creation host, time controller-0, 2021-03-06 14:08:50 +0000
   LV Status              available
   # open                 1
   LV Size                <34.00 GiB
   Current LE             8703
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:0

   --- Logical volume ---
   LV Path                /dev/cgts-vg/scratch-lv
   LV Name                scratch-lv
   VG Name                cgts-vg
   LV UUID                g56V4Z-7Zz4-n2Gx-eoAl-DJ6G-aL54-waYh2g
   LV Write Access        read/write
   LV Creation host, time localhost, 2021-03-06 11:49:56 +0000
   LV Status              available
   # open                 1
   LV Size                16.00 GiB
   Current LE             512
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:1

   --- Logical volume ---
   LV Path                /dev/cgts-vg/log-lv
   LV Name                log-lv
   VG Name                cgts-vg
   LV UUID                ZF7Krt-6zF7-wkT9-9FAq-0fSy-5uIV-P0EvMN
   LV Write Access        read/write
   LV Creation host, time localhost, 2021-03-06 11:49:57 +0000
   LV Status              available
   # open                 1
   LV Size                7.81 GiB
   Current LE             250
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:2

   --- Logical volume ---
   LV Path                /dev/cgts-vg/extension-lv
   LV Name                extension-lv
   VG Name                cgts-vg
   LV UUID                dlb63u-Xqdf-6j9E-gOhs-4Li3-WNLW-M7IUC0
   LV Write Access        read/write
   LV Creation host, time localhost, 2021-03-06 13:05:32 +0000
   LV Status              available
   # open                 2
   LV Size                1.00 GiB
   Current LE             32
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:3

   --- Logical volume ---
   LV Path                /dev/cgts-vg/pgsql-lv
   LV Name                pgsql-lv
   VG Name                cgts-vg
   LV UUID                hRYe8m-jtUz-lS7s-y3WM-1BWg-aZf5-mdY4Cb
   LV Write Access        read/write
   LV Creation host, time localhost, 2021-03-06 13:05:34 +0000
   LV Status              available
   # open                 2
   LV Size                20.00 GiB
   Current LE             640
   Segments               3
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:4

   --- Logical volume ---
   LV Path                /dev/cgts-vg/docker-lv
   LV Name                docker-lv
   VG Name                cgts-vg
   LV UUID                pAzJGO-qFBv-XVkd-qLXT-HD6k-c1gO-OSukIG
   LV Write Access        read/write
   LV Creation host, time localhost, 2021-03-06 13:05:34 +0000
   LV Status              available
   # open                 1
   LV Size                30.00 GiB
   Current LE             960
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:5

   --- Logical volume ---
   LV Path                /dev/cgts-vg/kubelet-lv
   LV Name                kubelet-lv
   VG Name                cgts-vg
   LV UUID                pxiOsd-oNRm-I9E2-60nU-Xk1Z-MrVr-2jDrqY
   LV Write Access        read/write
   LV Creation host, time localhost, 2021-03-06 13:05:38 +0000
   LV Status              available
   # open                 1
   LV Size                10.00 GiB
   Current LE             320
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:6

   --- Logical volume ---
   LV Path                /dev/cgts-vg/etcd-lv
   LV Name                etcd-lv
   VG Name                cgts-vg
   LV UUID                rSVfsi-iZkG-kfbk-ooCe-xxBR-Em6K-S2SiVH
   LV Write Access        read/write
   LV Creation host, time localhost, 2021-03-06 13:05:40 +0000
   LV Status              available
   # open                 2
   LV Size                5.00 GiB
   Current LE             160
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:7

   --- Logical volume ---
   LV Path                /dev/cgts-vg/backup-lv
   LV Name                backup-lv
   VG Name                cgts-vg
   LV UUID                a0IgZQ-HsD5-1XdN-z2QH-nfQ9-A5bt-hHJuAM
   LV Write Access        read/write
   LV Creation host, time controller-0, 2021-03-06 13:05:42 +0000
   LV Status              available
   # open                 1
   LV Size                25.00 GiB
   Current LE             800
   Segments               3
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:8

   --- Logical volume ---
   LV Path                /dev/cgts-vg/dockerdistribution-lv
   LV Name                dockerdistribution-lv
   VG Name                cgts-vg
   LV UUID                WkCmKI-Vixg-2LWz-OE1R-oSNW-3apR-ka1FeM
   LV Write Access        read/write
   LV Creation host, time controller-0, 2021-03-06 13:05:44 +0000
   LV Status              available
   # open                 2
   LV Size                16.00 GiB
   Current LE             512
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:9

   --- Logical volume ---
   LV Path                /dev/cgts-vg/rabbit-lv
   LV Name                rabbit-lv
   VG Name                cgts-vg
   LV UUID                uoqfAO-3LdO-sgBm-c1SO-bdGC-skBg-LYK2cp
   LV Write Access        read/write
   LV Creation host, time controller-0, 2021-03-06 13:05:45 +0000
   LV Status              available
   # open                 2
   LV Size                2.00 GiB
   Current LE             64
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:10

   --- Logical volume ---
   LV Path                /dev/cgts-vg/platform-lv
   LV Name                platform-lv
   VG Name                cgts-vg
   LV UUID                ZhK3yO-SyMl-HNc0-3QFk-lDdp-to34-BuCtoC
   LV Write Access        read/write
   LV Creation host, time controller-0, 2021-03-06 13:05:50 +0000
   LV Status              available
   # open                 2
   LV Size                10.00 GiB
   Current LE             320
   Segments               2
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:11

   --- Logical volume ---
   LV Path                /dev/cgts-vg/ceph-mon-lv
   LV Name                ceph-mon-lv
   VG Name                cgts-vg
   LV UUID                ejlvoZ-Rjtn-GxLu-XAzH-0lzL-kXY3-gbNMs1
   LV Write Access        read/write
   LV Creation host, time controller-0, 2021-03-06 13:49:54 +0000
   LV Status              available
   # open                 2
   LV Size                20.00 GiB
   Current LE             640
   Segments               1
   Allocation             inherit
   Read ahead sectors     auto
   - currently set to     256
   Block device           253:12

_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss


More information about the Starlingx-discuss mailing list