[lvm] Volume Resize
 
Notifications
Clear all

[lvm] Volume Resize

1 Posts
1 Users
0 Reactions
102 Views
(@andre)
Posts: 56
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: