Virtualbox disk in CentOS mount/format issue

by Eric   Last Updated June 28, 2018 08:00 AM

I mounted a second (VDI Virtualbox fixed size) disk to CentOS. Both disks are now ± 100GB.

CentOS is complaining my disk is full, when I had a look it looks like I didn't use the second disk, but just split my primary disk in two.

Disk two was created to put some backups on, so only /backup should be on disk two. The primary disk can be cleared out so my home folder has 50GB more space.

I don't know how to do so without removing my data.


[[email protected] /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 50G 49G 1.5G 98% / devtmpfs 2.9G 0 2.9G 0% /dev tmpfs 2.9G 0 2.9G 0% /dev/shm tmpfs 2.9G 8.5M 2.9G 1% /run tmpfs 2.9G 0 2.9G 0% /sys/fs/cgroup /dev/sda1 497M 226M 271M 46% /boot /dev/mapper/centos-home 42G 22G 21G 51% /home tmpfs 588M 0 588M 0% /run/user/0 [[email protected] /]# fdisk -l

Disk /dev/sdb: 107.4 GB, 107374182400 bytes, 209715200 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: 0xab89cc7a

Device Boot Start End Blocks Id System /dev/sdb1 2048 209715199 104856576 83 Linux

Disk /dev/sda: 104.9 GB, 104857600000 bytes, 204800000 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: 0x000277c0

Device Boot Start End Blocks Id System /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 167772159 83373056 8e Linux LVM /dev/sda3 167772160 204799999 18513920 8e Linux LVM

Disk /dev/mapper/centos-root: 53.1 GB, 53078917120 bytes, 103669760 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



Related Questions


Why can my guest (Win7) not see the full disk size?

Updated January 03, 2016 07:00 AM


Vanishing free disk space

Updated October 23, 2017 09:00 AM