[lvm] Volume Resize
 
Notifications
Clear all

[lvm] Volume Resize

1 Posts
1 Users
0 Reactions
77 Views
(@andre)
Posts: 55
Member Admin
Topic starter
 

Extend Linux Volume

# Increase the Physical Volume (pv) to max size
pvresize /dev/sda3

# Expand the Logical Volume (LV) to max size to match
lvresize -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv

# Expand the filesystem itself
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

 

 
Posted : 13/09/2024 5:57 pm
Share: