Есть такая картина:
Filesystem Type 1K-blocks Used Available Use%
Mounted on
/dev/mapper/centos-root xfs 6981632 2361228 4620404 34%
/
devtmpfs devtmpfs 933032 0 933032 0% /dev
tmpfs tmpfs 942348 0 942348 0% /dev/shm
tmpfs tmpfs 942348 8576 933772 1% /run
tmpfs tmpfs 942348 0 942348 0%
/sys/fs/cgroup
/dev/sda1 xfs 508588 164644 343944 33% /boot
надо добавить /dev/mapper/centos-root еще 24 gb
fdisk -l дает такой вывод
Disk /dev/sda: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000aa7fe
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 16777215 7875584 8e Linux LVM
Disk /dev/sdb: 25.8 GB, 25769803776 bytes, 50331648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos-root: 7159 MB, 7159676928 bytes, 13983744 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos-swap: 859 MB, 859832320 bytes, 1679360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Как это сделать грамотно и на ходу?