在 Raspbian 10 下安装 LVM2 时出现问题

在 Raspbian 10 下安装 LVM2 时出现问题

我尝试在 Raspberry Pi 上安装 lvm2,但 apt install 崩溃了:

fruitloops% sudo apt install
[sudo] password for heller: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked.
invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed.
● lvm2-lvmpolld.service - LVM2 poll daemon
   Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:lvmpolld(8)
dpkg: error processing package lvm2 (--configure):
 installed lvm2 package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Errors were encountered while processing:
 lvm2
E: Sub-process /usr/bin/dpkg returned an error code (1)
fruitloops% cat /etc/is
issue      issue.net  
fruitloops% cat /etc/issue
Raspbian GNU/Linux 10 \n \l

我需要做什么来解决这个问题?

现在,没有 LVM 卷,但 32gig uSD 已接近满,我想安装更大的 uSD(我在 Banana Pi M64 上执行此操作,保留原始 32gig 分区作为“系统磁盘”(挂载点“/”)并将 /home 移动到 LVM 卷,我想在这个 Raspberry Pi 上执行相同的操作。

相关内容