尝试使用 KDE 分区管理器缩小 LUKS 容器时出错

尝试使用 KDE 分区管理器缩小 LUKS 容器时出错

为了在我的 SSD 上为额外的未加密 FAT32 分区腾出空间,我正在尝试缩小现有的 LUKS 容器。

为此,在 LUBUNTU Live USB 22.04.1 上启动,启动 KDE 分区管理器,解锁 LUKS 容器,成功缩小内部逻辑卷,并在最后一步尝试对容器应用调整大小/缩小。

这产生了以下错误:

Date:   8 Oct 2022 17:14:46 Program version:    21.12.3 Backend:    pmsfdiskbackendplugin (1) KDE Frameworks version:   5.91.0 Machine:     Linux lubuntu 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64

Shrink partition ‘/dev/nvme0n1p3’ from 951.70 GiB to 935.72 GiB Job: Check file system on partition ‘/dev/nvme0n1p3’ Command: lvm pvck
--verbose /dev/mapper/luks-24ed092b-c069-4d2c-8b25-bfb3f08840ee Check file system on partition ‘/dev/nvme0n1p3’: Success Job: Resize file system on partition ‘/dev/nvme0n1p3’ to 1,962,346,496 sectors

Resizing file system from 1,995,857,920 to 1,962,346,496 sectors.


Command: lvm pvmove --alloc anywhere /dev/mapper/luks-24ed092b-c069-4d2c-8b25-bfb3f08840ee:239544-243629 /dev/mapper/luks-24ed092b-c069-4d2c-8b25-bfb3f08840ee:0-239543 Command: lvm pvresize --yes --setphysicalvolumesize -17157849088B /dev/mapper/luks-24ed092b-c069-4d2c-8b25-bfb3f08840ee

Resizing encrypted file system on partition ‘/dev/nvme0n1p3’ failed.


Resize file system on partition ‘/dev/nvme0n1p3’ to 1,962,346,496 sectors: Error

Resize/move failed: Could not resize file system to shrink partition ‘/dev/nvme0n1p3’.

欢迎任何建议或想法 - 这方面需要帮助!

相关内容