Linux Commands Helper
💬 Your AI-powered Linux assistant
vgextend Command - Extend Volume Group
The vgextend command adds physical volumes to an existing volume group.
Syntax
vgextend volume_group physical_volume...
Examples
vgextend my_vg /dev/sdb1
Add /dev/sdb1 to the volume group named my_vg.
Notes
- Used in LVM to expand storage capacity.
- Ensure the physical volume is initialized (e.g., with
pvcreate
) before adding.