未找到卷组

未找到卷组

我对此还很陌生,当我尝试时,我的卷组遇到了麻烦vgextendVolume Group "R2D2-vg" not found当我知道卷组存在时,我得到了答案。

我的卷组:

$ sudo vgdisplay
--- Volume group ---
VG Name               R2D2-vg
System ID
Format                lvm2
Metadata Areas        1
Metadata Sequence No  3
VG Access             read/write
VG Status             resizable
MAX LV                0
Cur LV                2
Open LV               2
Max PV                0
Cur PV                1
Act PV                1
VG Size               3.64 TiB
PE Size               4.00 MiB
Total PE              953611
Alloc PE / Size       953611 / 3.64 TiB
Free  PE / Size       0 / 0
VG UUID               [SOME_UUID]

我的实体卷:

$ sudo pvdisplay
--- Physical volume ---
PV Name               /dev/sda3
VG Name               R2D2-vg
PV Size               3.64 TiB / not usable 2.00 MiB
Allocatable           yes (but full)
PE Size               4.00 MiB
Total PE              953611
Free PE               0
Allocated PE          953611
PV UUID               [SOME_UUID]

"/dev/sdb1" is a new physical volume of "3.64 TiB"
--- NEW Physical volume ---
PV Name               /dev/sdb1
VG Name
PV Size               3.64 TiB
Allocatable           NO
PE Size               0
Total PE              0
Free PE               0
Allocated PE          0
PV UUID               [SOME_UUID]

失败的命令:

$ sudo vgextend R2D2-vg /dev/sdb1
Volume group "R2D2-vg" not found
Cannot process volume group R2D2-vg

为什么找不到卷组?我错过了什么?

如果您需要其他信息/输出,请告诉我。

相关内容