FAIL (S0180): https://my.vertica.com/docs/8.0.x/HTML/index.htm#cshid=S0180
Hey guys! I have a problem with vertica installation.
I have an errors after perform the installation script: /opt/vertica/sbin/install_vertica --hosts myhost.
FAIL (S0180): https://my.vertica.com/docs/8.0.x/HTML/index.htm#cshid=S0180 Insufficient swap size. Need 2.00 GB, have 0.96 GB
Please help me to solve this problem.
swapon -s
Filename Type Size Used Priority /dev/dm-1 partition 1011708 0 -1
ls /dev | grep sd
sda sda1 sda2
fdisk -l /dev/sda
Disk /dev/sda: 85.9 GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0001bccb Device Boot Start End Blocks Id System /dev/sda1 * 1 32 256000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 32 10443 83626373+ 83 Linux
/etc/fstab
/dev/mapper/vg01-lv_root / ext4 defaults 1 1 UUID=506ce179-35e0-458d-bf60-1ac36e2fa314 /boot ext2 defaults 1 2 /dev/mapper/vg01-lv_swap swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0
0
Comments
Hi Luzifer,
It looks like your Swap Space is not configured correctly for optimal Vertica performance. We recommend at least 2GB and your system only has 0.96GB. If you increase the size of your Swap Space on your OS to 2GB you should be able to install Vertica successfully.
You could suppress this warning by using the
--failure-threshold
option during installation. Please keep in mind that using that option could result in an unstable instance of Vertica. It also might hinder your database's performance, and most importantly, it is not supported in a production environment.The following links have more details to help you:
Let me know if this answers your question.
-C
On host's where you get the error
you need to add below below lines on the file /etc/rc.local
/sbin/blockdev --setra 2048 /dev/sda1
Note: add for all the volumes