Many Questions

Answer to unlock explanations and learn something new.

Loading…

How do you add a new Physical Volume (/dev/sdb1) to an existing Volume Group named vg_data? 請問要如何將新的實體分割區 /dev/sdb1 加入已經存在的磁區群組 vg_data 中?

Try the interactive quiz above, or study the options and notes below.

Answer choices

  1. A vgcreate vg_data /dev/sdb1
  2. B vgextend vg_data /dev/sdb1
  3. C lvextend -l +100%FREE /dev/vg_data /dev/sdb1
  4. D pvextend vg_data /dev/sdb1

Learning notes

vgextend is used to add one or more PVs to an existing VG. vgextend 用於將新的 PV 加入現有的 VG 中以擴充其容量 vgcreate is used to create a new Volume Group, not to extend an existing one. vgcreate 用於建立全新的磁區群組,而非擴充現有的群組 lvextend extends a Logical Volume (LV), not a Volume Group (VG). lvextend 是用來擴充邏輯卷軸 (LV) 而非 VG There is no pvextend command in standard LVM. 標準 LVM 中沒有 pvextend 這個指令

More in Technology · All quizzes