Create lv on aarch64 ubuntu18

Hi all,

I try to create a lv in may aarch64 flatpak app. But it always fail. The information followed.

[:package: com.welees.visual-lvm-remote flatpak]# pvdisplay
— Physical volume —
PV Name /dev/vdb
VG Name a
PV Size 2.00 GiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 511
Free PE 511
Allocated PE 0
PV UUID kTqa7E-aBTW-6226-3yR1-Dy3R-tm3e-OLwNAB

— Physical volume —
PV Name /dev/vdc
VG Name a
PV Size 2.00 GiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 511
Free PE 511
Allocated PE 0
PV UUID wGIssw-qdS8-rNwr-lbNi-s83B-UHY1-gwAosh

— Physical volume —
PV Name /dev/vda2
VG Name arm64-ubuntu-test-vg
PV Size <19.50 GiB / not usable 2.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 4991
Free PE 9
Allocated PE 4982
PV UUID AH8gYD-mg5N-e4mu-2Xs9-LCUE-vt4j-T6j7ig

[:package: com.welees.visual-lvm-remote flatpak]# lvcreate a -n b -L1M -v
WARNING: Device for PV kTqa7E-aBTW-6226-3yR1-Dy3R-tm3e-OLwNAB not found or rejected by a filter.
WARNING: Device for PV wGIssw-qdS8-rNwr-lbNi-s83B-UHY1-gwAosh not found or rejected by a filter.
Cannot change VG a while PVs are missing.
Consider vgreduce --removemissing.
There are 2 physical volumes missing.
Cannot process volume group a

The configure of app is

finish-args:

  • finish-args:
      - --share=network
      - --socket=x11
      - --socket=fallback-x11
    #  - --socket=network-pulse
      - --socket=system-bus
      - --socket=session-bus
    
      - --device=all
      - --filesystem=host
      - --filesystem=/proc/net
      - --filesystem=/sys/class/net
      - --filesystem=/dev:rw
      - --filesystem=/dev/mapper:rw
      - --filesystem=/dev/block
      - --filesystem=/sys
      - --filesystem=/sys/block
      - --filesystem=/proc
      - --filesystem=/sbin/mkfs.*:ro
      - --filesystem=/usr/sbin:ro
      - --filesystem=/run/lvm
      - --filesystem=/dev/mapper/control
      - --filesystem=xdg-data:rw
      - --talk-name=org.freedesktop.UDisks2
      - --allow=devel
      - --env=LD_LIBRARY_PATH=/app/bin:/app/lib:/usr/lib/aarch64-linux-gnu
      - --env=LVM_SUPPRESS_FD_WARNINGS=1
    

And I made x86_64 app with the same configure. It works.

Who can help me?

Thank you

You do realise of course that Ubuntu 18 (.04LTS and .10 iterations from 2018) are well past their EOL of course?

Could that be a reason for your issues?

I’not sure. But it works on Ubuntu18/x86_64 with the same code & configure