MSDP pool conversion fails with "fail to get ENT_Path from S_StorageDatabase section to construct RefDBManager"
Problem
Converting a Media Server Deduplication Pool storage to the new format either as part of an upgrade or by running /usr/openv/pdde/pdconfigure/scripts/installers/PDDE_convert.sh fails with the following messages:
Checking storage format
==================================================================
Your Media Server Deduplication Pool requires conversion
Converting data to new format
==================================================================
fail to get ENT_Path from S_StorageDatabase section to construct RefDBManager There are errors in the conversion Please check logs in /disk/log/convert to solve the problem and retry
Also running the the stconv '--status' command returns to the prompt without giving any output:
#/usr/openv/pdde/pdcr/bin/stconv --status
#
Error Message
fail to get ENT_Path from S_StorageDatabase section to construct RefDBManager
There are errors in the conversion
Please check logs in /disk/log/convert to solve the problem and retry
Cause
This was caused by <storage_path>/etc/puredisk/contentrouter.cfg being a data file rather than an ASCII text file. This can be shown by using the unix command "file":
# file contentrouter.cfg
contentrouter.cfg: data
Solution
To resolve this issue the contentrouter.cfg file needs to be converted to the correct format. This can be done with the following steps:
1) Rename the contentrouter.cfg file:
# mv contentrouter.cfg contentrouter.cfg_old
2) Use the unix command "cat" to read the old file and output to a new one:
# cat -v contentrouter.cfg_old > contentrouter.cfg
3) Check the new contentrouter.cfg file is now in the correct format:
# file contentrouter.cfgcontentrouter.cfg: ASCII English text