Boot Pratition Increase
Boot Pratition Increase
Hi Team,
Just wanted to share the below information if in case you ever come across. Please Ignore if you already know
When you create a Custom Boot volume and want to have more space allocated to you under boot.
You would end up with only 39GB on /dev/sda3, even though you still have unallocated space on the disk.
In order to reclaim the unallocated space on the disk and add it to your required boot space, perform below.
[opc@blkrtest ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 6.7G 0 6.7G 0% /dev
tmpfs 6.8G 0 6.8G 0% /dev/shm
tmpfs 6.8G 8.6M 6.8G 1% /run
tmpfs 6.8G 0 6.8G 0% /sys/fs/cgroup
/dev/sda3 39G 1.8G 37G 5% /
/dev/sda1 200M 9.8M 191M 5% /boot/efi
tmpfs 1.4G 0 1.4G 0% /run/user/1000
[opc@blkrtest ~]$
In order to increase the /dev/sda3 space and have unallocated 100GB assigned to it, perform as below
o Install growpart if not present
[root@blkrtest ~]# which growpart
/usr/bin/which: no growpart in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/ro
ot/bin)
[root@blkrtest ~]#
o yum install cloud-util*
o [root@blkrtest ~]# which growpart
/bin/growpart
o [root@blkrtest ~]# growpart /dev/sda 3
1
CHANGED: disk=/dev/sda partition=3: start=17188864 old:
size=80486399,end=97675263 new: size=297383902,end=314572766