我有这个:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1217 9775552 83 Linux
/dev/sda2 1218 60801 478608480 83 Linux
我想把sda2缩小10倍,让sda1有更多的空间。sda2是LVM上的一个PV,但是VG中有一些空闲空间,所以我不必担心文件系统萎缩。
我如何告诉我的LVM将数据从sda2的前10 it中移出,然后重做我的分区表以
我尝试通过pip在python中安装gpg,但得到以下错误: Could not find gpgme-config. Please install the libgpgme development package. 我的操作系统是linux7,但是我找不到任何可以在Linux7上安装上述软件包的rpm,我已经在this网站上搜索过了,但是找不到任何适用于Linux7的软件包。谁能指导我如何在Linux7上安装libgpgme-devel?
[root@localhost ~] vgdisplay
--- Volume group ---
VG Name vg_root
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 7
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV
我在使用Fedora24 Live调整LVM大小时遇到了问题。
这是vgdisplay的输出:
[root@localhost liveuser]# vgdisplay
--- Volume group ---
VG Name fedora
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status
我国:
$: lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home myvg -wi-ao---- 100.00g
$: btrfs filesystem resize -20g /home
$: lvreduce -L-20G /dev/myvg/home
WARNING: Reducing active and open logical volume to 80.00 GiB.
THIS MAY DESTROY YOUR DATA (fil