Logische Volumes werden beim Booten nicht aktiviert

Logische Volumes werden beim Booten nicht aktiviert

Ubuntu 22.04.1 hier. Ich habe systemwährend der Installation eine Volume-Gruppe namens erstellt. In dieser Gruppe gibt es drei logische Volumes.

  --- Logical volume ---
  LV Path                /dev/system/swap
  LV Name                swap
  VG Name                system
  LV UUID                qeGYCG-PseM-IzIW-rpit-0zwI-lbKs-q0jL8D
  LV Write Access        read/write
  LV Creation host, time ubuntu-server, 2022-12-02 19:20:46 +0000
  LV Status              NOT available
  LV Size                1,00 GiB
  Current LE             256
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Path                /dev/system/root
  LV Name                root
  VG Name                system
  LV UUID                qx6W1r-e20x-VfwG-1Sdg-uGE3-rRW9-89k24O
  LV Write Access        read/write
  LV Creation host, time ubuntu-server, 2022-12-02 19:20:47 +0000
  LV Status              available
  # open                 1
  LV Size                10,00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Path                /dev/system/drbd
  LV Name                drbd
  VG Name                system
  LV UUID                rQxv3f-pJds-JU1z-9Hqd-hi81-3kAt-zlcVbh
  LV Write Access        read/write
  LV Creation host, time ubuntu-server, 2022-12-02 19:20:49 +0000
  LV Status              NOT available
  LV Size                <21,00 GiB
  Current LE             5375
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto

Dies ist eine Befehlsausgabe lvdisplaydirekt nach einem Neustart. Bei jedem Neustart wird das logische Volume swapnicht drbdaktiviert. Ich muss vgchange -ayden Befehl verwenden, um sie manuell zu aktivieren. Es ist nur das logische Volume verfügbar, auf diesem Volume ist das System installiert. Das Hinzufügen von rootVolumenamen hilft nicht.auto_activation_volume_list/etc/lvm/lvm.conf

Warum passiert das?

Aktualisierung Nr. 1

Ich habe versucht, das logische Volume neu zu erstellen. Zuerst habe ich das Swap-Volume entfernt und es dann unter einem anderen Namen neu erstellt. Nach dem Neustart immer noch dasselbe Problem. Das Volume wird erst aktiviert vgchange -ay.

verwandte Informationen