Applicable to:
- SolusVM
Symptoms
During installation of the slave node there are no free PE left on the server and /home partition has all the disk space of the server. As a result, SolusVM cannot create any LVM storage for KVM VPS
# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/centos-root xfs 50G 7.1G 43G 15% /
devtmpfs devtmpfs 7.8G 0 7.8G 0% /dev
/dev/sda1 xfs 494M 185M 310M 38% /boot
/dev/mapper/centos-home xfs 169G 2.7G 166G 2% /home
# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- 222.57g 4.00m
Cause
Partition configured incorrectly for the slave server during its deployment
Resolution
Check our community post with an example of partitioning procedure on SolusVM KVM node.
Otherwise, the following steps can be used as a workaround.
Warning: It is not recommended to perform the steps below if are not familiar with Linux Partitioning. Incorrect settings can make the server completely broken.
- Connect to the slave server via SSH
- Copy required data from /home partition to different location
- Unmount /home file system
# umount /home
- Remove the logical volume of /home directory to make free space on Volume Group
# lvremove /dev/mapper/centos-home
- Remove or comment out
/home
entry in/etc/fstab
file to avoid the auto-mount on next reboot:
Open file with preferable text editor, for example vim
# vim /etc/fstab
Put # sign at the begining of the line for commenting
CONFIG_TEXT: #/dev/mapper/centos-home /home xfs defaulys 0 0
Comments
0 commentsPlease sign in to leave a comment.