My current settings are as below, where the /dev/mapper/centos-root
partition is almost full.
Looks like this partition is on disk /dev/mapper/centos-root
.
but there is another disk /dev/vda
, which still has enough free space
Are these two disks separate physical disks?
how to increase the /dev/mapper/centos-root
partition?
[root@devbox ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 18G 17G 1.4G 93% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 48M 3.8G 2% /dev/shm
tmpfs 3.9G 74M 3.8G 2% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/vda1 497M 297M 201M 60% /boot
tmpfs 783M 48K 783M 1% /run/user/1001
[root@devbox ~]# fdisk -l
Disk /dev/vda: 85.9 GB, 85899345920 bytes, 167772160 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: 0x0001ec6a
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 1026047 512000 83 Linux
/dev/vda2 1026048 41943039 20458496 8e Linux LVM
/dev/vda3 41943040 52428799 5242880 8e Linux LVM
Disk /dev/mapper/centos-root: 18.8 GB, 18756927488 bytes, 36634624 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: 2147 MB, 2147483648 bytes, 4194304 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
[root@devbox ~]#