Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-140445

'--activationmode partial' shouldn't be suggested in places where it's not going to help

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • lvm2
    • None
    • None
    • None
    • rhel-storage-lvm
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      "Use '--activationmode partial' to override."

      In this corrupted PV scenario, I'm not sure how or with which cmd it's supposed to be used or help?

      kernel-6.12.0-175.el10    BUILT: Wed Dec 17 12:46:01 PM CET 2025
      lvm2-2.03.36-1.el10    BUILT: Sat Oct 25 04:42:32 AM CEST 2025
      lvm2-libs-2.03.36-1.el10    BUILT: Sat Oct 25 04:42:32 AM CEST 2025
      lvm2-lockd-2.03.36-1.el10    BUILT: Sat Oct 25 04:42:32 AM CEST 2025
      
      
      [root@virt-497 ~]# pvscan
        WARNING: Couldn't find device with uuid
      1QWLSx-V13S-xxXS-AuXr-Ihwu-intp-3tK18C.
        WARNING: VG persist_VG is missing PV
      1QWLSx-V13S-xxXS-AuXr-Ihwu-intp-3tK18C (last written to [unknown]).
        Reading VG persist_VG without a lock.
        PV [unknown]   VG persist_VG      lvm2 [<40.00 GiB / <39.75 GiB free]
        PV /dev/sdb    VG persist_VG      lvm2 [<40.00 GiB / <40.00 GiB free]
        PV /dev/sdc    VG persist_VG      lvm2 [<40.00 GiB / <40.00 GiB free]
        PV /dev/sdd    VG persist_VG      lvm2 [<40.00 GiB / <40.00 GiB free]
        PV /dev/sde    VG persist_VG      lvm2 [<40.00 GiB / <40.00 GiB free]
        PV /dev/vda3   VG rhel_virt-497   lvm2 [<9.00 GiB / 0    free]
        PV /dev/sda                       lvm2 [40.00 GiB]
        Total: 7 [<248.98 GiB] / in use: 6 [<208.98 GiB] / in no VG: 1 [40.00 GiB]
      [root@virt-497 ~]# vgchange --lockstart persist_VG
        WARNING: Couldn't find device with uuid
      1QWLSx-V13S-xxXS-AuXr-Ihwu-intp-3tK18C.
        WARNING: VG persist_VG is missing PV
      1QWLSx-V13S-xxXS-AuXr-Ihwu-intp-3tK18C (last written to [unknown]).
        Refusing activation of partial LV persist_VG/lvmlock.  Use
      '--activationmode partial' to override.
        Failed to activate sanlock lv persist_VG/lvmlock
      [root@virt-497 ~]# vgchange --lockstart --activationmode partial persist_VG
        Command does not accept option: --activationmode partial.
      [root@virt-497 ~]# vgchange --activationmode partial persist_VG
        No command with matching syntax recognised.  Run 'vgchange --help'
      for more information.
      [root@virt-497 ~]# vgchange -ay --activationmode partial persist_VG
        PARTIAL MODE. Incomplete logical volumes will be processed.
        WARNING: Couldn't find device with uuid
      1QWLSx-V13S-xxXS-AuXr-Ihwu-intp-3tK18C.
        WARNING: VG persist_VG is missing PV
      1QWLSx-V13S-xxXS-AuXr-Ihwu-intp-3tK18C (last written to [unknown]).
        Cannot access VG persist_VG due to failed lock.
      

              lvm-team lvm-team
              cmarthal@redhat.com Corey Marthaler
              lvm-team lvm-team
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: