Show Table of Contents
5.3. 分割卷冊群組
在此範例中,有個現有的卷冊群組包含了三個實體卷冊。實體卷冊上若有足夠的未使用空間的話,您便可在不新增磁碟的情況下新建卷冊群組。
在初始設定中,邏輯卷冊
mylv 是由 myvol 這個卷冊群組所分割的,並且它包含著 /dev/sda1、/dev/sdb1 以及 /dev/sdc1 這三個實體卷冊。
完成了這項程序後,
myvg 這個卷冊群組便會包含著 /dev/sda1 和 /dev/sdb1。第二個邏輯群組 yourvg 則會包含著 /dev/sdc1。
5.3.1. 判斷可用空間
您可透過使用
pvscan 指令來判斷出卷冊群組中目前有多少可用空間。
# pvscan
PV /dev/sda1 VG myvg lvm2 [17.15 GB / 0 free]
PV /dev/sdb1 VG myvg lvm2 [17.15 GB / 12.15 GB free]
PV /dev/sdc1 VG myvg lvm2 [17.15 GB / 15.80 GB free]
Total: 3 [51.45 GB] / in use: 3 [51.45 GB] / in no VG: 0 [0 ]

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.