Сетевая маска действительно является причиной. Я выполнил следующую последовательность (обратите внимание, что прописные буквы должны быть заполнены вашими значениями:
Сделайте следующее с консоли, если возможно:
nmcli connection mod YOURCONNECTIONNAME ipv4.addresses 192.168.1.77/16
nmcli connection reload
systemctl restart network
ifdown YOURNIC; ifup YOURNIC
Со своей стороны, я прокомментировал эту строку в /etc/lvm/lvm.conf
auto_activation_volume_list = [ "vg00", "vg01" ]
Потому что, если он активен, при загрузке активны только тома vg00 и vg01.
Документация lvm.conf:
If auto_activation_volume_list is defined, each LV that is to be
activated with the autoactivation option (--activate ay/-a ay) is
first checked against the list. There are two scenarios in which
the autoactivation option is used:
- automatic activation of volumes based on incoming PVs. If all the
PVs making up a VG are present in the system, the autoactivation
is triggered. This requires lvmetad (global/use_lvmetad=1) and udev
to be running. In this case, "pvscan --cache -aay" is called
automatically without any user intervention while processing
udev events. Please, make sure you define auto_activation_volume_list
properly so only the volumes you want and expect are autoactivated.
- direct activation on command line with the autoactivation option.
In this case, the user calls "vgchange --activate ay/-a ay" or
"lvchange --activate ay/-a ay" directly.
By default, the auto_activation_volume_list is not defined and all
volumes will be activated either automatically or by using --activate ay/-a ay.
N.B. The "activation/volume_list" is still honoured in all cases so even
if the VG/LV passes the auto_activation_volume_list, it still needs to
pass the volume_list for it to be activated in the end.
If auto_activation_volume_list is defined but empty, no volumes will be
activated automatically and --activate ay/-a ay will do nothing.
auto_activation_volume_list = []
If auto_activation_volume_list is defined and it's not empty, only matching
volumes will be activated either automatically or by using --activate ay/-a ay.
"vgname" and "vgname/lvname" are matched exactly.
"@tag" matches any tag set in the LV or VG.
"@*" matches if any tag defined on the host is also set in the LV or VG
Only activate vg00 and vg01 automatically.
auto_activation_volume_list = [ "vg00", "vg01" ]
Итак, я попробовал настройку rd.lvm.lv= в /etc/default/grub, но это не сработало
Мне нужно, чтобы оба логических тома в группе томов ssd _vg были активны при загрузке. А также логический том home _lv на kubuntu -vg должен быть активен
Что сработало, так это отредактировать файл /etc/lvm/lvm.conf. В разделе списка томов введите это том _список = ["ssd _vg", "kubuntu -vg/home _lv"]
результат после перезагрузки
$ судо lvscan неактивный Исходный '/dev/kubuntu -vg/root' [50,00 ГиБ] наследовать
inactive '/dev/kubuntu-vg/swap_1' [7.88 GiB] inherit
ACTIVE '/dev/kubuntu-vg/home_lv' [1000.00 GiB] inherit
inactive Snapshot '/dev/kubuntu-vg/root_snap11' [50.00 GiB] inherit
inactive Snapshot '/dev/kubuntu-vg/root_snap12' [50.00 GiB] inherit
ACTIVE '/dev/ssd_vg/root' [224.02 GiB] inherit
ACTIVE '/dev/ssd_vg/swap_1' [7.88 GiB] inherit