User Tools

Site Tools


docu:csheet:sysadm:disks:grow_partition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
docu:csheet:sysadm:disks:grow_partition [2020/06/04 08:17]
admin
docu:csheet:sysadm:disks:grow_partition [2021/05/05 07:11]
admin
Line 26: Line 26:
 growpart /dev/vda 1 growpart /dev/vda 1
  
-# need reboot i guess :-( (RIP uptime)+it MIGHT need reboot, but maybe not
 shutdown -r now shutdown -r now
  
-# resize2fs on the root ext4 partition, and done!+# if you HAVE AN LVM ext4 you must 
 +pvs 
 +pvresize /dev/vda1 
 +vgs 
 +lvs  # you must see new available space here 
 +lvextend -l +100%FREE /dev/thelvm-vg/mapper-lv 
 + 
 +# resize2fs on the partition if NOT LVM
 resize2fs /dev/vda1 resize2fs /dev/vda1
  
 </code> </code>
docu/csheet/sysadm/disks/grow_partition.txt · Last modified: 2021/05/05 07:12 by admin