mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-23 08:46:36 +00:00
Increase/ resize root partition
(root partition is an LVM logical volume)
This commit is contained in:
parent
a2702989e6
commit
e2c847386d
@ -2236,5 +2236,12 @@ sudo dpkg --list 'linux-image*'
|
||||
sudo apt-get remove linux-image-OLDER_VERSION
|
||||
```
|
||||
|
||||
##### Increase/ resize root partition (root partition is an LVM logical volume)
|
||||
```bash
|
||||
pvscan
|
||||
lvextend -L +130G /dev/rhel/root -r
|
||||
```
|
||||
#Adding -r will grow filesystem after resizing the volume.
|
||||
|
||||
|
||||
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
||||
|
Loading…
Reference in New Issue
Block a user