How do I resize a physical volume in Linux?

Hưng Thịnh

New member
How do I resize a physical volume in Linux?
Answer
Extend LVM manually
  1. Extend the physical drive partition: sudo fdisk /dev/vda – Enter the fdisk tool to modify /dev/vda. …
  2. Modify (extend) the LVM: Tell LVM the physical partition size has changed: sudo pvresize /dev/vda1. …
  3. Resize the file system: sudo resize2fs /dev/COMPbase-vg/root.
 

Tìm kiếm

Back
Top