Advertisement
Guest User

Untitled

a guest
Feb 24th, 2023
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. Previously I did this and it worked:
  2.  
  3. # We need to resize the logical volume to use all the existing and free space of the volume group
  4.  
  5. $ lvm
  6. lvm> lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
  7. lvm> exit
  8.  
  9. # And then, we need to resize the file system to use the new available space in the logical volume
  10.  
  11. $ resize2fs /dev/ubuntu-vg/ubuntu-lv
  12. Resize2fs 1.44.1 (24-Mar-2018) Filesystem at /dev/ubuntu-vg/ubuntu-lv is mounted on /; on-line resizing required old_desc_blocks = 1, new_desc_blocks = 58
  13.  
  14. The filesystem on /dev/ubuntu-vg/ubuntu-lv is now 120784896 (4k) blocks long.
  15.  
  16. from: https://askubuntu.com/questions/1106795/ubuntu-server-18-04-lvm-out-of-space-with-improper-default-partitioning
  17.  
  18. But I do this now and the problem persists
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement