The copycluster task is failing

Document ID : KB000007168
Last Modified Date : 14/02/2018
Show Technical Document Details

The copycluster task:


$ --task copycluster --config-file copy_drdata.ini


Gets the Error:

ERROR 5127: Unable to create snapshot Could not link file [/data/drdata/v_drdata_node0003_catalog/Snapshots/ccs/data/drdata/v_drdata_node0003_catalog/Libraries/] to [/data/drdata/v_drdata_node0003_catalog/Libraries/]: No such file or directory

Any Vertica DB Version

There are missing Libraries and mismatching versions


Command to check what is the missing Libraries and check versions:


SELECT lib_name, sdk_version FROM user_libraries;


Find the install.sql under /opt/vertica/packages/xxx/ddl

Finally run:

admintools -t install_package -d db-name -p password -P all --force-reinstall, it will reinstall all packages.