Linux "Volume group "c1“未找到”

Linux "Volume group "c1" not found"

我想在我的 linux 机器上添加一个磁盘并扩展我的文件系统。我添加了一个磁盘并使用 fdisk 创建了一个分区。在我用这个分区创建物理卷之后。现在我想在我的卷管理器中添加这个 pv 但它不起作用。

[root@cli ~]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               cl
  PV Size               <19,00 GiB / not usable 3,00 MiB
  Allocatable           yes (but full)
  PE Size               4,00 MiB
  Total PE              4863
  Free PE               0
  Allocated PE          4863
  PV UUID               mNhbwO-xfJI-nCrM-qNM1-7qpM-qvuQ-QSqJJX

  "/dev/sdb1" is a new physical volume of "<10,00 GiB"
  --- NEW Physical volume ---
  PV Name               /dev/sdb1
  VG Name
  PV Size               <10,00 GiB
  Allocatable           NO
  PE Size               0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               igRUC4-9K33-bsYd-MFh9-Xbpc-6IZf-JVonuo

[root@cli ~]# vgextend c1 /dev/sdb1
  Volume group "c1" not found
  Cannot process volume group c1


[root@cli ~]# vgs
  VG #PV #LV #SN Attr   VSize   VFree
  cl   1   2   0 wz--n- <19,00g    0
[root@cli ~]# vgdisplay
  --- Volume group ---
  VG Name               cl
  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               <19,00 GiB
  PE Size               4,00 MiB
  Total PE              4863
  Alloc PE / Size       4863 / <19,00 GiB
  Free  PE / Size       0 / 0
  VG UUID               e9l6fH-0qND-m1vj-y9lQ-LgDR-pddA-F3Bnis

[root@cli ~]# vgdisplay c1
  Volume group "c1" not found
  Cannot process volume group c1

为什么我无法访问自己的 vg。我可能做错了什么?

你的VG名字是clL(小),不是带1(一号)。