Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

dev/mapper/ubuntu--vg-ubuntu--lv

# We need to resize the logical volume to use all the existing and free space of the volume group
$ lvm
lvm> lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
lvm> exit

# And then, we need to resize the file system to use the new available space in the logical volume
$ resize2fs /dev/ubuntu-vg/ubuntu-lv
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
The filesystem on /dev/ubuntu-vg/ubuntu-lv is now 120784896 (4k) blocks long.

# Finally, you can check that you now have available space:
$ df -h
Filesystem                         Size  Used Avail Use% Mounted on
udev                               3.9G     0  3.9G   0% /dev
tmpfs                              786M  1.2M  785M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  454G  3.8G  432G   1% /
Comment

PREVIOUS NEXT
Code Example
Shell :: git id 
Shell :: shorten the linux terminal path 
Shell :: delete a branch git 
Shell :: uninstall kde 
Shell :: how to terminate localhost 3000 linux 
Shell :: how to see (and kill) what is running on your port +mac 
Shell :: Command "server:run" is not defined. 
Shell :: push git repo to github 
Shell :: git pull remote 
Shell :: show list of branches git 
Shell :: show services linux 
Shell :: error: src refspec master does not match any 
Shell :: renomeando branch 
Shell :: cmd zip folder 
Shell :: throw exception powershell 
Shell :: your repository has no remotes configured to push to 
Shell :: set environment variable powershell 
Shell :: open file explorer from cmd 
Shell :: ubuntu customize Bash prompt 
Shell :: ffmpeg install ubuntu 
Shell :: angular reduce vendor.js size 
Shell :: docker compose stdin_open 
Shell :: svelte typescript 
Shell :: download pdf arranger ubuntu 
Shell :: Comandos Útiles Docker 
Shell :: make tarball backup of director 
Shell :: git merge origin/master into branch 
Shell :: cherry pick from another repository 
Shell :: git --version git version 2.7.0 (Apple Git-66) 
Shell :: rails how to use joins 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =